content-hash-cache-pattern
Implements a content-hash based file caching pattern in Python to optimize expensive file processing tasks.
Install
npx skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-patternStats
| Total installs | 1,193 |
| Weekly installs | 1.2K |
| GitHub stars | 112.5K |
| First seen | Feb 17, 2026 |
| Source | @affaan-m/everything-claude-code |
Summary
- Content-hash keys survive file moves and auto-invalidate when content changes, eliminating path-based cache brittleness
- Store cache entries as individual {hash}.json files for O(1) lookup without requiring a separate index
- Implement caching as a service layer wrapper around pure processing functions, keeping extraction logic separate from cache concerns
- Handle cache corruption gracefully by treating invalid entries as misses and re-processing on the next run
Tags
Related skills
| Skill | Installs | vs content-hash-cache-pattern |
|---|---|---|
| swift-actor-persistence | 1,137 | -56 |
| monitoring-expert | 1,235 | +42 |
| gsap-performance | 1,347 | +154 |
| regex-vs-llm-structured-text | 1,178 | -15 |
| cpp-pro | 1,261 | +68 |
FAQ
- How many installs does content-hash-cache-pattern have?
- content-hash-cache-pattern has 1,193 total installs and 1.2K installs this week.
- Where is content-hash-cache-pattern hosted?
- content-hash-cache-pattern is published by @affaan-m/everything-claude-code at https://github.com/affaan-m/everything-claude-code.
- How many GitHub stars does content-hash-cache-pattern have?
- content-hash-cache-pattern has 112.5K GitHub stars.
- When was content-hash-cache-pattern first indexed?
- OrangeBot.AI first indexed content-hash-cache-pattern on Feb 17, 2026.
- How do I install content-hash-cache-pattern?
- Run: npx skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-pattern