From agent-team
Guides acceptance-first TDD workflow for solo coding changes: read context, define criteria, write failing tests when feasible, implement, verify, conclude with status.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-team:tddThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill as a single-user workflow. Do not introduce worker, task assignment, or team coordination concepts.
Use this skill as a single-user workflow. Do not introduce worker, task assignment, or team coordination concepts.
qa-expert instead of expanding this skill into a full QA workflow.Follow this sequence:
Do not skip ahead unless the previous step is clearly satisfied.
Inspect the request and the surrounding implementation before changing anything.
Confirm:
If the request is ambiguous, stop and resolve the ambiguity before continuing.
Write acceptance criteria before implementation.
Cover:
If acceptance criteria cannot be written yet, the task is not ready for implementation.
If the task supports automated verification, write or update tests before implementation.
Target a real red phase:
If automated tests are not a good fit, explicitly define the manual verification procedure before moving on.
Implement against the acceptance criteria and verification plan.
Do not expand scope during implementation unless the acceptance criteria are updated first.
Use the strongest available verification path in this order:
skipped only when verification is blocked in the current environmentE2E is not the default verification path. Prefer lower-cost checks first unless E2E is explicitly required or the acceptance risk cannot be covered otherwise.
If the task needs dedicated test-case design, regression execution, or broader QA coverage during verification, invoke qa-expert.
If verification fails, return to implementation and fix the issue before concluding.
End with exactly one of these outcomes:
passedfailedskippedWhen concluding, include:
If the result is skipped, include the reason and the specific risk introduced by not verifying.
Stop and resolve the issue before implementation when:
Loop back and keep working when:
Use lightweight artifacts only when they help:
proposal.mddesign.mdtests.mdDo not require a fixed directory structure unless the surrounding project already has one.
npx claudepluginhub jsonlee12138/agent-team --plugin agent-teamEnforces test-driven development discipline for implementing features, bug fixes, and refactors with observable behavior.
Enforces strict test-driven development: write a failing test first, then minimal code to pass, then refactor. Activates when TDD is explicitly requested or chosen for an atomic task.
Enforces RED-GREEN-REFACTOR TDD cycle: write a failing test first, then minimal code to pass, then refactor. Use when implementing features or fixing bugs during the implement phase.