test-driven-development
Installation
SKILL.md
Test-Driven Development (TDD)
Overview
write_file the test first. Watch it fail. write_file minimal code to pass.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
Violating the letter of the rules is violating the spirit of the rules.
When to Use
Always:
- New features
- Bug fixes
- Refactoring
- Behavior changes