What problem does it solve?
This Skill prevents fixed bugs from silently returning by generating a regression test that fails on the pre-fix code path and passes on the post-fix behavior.
Core Features & Use Cases
- Two-state verification: Reproduces the failing behavior before the fix, then restores the fix and confirms the test is green.
- Pre-fix failure gate: Forces the agent to prove the test would have failed previously using git stashing, reverts, or temporary worktrees.
- User-relevant test assertions: Ensures the test asserts externally observable outcomes (responses, DB state, emitted events, rendered DOM) rather than internal implementation details.
Use Case
After you merge a bug fix (or you’ve staged it for review), use this Skill to add a regression test that captures the symptom and verifies it against both the pre-fix and post-fix code states.
Quick Start
Ask the agent to add a regression test for your recent bug fix, using the fix’s git state to verify the test fails before the change and passes after it.