content-hash-cache-pattern이란?
비용이 많이 드는 파일 처리 결과를 캐시할 때 사용합니다. 고정된 CacheEntry 및 서비스 계층 래퍼를 사용한 SHA-256 콘텐츠 해시 키 지정. 출처: shimo4228/claude-code-learned-skills.
비용이 많이 드는 파일 처리 결과를 캐시할 때 사용합니다. 고정된 CacheEntry 및 서비스 계층 래퍼를 사용한 SHA-256 콘텐츠 해시 키 지정.
명령줄에서 content-hash-cache-pattern AI 스킬을 개발 환경에 빠르게 설치
출처: shimo4228/claude-code-learned-skills.
Extracted / 抽出日: 2026-02-10 Context / コンテキスト: ファイル処理結果をSHA-256ハッシュでキャッシュし、サービス層でラップするパターン
| SHA-256 content hash | Path-independent, auto-invalidates on content change | | {hash}.json file naming | O(1) lookup, no index file needed | | Service layer wrapper | SRP: extraction stays pure, cache is separate concern | | Manual JSON serialization | Full control over frozen dataclass serialization |
| Corruption → None | Graceful degradation, re-extracts on next run | | cachedir.mkdir(parents=True) | Lazy directory creation on first write |
비용이 많이 드는 파일 처리 결과를 캐시할 때 사용합니다. 고정된 CacheEntry 및 서비스 계층 래퍼를 사용한 SHA-256 콘텐츠 해시 키 지정. 출처: shimo4228/claude-code-learned-skills.
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/shimo4228/claude-code-learned-skills --skill content-hash-cache-patternBrowse more skills from shimo4228/claude-code-learned-skills
비용이 많이 드는 파일 처리 결과를 캐시할 때 사용합니다. 고정된 CacheEntry 및 서비스 계층 래퍼를 사용한 SHA-256 콘텐츠 해시 키 지정. 출처: shimo4228/claude-code-learned-skills.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/shimo4228/claude-code-learned-skills --skill content-hash-cache-pattern 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/shimo4228/claude-code-learned-skills