Enforces strict red/green/refactor TDD discipline when writing code. Guides the agent through one-test-at-a-time cycles, prevents test subversion, and ensures minimal implementation. Use when writing code with TDD, doing test-driven development, implementing features test-first, or when the user mentions red/green TDD, failing tests first, or test-driven workflow.
Run the full test suite before any new work. Report the baseline (total tests, pass/fail counts). If any tests fail, fix those first.
Execute one cycle at a time. Never batch.
should reject emails without @ symbol, not test case 3).Return to RED with the next behavior. Continue until the feature is complete.
For larger features, generate a plan before starting cycles: