test-driven-development
Installation
SKILL.md
Test-Driven Development (TDD)
Implement features using the Test-Driven Development workflow: write tests first, then write code to make them pass. This approach ensures high code quality, comprehensive test coverage, and fewer bugs.
When to Use This Skill
Use this skill for:
- Implementing new features from scratch
- Adding functionality to existing systems
- Bug fixes (write test that reproduces bug, then fix)
- Refactoring (tests ensure behavior preservation)
- API development (test contracts first)
- Critical business logic
- Code that will be maintained long-term
Trigger phrases: "TDD", "test-driven", "write tests first", "red green refactor", "test first development"