tdd
TDD with planning via the architect agent + strict RED-GREEN-REFACTOR cycle + 80%+ coverage
TDD Command
Activates the TDD workflow with feature planning, a strict RED-GREEN-REFACTOR cycle, and coverage verification.
When to use
To develop features with upfront planning via the architect agent. For the pure TDD cycle without planning (entering directly into RED), use /dog:test-driven-development.
Arguments
$ARGUMENTS
Delegation
- Dispatch the
architectagent to plan the feature (structure, test targets, acceptance criteria) — BEFORE writing any test. - Dispatch the
tdd-guideagent to enforce the write-tests-first methodology and RED → GREEN → REFACTOR discipline. - Apply the
dog:test-driven-developmentskill for the full TDD workflow. - Enforce the coverage threshold (≥80% lines/functions/statements on changed files).
- Include git checkpoint commits as defined in the TDD skill (test commit for RED, fix commit for GREEN).