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. |
Esta habilidad debe usarse cuando el usuario desea implementar funciones o corregir errores mediante un desarrollo basado en pruebas. Hace cumplir el ciclo ROJO-VERDE-REFACTOR con división vertical, aislamiento de contexto entre la escritura de la prueba y la implementación, puntos de control humanos y bucles de retroalimentación de prueba automática. Utiliza la orquestación de múltiples agentes con la herramienta Tarea para el aislamiento del contexto impuesto arquitectónicamente. Admite Jest, Vitest, pytest, Go test, cargo test, PHPUnit y RSpec. Fuente: glebis/claude-skills.