Content Hash Cache Pattern

SHA-256 content hash caching for file processing to avoid redundant work and reduce LLM costs. Use when processing files (extraction, transformation) to avoid redundant work and reduce costs. Covers content-hash-based cache key design, frozen dataclass entries, file-based cache storage with O(1) lookup, and service layer wrapper pattern.

k1lgor 84cd741 8.6 KB Updated

File contents

k1lgor/mega-mind-skills/tree/main/.agent/skills/content-hash-cache-pattern commit 84cd7412a6

Frequently asked questions

npx skillmds@latest add k1lgor/content-hash-cache-pattern