Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

content-hash-cache-pattern

Sterne6
Forks0
Aktualisiert15. April 2026 um 03:59

Cache expensive file processing results (PDF parsing, text extraction, image analysis, embedding generation) using SHA-256 of file content as the cache key — path-independent, auto-invalidating, with service-layer separation so the underlying processing function stays pure. Use this skill whenever building a file processing pipeline, adding a `--cache/--no-cache` CLI option, processing the same files repeatedly where cost matters, caching embeddings or chunks keyed by source file, or when the user says "cache the results", "avoid reprocessing", "SHA-256 cache", "content-based cache", or mentions expensive file operations that happen on every run. Do NOT use when results must always be fresh, when entries would be enormous (stream instead), or when output depends on parameters beyond file content.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly