tdd
Installation
SKILL.md
TDD
Drive strict red-green-refactor. The inner loop for any behavior change.
When to Use
Writing any new behavior, fixing a bug, or refactoring code that needs coverage.
Works on one unit at a time — typically a unit from an approved scope plan.
Steps
- Write the smallest failing test that captures the next behavior.
- Run it; confirm it fails for the expected reason.
- Write the minimum production code to make it pass.
- Run the full suite; confirm green.
- Refactor with the tests green.