What problem does it solve?
Traditional development often mixes testing and implementation, leading to late defect discovery and brittle code. This skill provides a structured, repeatable workflow that guides teams to write failing tests first, then implement just enough code to pass, and finally improve structure without changing behavior.
Core Features & Use Cases
- Red-Green-Refactor workflow: a disciplined cycle with explicit RED, GREEN, and REFACTOR phases and commit-at-each-step discipline.
- Structured guidance: clear rules for when to write tests, run them, and perform safe refactors.
- Use Case: apply TDD to a new feature to ensure tests drive design and protect against regressions.
Quick Start
Start by writing a small failing test for a new feature, commit it, then implement the minimal code to pass, and finally refactor while committing each step.