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. |
Questa competenza dovrebbe essere utilizzata quando l'utente desidera implementare funzionalità o correggere bug utilizzando lo sviluppo basato sui test. Applica il ciclo RED-GREEN-REFACTOR con affettatura verticale, isolamento del contesto tra scrittura e implementazione del test, checkpoint umani e cicli di feedback del test automatico. Utilizza l'orchestrazione multi-agente con lo strumento Attività per l'isolamento del contesto applicato a livello di architettura. Supporta Jest, Vitest, pytest, Go test, cargo test, PHPUnit e RSpec. Fonte: glebis/claude-skills.