vs-tdd
Installation
SKILL.md
TDD
Red → Green → Refactor. No exceptions.
When to Use
- Bug fixes — prove the bug exists with a failing test before touching production code
- New features — define the behavior in tests before implementing
- Autopilot integration — autopilot can invoke this for each execution step
Phase 1: Understand
Read the code that needs to change. Before writing anything:
- Find existing test files for the module. Match the project's test patterns:
# Find test files near the target find . -path '*/node_modules' -prune -o -name '*.test.*' -print -o -name '*.spec.*' -print | head -20