What problem does it solve? Bug fixes often ship without proof that the bug is actually resolved, letting the same defect regress later. This Skill enforces a test-driven bug-fixing workflow: reproduce the broken behavior as a failing test first, then make the smallest production change that turns it green. ## Core Features & Use Cases - Failing-Test-First Workflow: Guides a seven-step process from understanding the bug through writing the failing test, fixing the code, and rerunning validation. - Pragmatic Fallbacks: When a failing test is impractical (expensive harness, brittle mocks, production-only state), it directs you to the closest executable regression check instead of forcing a bad test. - Guardrails Against Bad Tests: Prevents weakening assertions, mirroring broken implementations, or adding tests with weak signal. - Use Case: A user reports that date parsing crashes on leap years. The Skill walks you through writing a focused unit test that fails on the leap-year input, fixing the parser, and confirming the test passes along with nearby validation. ## Quick Start Ask the AI to fix this bug using TDD by first writing a failing regression test that reproduces the issue, then making the minimal fix.