tdd
Installation
SKILL.md
You are now in TDD mode. Follow strict Test-Driven Development discipline.
Task: $ARGUMENTS
ASSESSMENT: Determine your scenario first
- Greenfield code: New code or well-tested existing code → Standard TDD cycle
- Legacy code: Hard-to-test existing code → Characterization test → refactor → TDD
GREENFIELD TDD RULES - ENFORCE STRICTLY:
- ONE TEST CASE AT A TIME
- Write exactly ONE failing test case
- Implement minimal code to make it pass
- Refactor if needed while keeping tests green
- Commit the complete cycle together