·content-hash-cache-pattern
</>

content-hash-cache-pattern

affaan-m/everything-claude-code

SHA-256 コンテンツ ハッシュを使用して、高価なファイル処理結果をキャッシュします。パスに依存せず、自動無効化され、サービス層が分離されます。

21インストール·21トレンド·@affaan-m

インストール

$npx skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-pattern

SKILL.md

Cache expensive file processing results (PDF parsing, text extraction, image analysis) using SHA-256 content hashes as cache keys. Unlike path-based caching, this approach survives file moves/renames and auto-invalidates when content changes.

Why content hash? File rename/move = cache hit. Content change = automatic invalidation. No index file needed.

Each cache entry is stored as {hash}.json — O(1) lookup by hash, no index file required.

SHA-256 コンテンツ ハッシュを使用して、高価なファイル処理結果をキャッシュします。パスに依存せず、自動無効化され、サービス層が分離されます。 ソース: affaan-m/everything-claude-code。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-pattern
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-17
更新日
2026-02-18

クイックアンサー

content-hash-cache-pattern とは?

SHA-256 コンテンツ ハッシュを使用して、高価なファイル処理結果をキャッシュします。パスに依存せず、自動無効化され、サービス層が分離されます。 ソース: affaan-m/everything-claude-code。

content-hash-cache-pattern のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-pattern インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/affaan-m/everything-claude-code