What problem does it solve?
This skill solves the issue of unverified bug fixes and regression risks by enforcing a disciplined, test-driven methodology that ensures every fix is reproduced, pinned, and verified.
Core Features & Use Cases
- Deterministic Reproduction: Guides the user to confirm the bug exists before attempting any code changes.
- Regression Protection: Ensures that a failing test is written to capture the bug, preventing future regressions.
- Minimalist Fixes: Encourages the smallest possible code change to reach a green state, avoiding unnecessary refactoring or scope creep.
- Use Case: When a user reports a production crash, this skill orchestrates the process of writing a failing test case, applying a targeted fix, and verifying the solution against the full test suite.
Quick Start
Invoke the test-driven-bug-fix skill to begin the systematic reproduction and resolution of the reported defect.