Skip to main content

wicked-testing-snapshot-hygiene-auditor

Sterne0
Forks0
Aktualisiert12. Juli 2026 um 22:44

Snapshot-rot detector. Scans `__snapshots__/`, `*.snap`, `*.golden`, `cassettes/`, and `.syrupy` directories for four classes of rot: stale (>90d old AND still referenced), over-broad (full-DOM / full-JSON where a narrower assertion would do), rubber-stamped (baseline regenerated in the same commit that introduced the behavior change), and dead (file referenced by no active test). Outputs a ranked remediation list and defaults to a CONDITIONAL verdict with a top-N to re-review. Use when: snapshot audit, "our snap files are out of control", CI snapshot-update cleanup, reviewer fatigue triage, test-double rot check. <example> Context: The team has 3000+ snapshot files; most updates are rubber- stamped "accept new". user: "Audit our __snapshots__ and *.golden dirs — find dead ones and flag the ones that look rubber-stamped." <commentary>Use snapshot-hygiene-auditor — it walks the snapshot dirs, cross-references test files for referenced snapshots, inspects git log for rubber-stamp patterns, and writes snapshot

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