rustidi

Content Hash Cache Pattern — Development skill for Claude Code

Development community

Cache expensive file processing results via SHA-256 content hashes — path-independent, auto-invalidating, service layer separation.

How to install Content Hash Cache Pattern

Installs to ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern/SKILL.md

Terminal
mkdir -p ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern && curl -fsSL https://raw.githubusercontent.com/rustidi/ml-portfolio/HEAD/skills/content-hash-cache-pattern.md -o ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Content Hash Cache Pattern does


name: content-hash-cache-pattern description: Cache expensive file processing results via SHA-256 content hashes — path-independent, auto-invalidating, service layer separation. Useful for caching results of costly pipelines (transcription, OCR, text extraction, image analysis) so re-processing the same file is an instant hit. Triggers: "content hash cache", "file dedup", "already processed this file", "SHA-256 cache". triggers:

  • "content hash cache"
  • "SHA-256 cache"
  • "file dedup"

Alternatives in Development

  • Breach Check — HIBP k-anonymity check on a password wordlist 4.5k ★
  • MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
  • Claude Code Hooks — 🪝 A growing collection of useful Claude Code hooks 340 ★

Full documentation available on GitHub

View Source Repository