tdd
Installation
SKILL.md
Test-Driven Development
Write the test first. Make it pass. Clean up. Run the tests. Every time.
The Cycle
Every code change follows red-green-refactor:
- Red — Write a test for the next behavior. Run it. Watch it fail.
- Green — Write the minimum code to make the test pass. Nothing more.
- Refactor — Clean up duplication and improve clarity. Tests stay green.
- Repeat — Pick the next behavior. Start another cycle.
Run tests after every step. Not just at the end — after every step.