What problem does it solve? Changing code behavior without a disciplined test loop leads to regressions, untested edge cases, and unverifiable claims of correctness. This Skill enforces a structured red-green-refactor workflow so every behavior change is proven by a failing-then-passing test. ## Core Features & Use Cases - Red-Green-Refactor Workflow: Add one focused failing test, implement the smallest change to pass it, then refactor while keeping tests green. - Applicability Judgment: Identifies when TDD does not apply, such as documentation-only changes, generated files, exploratory spikes, or work without a runnable test seam, and requires an alternative verification plan. - Evidence-Based Completion: Records red, green, and refactor evidence in a structured TDD record and integrates with verification-before-completion checks. - Use Case: When adding a new validation rule to an API handler, write a failing test for the expected rejection behavior, implement the minimal validation logic, then refactor while re-running the targeted test. ## Quick Start Use the test-driven-development skill to add a failing test for the new behavior, then implement the smallest change that makes it pass.