What problem does it solve?
This skill eliminates redundant, time-consuming processing of the same files across repeated runs, and fixes cache invalidation issues that break when files are moved, renamed, or have their content updated.
Core Features & Use Cases
- Content-hash cache keys: Uses SHA-256 file content hashes instead of file paths, so cached results work even after files are moved or renamed, and automatically invalidate when file content changes.
- Pure function compatibility: Adds caching as a separate service layer, so existing pure file processing functions (like PDF text extraction or image analysis) don't need to be modified to gain caching capabilities.
- Use Case: For teams running daily batch processing of large file sets (like invoice PDFs or product images), this skill cuts repeated processing time by only re-processing files that have actually changed since the last run.
Quick Start
Use the content-hash-cache-pattern skill to add automatic, path-independent caching to your existing PDF text extraction workflow to skip re-processing unchanged files.