CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/golden-file-conventions

Reference catalog for snapshot / golden file management - naming conventions, directory layout, when to add / update / remove a baseline, sanitization (timestamps, IDs, PII), per-OS / per-runtime variant strategy, and review workflow for snapshot diffs in PRs. Use when designing a snapshot-testing convention or auditing an existing one for drift.

87

Quality

87%

Does it follow best practices?

Impact

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

75%Weight 40%Scale 1-5

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

A well-structured, actionable reference catalog with real examples, a decision tree, and validation-aware review workflow. Conciseness and progressive-disclosure are good but not maximal due to a few trimmable asides and dense inline tables.

Suggestions

Trim explanatory asides that restate why a rule exists (e.g. 'anti-aliasing and font metrics differ') to lift conciseness toward 5.

Split the large anti-patterns and severity-tiering tables into a referenced file if the skill grows, to improve progressive disclosure.

Add framework-specific update CLI flags (e.g. Vitest `-u`, pytest-snapshot `--update-snapshots`) alongside the Jest example to close the minor actionability gaps.

DimensionReasoningScore

Conciseness

Mostly lean and efficient with no padding about what snapshots are; minor instances that could be trimmed (terminology-note block, a few explanatory asides like 'anti-aliasing and font metrics differ').

4 / 5

Actionability

Concrete, executable guidance throughout — file-layout examples, `.snap` keying, a sanitization table, real Jest matcher code, and a literal decision tree; minor gaps where framework-specific CLIs beyond `--update-snapshots` are not enumerated.

4 / 5

Workflow Clarity

The update-vs-fix decision tree and the 5-step review workflow are clearly sequenced with explicit validation gates ('do not approve', REGRESSION vs UPDATE); not capped at 3 because validation/checkpoints are present, though a couple of edge branches could be sharper.

4 / 5

Progressive Disclosure

Well-organized into clearly headed sections with no nested references; as no bundle files exist the body is appropriately self-contained, though some content (anti-patterns table, severity tiering) is dense inline rather than split out.

4 / 5

Total

16

/

20

Passed

Description

92%Weight 40%Scale 1-5

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

A strong, specific description that names concrete capabilities and an explicit 'Use when' trigger in third-person voice. Minor room to add common synonyms/file extensions for trigger-term comprehensiveness.

DimensionReasoningScore

Specificity

Enumerates multiple concrete capabilities — 'naming conventions, directory layout, when to add / update / remove a baseline, sanitization (timestamps, IDs, PII), per-OS / per-runtime variant strategy, and review workflow' — with comprehensive coverage.

5 / 5

Completeness

Explicitly states what ('Reference catalog for snapshot / golden file management...') and when ('Use when designing a snapshot-testing convention or auditing an existing one for drift') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Strong natural terms ('snapshot', 'golden file', 'snapshot diffs in PRs', 'baseline', 'sanitization') but missing a few synonyms/file extensions; not a comprehensive 5-level list.

4 / 5

Distinctiveness Conflict Risk

Clear niche (snapshot/golden-file management) with distinct triggers; carves out the text/object-snapshot equivalent vs. the sibling visual-baseline skill, minimal conflict risk.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents