CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/golden-file-conventions

Use when snapshot or golden-file tests are noisy or untrusted: snapshots accepted without review, diffs full of timestamps, IDs or PII, baselines that differ per OS or runtime, or no rule for where snapshots live. Sets naming and directory layout, when to add, update or remove a baseline, sanitization, per-OS and per-runtime variants, and the PR review workflow for snapshot diffs.

1.00x
Quality

94%

Does it follow best practices?

Impact

100%

1.00x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

Quality

Content

88%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-crafted conventions catalog: concrete, copy-paste-ready guidance with explicit decision trees and a validated review workflow, organized in clean sections. The two minor weaknesses are a preamble that explains golden-file history Claude already knows, and a monolithic single-file layout where reference files could offload the anti-patterns and sanitization detail.

DimensionReasoningScore

Conciseness

The body is mostly dense, earned tokens (tables, decision tree, concrete rules), but the terminology preamble ("practitioner-emergent terms popularized by the Working Effectively with Legacy Code tradition. ISTQB has no canonical entry...") and a few justification asides ("anti-aliasing and font metrics differ") explain things Claude already knows. This is anchor 4 (minor over-explanation that could be trimmed), not anchor 5 where every token earns its place.

4 / 5

Actionability

Guidance is copy-paste usable across the common cases: "<test-file-name>.snap" naming, an executable Jest `expect.any(Date)` serializer snippet, a sanitization table with specific replacement patterns ("[TIMESTAMP]", "[UUID]", "[PATH]"), "Promote Advisory → Standard after ~2 weeks of stability", and per-anti-pattern fixes. Anchor 5's requirement that specific examples cover the common cases is met; anchor 4 would imply gaps in the concrete guidance.

5 / 5

Workflow Clarity

The 5-step review workflow is an explicit checklist with a checkpoint at each step ("Reviewer checks each diff cell against the decision tree", "do not approve"), and the update-vs-fix decision tree supplies error-recovery branches (REGRESSION → "fix the code, do not update the snapshot"; INVESTIGATE → cascade detection). Although snapshot updates are batch operations, validation is explicitly present, so the workflow-clarity cap does not apply; this matches anchor 5 rather than anchor 4's 'minor validation gaps'.

5 / 5

Progressive Disclosure

The single-file body is well-sectioned and easy to navigate (no nested references, clear headers), but no bundle files exist and all ~205 lines are inline — the 8-row anti-patterns table and sanitization details could live in reference files — and the References section names sibling skills ("playwright-snapshots", "visual-baseline-conventions") rather than signaling file paths. Good structure with minor organization gaps matches anchor 4; it is not anchor 5 (content is not split across one-level-deep files) nor anchor 3 (the structure is genuinely good, not 'could be better organized').

4 / 5

Total

18

/

20

Passed

Description

96%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 description: explicit 'Use when' triggers phrased as natural user complaints, a concrete third-person capability list, and comprehensive synonym coverage. The only weakness is minor overlap with a visual-baseline sibling skill in the per-OS baseline language.

DimensionReasoningScore

Specificity

"Sets naming and directory layout, when to add, update or remove a baseline, sanitization, per-OS and per-runtime variants, and the PR review workflow" lists multiple concrete, third-person actions that comprehensively cover the skill's scope; there is no meaningful coverage gap that would drop it to anchor 4.

5 / 5

Completeness

It explicitly answers both questions: "Use when snapshot or golden-file tests are noisy or untrusted: ..." gives concrete 'when' triggers, and "Sets naming and directory layout, ... sanitization, ... and the PR review workflow" gives a clear 'what'. This matches the anchor-5 example structure; anchor 4 would require the 'when' to be less explicit.

5 / 5

Trigger Term Quality

Phrases like "snapshots accepted without review", "diffs full of timestamps, IDs or PII", and "no rule for where snapshots live" are exactly what a user would naturally say, and the synonyms "snapshot or golden-file tests" are both covered; nothing significant is missing to justify anchor 4.

5 / 5

Distinctiveness Conflict Risk

The niche (snapshot/golden-file test management conventions) is clear with distinct complaint-style triggers, but "baselines that differ per OS or runtime" and "per-OS and per-runtime variants" overlap visual-regression territory — the body itself names a closely related sibling skill (visual-baseline-conventions). Minor overlap risk with a closely related skill matches anchor 4 rather than 5.

4 / 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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page