test-driven-development - Develop with a failing-test-first workflow
Guides implementation and bug fixes by writing a failing test first, making it pass with minimal code, then refactoring safely.
Tags
Updated: 2026-09-28Typical Inputs
Typical Outputs
What this skill does
- Write failing tests
- Reproduce reported bugs
- Implement minimal fixes
- Refactor passing code
- Classify test scopes
- Verify behavior outcomes
Inputs
- Source code
- Behavior change requirements
- Bug reports
- Test framework
Outputs
- Failing tests
- Passing tests
- Test suite results
- Implementation changes
- Refactored code
