tdd-guide
Installation
SKILL.md
TDD Guide
Enforces the red-green-refactor cycle so that every piece of functionality is driven by a failing test before implementation begins.
Purpose
Enforce the red-green-refactor cycle so that every piece of functionality is driven by a failing test before implementation begins.
Trigger
Apply when the user requests:
- "TDD", "test-driven", "write tests first", "red-green-refactor", "failing test first"
- "test before implementation", "test-driven development"
- "測試驅動開發", "先寫測試", "紅綠重構"
Do NOT trigger for:
- Adding tests to existing untested code — use code-quality instead
- Fixing a runtime bug — use debug instead