CtrlK
BlogDocsLog inGet started
Tessl Logo

content-hash-cache-pattern

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

64

Quality

76%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Fix and improve this skill with Tessl

tessl review fix ./.kiro/skills/content-hash-cache-pattern/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is lean, actionable, and well-organized with executable code and clear design rationale. Its one gap is the absence of an explicit cache validation/freshness checkpoint in the read workflow.

Suggestions

Add an explicit validation step in read_cache or the service layer, e.g. verify the cached document's source_path still exists or that the stored hash matches before trusting a hit.

Include a brief cache-warm/cold-run verification note (e.g. run twice and confirm the second run logs a cache hit) so Claude can confirm the pipeline works end-to-end.

DimensionReasoningScore

Conciseness

Lean and efficient: it jumps straight into the pattern with executable code and tight rationale tables, assuming Claude's competence without explaining basic caching or hashing concepts.

3 / 3

Actionability

Provides fully executable Python (compute_file_hash, read/write_cache, extract_with_cache) plus concrete design-decision and anti-pattern examples that are copy-paste ready.

3 / 3

Workflow Clarity

The service-layer sequence (hash -> check cache -> miss -> extract -> write) is present, but this batch/caching workflow lacks an explicit validation checkpoint verifying cache integrity or freshness on read, which caps workflow clarity at 2.

2 / 3

Progressive Disclosure

Well-organized into clearly signaled sections (Core Pattern steps, Key Design Decisions, Best Practices, Anti-Patterns, When to/Not to Use) with no bundle files needed; everything is one well-structured level.

3 / 3

Total

11

/

12

Passed

Description

67%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific and distinctive, naming concrete capabilities around SHA-256 content-hash caching. Its main weakness is the missing explicit 'Use when...' trigger clause, leaving the activation context only implied.

Suggestions

Add an explicit 'Use when...' clause, e.g. 'Use when building file processing pipelines (PDF parsing, OCR, image analysis) that reprocess the same files and need a --cache/--no-cache option.'

Include natural trigger terms a user would say, such as 'caching file processing results', 'avoid re-parsing PDFs', or 'cache text extraction'.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — caching results using SHA-256 content hashes, path-independent/auto-invalidating keys, service layer separation — rather than vague language.

3 / 3

Completeness

Clearly states what the skill does, but there is no explicit 'Use when...' trigger clause answering when Claude should activate it, which caps completeness at 2 per the rubric.

2 / 3

Trigger Term Quality

Uses technical terms ('SHA-256 content hashes', 'service layer') that a user might reference, but lacks the common natural variations a user would say ('caching file results', 'PDF parsing cache', 'avoid reprocessing files').

2 / 3

Distinctiveness Conflict Risk

The content-hash caching niche is distinct and unlikely to conflict with other skills, with specific design properties (path-independent, auto-invalidating) narrowing the trigger surface.

3 / 3

Total

10

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.