test-driven-development
Installation
SKILL.md
Test-Driven Development
Use this skill when implementing any feature, bugfix, or behavior change that requires confidence that the code works as intended. TDD is the practice of writing a failing test first, then writing minimal production code to pass it, then refactoring.
Use this skill when
- Implementing any new feature or functionality.
- Fixing a bug or addressing a regression.
- Refactoring or improving existing code.
- Adding edge-case handling or boundary-condition logic.
- You need to ensure code behavior is correct and documented through executable tests.
Do not use this skill when
- The task is documentation-only or configuration-only with no executable logic.
- The request is exploratory research or one-off investigation without production code output.
- The repository explicitly prohibits or does not support automated testing (rare; ask first).