Enforce disciplined RED-GREEN-REFACTOR cycles using separate subagents for test writing and implementation. The core innovation: the Test Writer never sees implementation code, and the Implementer never sees the specification. This prevents the LLM from leaking implementation intent into test design.
| /tdd | Interactive mode — pause for approval at slices and each RED checkpoint | | /tdd --auto | Autonomous mode — run all slices without pausing; stop ONLY on unrecoverable errors | | /tdd --resume | Resume from .tdd-state.json in project root |
| /tdd --dry-run | Validation mode — runs Phase 0 + Phase 1 fully, renders all prompts, but skips Task() calls. No code is written. |
Diese Fähigkeit sollte verwendet werden, wenn der Benutzer mithilfe testgetriebener Entwicklung Funktionen implementieren oder Fehler beheben möchte. Erzwingt den RED-GREEN-REFACTOR-Zyklus mit vertikalem Slicing, Kontextisolation zwischen Testschreiben und -implementierung, menschlichen Prüfpunkten und automatischen Test-Feedbackschleifen. Verwendet Multi-Agent-Orchestrierung mit dem Task-Tool für architektonisch erzwungene Kontextisolation. Unterstützt Jest, Vitest, Pytest, Go-Test, Cargo-Test, PHPUnit und RSpec. Quelle: glebis/claude-skills.