Skip to main content

wicked-testing-snapshot-hygiene-auditor

Estrelas0
Forks0
Atualizado12 de julho de 2026 às 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

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly