tdd
Installation
SKILL.md
Test-Driven Development
Enforce strict RED-GREEN-REFACTOR discipline. One test at a time. Tests describe WHAT the system does, never HOW.
Input
Check $ARGUMENTS for the feature or behavior description.
- If
$ARGUMENTScontains a feature description, use it directly. - If
$ARGUMENTScontains "after" (e.g.,/tdd after), run in Test-After Mode — write tests for existing code. Seerules/test-after.md. - If
$ARGUMENTSis empty, ask the user what behavior they want to implement or test.
Step 0: Discover Project Test Setup
Before writing any tests:
Related skills