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. |
이 기술은 사용자가 테스트 중심 개발을 사용하여 기능을 구현하거나 버그를 수정하려는 경우에 사용해야 합니다. 수직 슬라이싱, 테스트 작성과 구현 간의 컨텍스트 격리, 휴먼 체크포인트, 자동 테스트 피드백 루프를 통해 RED-GREEN-REFACTOR 주기를 적용합니다. 구조적으로 적용된 컨텍스트 격리를 위해 작업 도구와 함께 다중 에이전트 오케스트레이션을 사용합니다. Jest, Vitest, pytest, Go 테스트, Cargo 테스트, PHPUnit 및 RSpec을 지원합니다. 출처: glebis/claude-skills.