test-driven-development
Installation
SKILL.md
Test-Driven Development
Iron Law
No production code without a failing test first.
If you have written production code before a failing test:
- Delete the production code
- Write the failing test
- Make it pass with minimal code
- Then refactor
There are no exceptions. "This is too simple to need a test first" is rationalisation.