tdd
Installation
SKILL.md
Test-Driven Development (TDD) Skill
Guide users through disciplined test-first development using the red-green-refactor cycle.
Core TDD Workflow
RED → GREEN → REFACTOR → REPEAT
RED: Write a Failing Test
- Identify next small behavior to implement
- Write test that specifies that behavior
- Run test to verify it fails for the right reason
- If test passes unexpectedly, test is wrong
GREEN: Make It Pass
- Write minimal code to make test pass
- Don't worry about perfection yet
- Simplest solution that works
- Run test to verify it passes