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.

59

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

70%

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

A well-organized, executable pattern with a clear cache flow and graceful error handling, held back by duplicated when-to-use sections and an undefined serialization helper that undercuts full copy-paste actionability.

Suggestions

Define serialize_entry/deserialize_entry (or show the manual frozen-dataclass serialization), since 'manual JSON serialization' is called out as a key design decision.

Merge 'When to Activate' and 'When to Use' into a single section to remove the near-duplicate bullet lists.

Trim the 'Key Design Decisions' rows that only restate prose rationale already present in the Core Pattern steps.

DimensionReasoningScore

Conciseness

Mostly efficient with no basic-concept padding, but 'When to Activate' and 'When to Use' are near-duplicate bullets and the 'Key Design Decisions' table restates rationale already given inline (e.g. 'Path-independent, auto-invalidates'), so it could be tightened.

2 / 3

Actionability

Provides concrete, mostly-executable Python (compute_file_hash, write_cache, read_cache, extract_with_cache), but write_cache/read_cache call undefined serialize_entry/deserialize_entry — a missing key detail for the explicitly-highlighted 'manual JSON serialization' decision, short of copy-paste ready.

2 / 3

Workflow Clarity

The service-layer flow is clearly sequenced (cache check → extraction → cache write) with an explicit error-recovery loop (corrupt entries return None and re-process on the next run), and the operation is non-destructive so no hard validation checkpoint is required.

3 / 3

Progressive Disclosure

Self-contained SKILL.md with well-organized sections (Core Pattern, Key Design Decisions, Best Practices, Anti-Patterns, When (not) to Use) and no nested or external references — appropriately structured with no bundle files needed.

3 / 3

Total

10

/

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 concrete and distinctive about what the skill does, but lacks an explicit 'Use when...' trigger clause and has only partial coverage of natural user keywords, which cap completeness and trigger-term quality.

Suggestions

Add an explicit trigger clause, e.g. 'Use when building file processing pipelines (PDF, OCR, text extraction) that reprocess the same files, or when adding a --cache/--no-cache option.'

Broaden trigger terms with natural user phrasing such as 'PDF parsing', 'text extraction', 'OCR', and 'cache file results'.

Lead with the user-facing benefit before the implementation mechanism so the trigger reads more naturally.

DimensionReasoningScore

Specificity

Quotes a concrete action ('Cache expensive file processing results') with a specific mechanism ('using SHA-256 content hashes') and concrete properties ('path-independent, auto-invalidating, with service layer separation') — specific rather than vague, above the anchor-2 example in precision.

3 / 3

Completeness

Clearly answers 'what' (cache file processing results via content hashes) but has no 'Use when...' clause or explicit trigger guidance; per the rubric a missing explicit-when caps completeness at 2.

2 / 3

Trigger Term Quality

Has some relevant natural keywords ('cache', 'file processing', 'content hashes') but misses common variations a user would actually say ('PDF parsing', 'text extraction', 'OCR', '--cache'), so coverage is partial.

2 / 3

Distinctiveness Conflict Risk

Targets a clear niche (content-hash caching with service-layer separation) that is unlikely to trigger for unrelated skills, matching the distinct-niche anchor.

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

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
affaan-m/everything-claude-code
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.