From atdd
Orchestrates three-agent ATDD team (spec-writer, implementer, reviewer) through five phases: spec writing/review, pipeline generation, implementation, post-review. Extends existing teams.
npx claudepluginhub swingerman/atdd --plugin atddThis skill uses the workspace's default tool permissions.
Orchestrate an agent team that follows the Acceptance Test Driven Development
Enforces strict TDD pipeline via coordinated AI agent teams for feature development: spec review, failing tests, implementation, verifications, code review, security scans, and PR creation.
Orchestrates red-green-refactor TDD cycles, coordinates multi-agent testing workflows, and enforces best practices for team-wide TDD governance.
Share bugs, ideas, or general feedback.
Orchestrate an agent team that follows the Acceptance Test Driven Development workflow. The team lead coordinates specialist agents through five phases: spec writing, spec review, pipeline generation, implementation, and post-implementation review.
Before creating a team, check for existing teams:
~/.claude/teams/ to list active teamsIf no team exists, proceed directly to team creation.
Create three teammates with these roles:
| Name | Agent Type | Purpose |
|---|---|---|
spec-writer | general-purpose | Writes Given/When/Then acceptance specs in domain language. Follows the atdd skill strictly. |
implementer | general-purpose | Implements features using TDD. Unit tests first, then code, until both test streams pass. |
reviewer | general-purpose | Reviews specs for implementation leakage. Reviews code for quality. Has the atdd plugin installed. Runs /atdd:spec-check. |
The team lead (the orchestrating agent or user) owns the workflow, reviews specs, approves all work, and enforces discipline. The team lead never delegates approval — specs are the team lead's contract.
Execute phases strictly in order. Each phase has a gate that must pass before proceeding to the next phase.
Assign to: spec-writer
Send the feature description and instruct the spec-writer to:
specs/[feature-name].txtGate: Team lead reviews and approves specs. Do not proceed until approved.
For the detailed prompt template, see references/prompts.md — Phase 1.
Assign to: reviewer
Instruct the reviewer to audit specs for implementation leakage:
Also verify: one behavior per spec, clarity for non-developers, language portability.
Gate: Reviewer sends findings. Team lead decides whether specs need revision. If revisions needed, return to Phase 1.
For the detailed prompt template, see references/prompts.md — Phase 2.
Assign to: Team lead (self) or implementer
Generate or update the 3-stage test pipeline:
specs/*.txt, outputs IRrun-acceptance-tests.shRun acceptance tests after generation. They must fail (red). If they pass, either the behavior exists or the generator is wrong.
Gate: Acceptance tests fail as expected. Pipeline is functional.
For the detailed prompt template, see references/prompts.md — Phase 3.
Assign to: implementer
Instruct the implementer to:
Rules for the implementer:
Gate: Both test streams green. Implementer reports results.
For the detailed prompt template, see references/prompts.md — Phase 4.
Assign to: reviewer
Two reviews:
Gate: Reviews clean or issues addressed. Team lead approves.
For the detailed prompt template, see references/prompts.md — Phase 5.
Assign to: reviewer or implementer
After both test streams are green and reviews pass, run mutation testing to verify test quality:
/atdd:mutate to generate mutants and measure mutation score/atdd:kill-mutants to write targeted tests for survivorsGate: Mutation score meets target (90%+ recommended). Remaining survivors documented as equivalent mutants.
For the detailed prompt template, see references/prompts.md — Phase 6.
When all phases pass:
For detailed prompt templates for each phase:
references/prompts.md — Copy-paste prompt templates for every phase,
including the team creation prompt and all agent instructions