Enforces test-driven development through multi-agent orchestration where separate subagents handle test writing and implementation with strict context isolation. The Test Writer never sees implementation code, the Implementer never sees the original spec. Supports interactive mode with human checkpoints at each RED-GREEN-REFACTOR cycle, or autonomous mode that runs all slices without pausing. Works with Jest, Vitest, pytest, Go test, cargo test, PHPUnit, and RSpec. Includes a dry-run mode that validates the entire pipeline without writing code, useful for checking that scripts work in your environment before committing to a full run. The layer-aware slicing respects domain-driven design boundaries if your project has them.
$ npx -y skills add glebis/claude-skills --skill tdd --agent claude-codeInstalls into .claude/skills of the current project.
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 with a feature description or bug report| Invocation | Behavior |
|---|---|
/tdd <feature> | Interactive mode — pause for approval at slices and each RED checkpoint |
/tdd --auto <feature> | 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 <feature> | Validation mode — runs Phase 0 + Phase 1 fully, renders all prompts, but skips Task() calls. No code is written. |
Sponsors