snapshot-test-cleanup

Installation
SKILL.md

snapshot-test-cleanup

A structured refactoring skill for replacing snapshot tests with targeted, meaningful assertions — so tests catch real regressions instead of rubber-stamping every render.


Why Snapshots Become Brittle

Snapshot tests fail for two reasons: real bugs and irrelevant changes. The problem is they can't tell which is which. A snapshot fails when:

  • A classname was renamed
  • A dependency bumped its version and changed whitespace
  • A dev ran --updateSnapshot to silence CI without reading the diff
  • An actual regression occurred

When a test suite cries wolf on every PR, reviewers stop reading failures.

Related skills

More from blunotech-dev/agents

Installs
1
GitHub Stars
2
First Seen
Apr 22, 2026