/dev-team:dev-teamfrom dev-team
Runs a single unit of work through a Dev → QA → Reviewer agent loop, producing a committed, code-reviewed result with bounded retry cycles and escalation.
Ships in dev-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill drives one unit of work — a spec, ticket, finding, or change request — from its written spec to a committed, reviewed result. It does this by standing up a small agent team and running it through a bounded loop: a Dev implements, a QA verifies ("trust nothing"), a Reviewer does the code review and creates the commit. On any failure the loop sends the Dev the specific feedback, up to a cycle cap, then escalates. Fire it off and it builds the team for you.
It is the reusable core of a rigorous implementation flow. You can fire it off on whatever you're working on right now, and implement-full-spec calls it once per subtask before layering on its own stacking, PR, and review-response machinery.
Use it when the operator wants a change implemented with rigor — built, independently verified, and code-reviewed before it lands — rather than a quick inline edit. Common phrasings:
It is the wrong skill when:
implement-full-spec, which calls this loop per subtask.Before dispatching the first agent, pin these. They are the inputs every role agent inherits — the prompt is the contract, so gather them up front:
| Input | What it is |
|---|---|
| Workspace | The absolute path the agents work in (a worktree or a checkout) and the branch. Agents must stay inside it. |
| Verbatim spec | The full spec for this unit of work — severity, file paths, description, impact, and every remediation bullet. Never summarize; the prompt is the contract. |
| IN/OUT-of-scope partition | For every remediation bullet, mark it IN SCOPE or OUT OF SCOPE (with a proposed follow-up name). Bullets needing infrastructure outside the repo are OUT OF SCOPE. |
| Canonical checks | The exact commands the operator expects to be green: typecheck, lint, the specific test suites, integration tests if any. |
| Commit terminus | The loop ends at a commit on the branch. Pushing / opening a PR is the caller's job — the loop does not push. (implement-full-spec pushes and opens the PR after the loop returns.) |
If you don't have the verbatim spec or the canonical checks, get them before starting — a loop run on a vague spec produces a confident wrong commit.
When you fire off this skill, stand up an agent team to run the roles — don't just make isolated one-off calls. The Dev, QA, and Reviewer are teammates working one unit of work together, with you as the team lead sequencing the hand-offs. Running them as a team means each role shares the unit's evolving context — the spec, the diff, prior-cycle feedback — instead of rebuilding it from a cold prompt every time.
Use the richest multi-agent primitive your harness offers, and degrade gracefully. This is what keeps the skill usable across different agents and models:
TeamCreate + SendMessage, or any equivalent multi-agent/team feature): create a team scoped to this one unit of work, add Dev / QA / Reviewer as teammates, and coordinate them over the team's messaging channel. Cycle-2+ feedback flows from QA/Reviewer straight to the Dev teammate without you re-pasting it.Either way the sequence and the contract are identical: Dev → QA → Reviewer → commit, bounded by the cycle cap. Below, "dispatch a role" means assign it to the teammate (team mode) or spawn the subagent (fallback mode). See "Team guardrails" for the sharp edges.
Pin the contract (workspace, verbatim spec, IN/OUT scope, canonical checks)
│
▼
1. Dev role (verbatim spec, leaves changes UNSTAGED)
│
▼
2. QA role ("trust nothing — read code and run tests yourself")
│ └── FAILED → send Dev QA's itemized findings (cycle N+1)
▼
3. Reviewer + commit role (reads the diff, code-reviews, commits)
│ └── REJECTED → back to Dev with the itemized changes (cycle N+1)
▼
APPROVED & COMMITTED → return the SHA to the caller
Each role is a distinct agent — a teammate in team mode, or a one-shot subagent in fallback mode (see the execution model above). The sequence is the same regardless: each role's output feeds the next, and you sequence the hand-offs. The prompt skeletons are in references/prompt-templates.md — copy them, fill the <angle-brackets>, adapt to the spec.
Pass the verbatim spec, workspace, IN/OUT-of-scope partition, and the expected READY report format. Skeleton: prompt-templates.md#dev-agent. Critical content:
cds into the workspace and stays there.After Dev returns READY, dispatch the QA role. Skeleton: prompt-templates.md#qa-agent. Critical content:
file:line — severity — proposed remediation. Nits-only findings → PASSED with nits noted.On FAILED: re-dispatch the Dev with QA's itemized findings as additional context. That is the next cycle.
After QA PASSED, dispatch the Reviewer role that also creates the commit. For trivial units, combine QA and Reviewer into one agent (see role-collapsing below). Skeleton: prompt-templates.md#reviewer--commit-agent. Critical content:
superpowers:requesting-code-review if available.Closes link.The Reviewer commits but does not push. Pushing and opening any PR is the caller's decision.
3 Dev → QA → Reviewer cycles total per unit of work. Most units pass on cycle 1. If you hit cycle 3 without an APPROVED commit, stop and escalate to the operator with: the current diff, the failing test output, the reviewer's last feedback, and what a cycle 4 might try. Do not silently retry past 3 — a unit that won't converge in three cycles usually has a spec problem, not an implementation problem.
You (the lead) own the count. Cycle 1 is the first Dev pass; each time a QA FAIL or Reviewer REJECT sends work back to the Dev, that's the next cycle. The cycle N label in a role agent's return and the (cycle N+1) markers in the loop diagram are advisory — they describe the same counter, but a role agent can't see how many cycles preceded it, so don't rely on its number. Track the count yourself and apply the cap.
When the operator has explicitly said "don't stop until done," you may push past the cap with judgment — but still report every cycle-3 hit, even when continuing.
The full Dev → QA → Reviewer pipeline is full-fat for architectural changes and collapses down for simpler work. Decide per unit based on the spec's complexity, not by habit:
| Signal | Pattern | Agent calls |
|---|---|---|
| Architectural change, multi-package, type changes, new infrastructure | Separate Dev, QA, Reviewer+commit | 3 |
| Single package, 2–5 files, no API change | Dev → combined QA+Reviewer+commit | 2 |
| One file, one comment, trivial fix | Single Dev+verify+commit agent | 1 |
| Cycle 2+ on any unit | Always keep Dev separate so it sees the specific feedback | n |
The combined and single-shot skeletons are in prompt-templates.md. Collapsing trades isolation for speed — a one-comment-in-one-file fix doesn't warrant three round-trips, but anything that changes an API or touches multiple packages wants the independent QA pass.
A team is the right tool here, but it has sharp edges. Each of these is a real failure someone already hit, not a hypothetical:
These are the commit-and-workspace invariants every role agent inherits. They exist because each one is a real failure someone already hit.
--no-verify on commits. Hook failures are signal — fix the code, don't bypass the hook. The only legitimate exception is a genuinely broken hook whose fix is out of scope, and even then prefer fixing the hook.git add -A / git add . — stage files by name. Worktrees carry untracked leftovers (caches, .DS_Store, stray lockfiles) that -A sweeps into the commit.These conditions mean STOP and report to the operator — do not silently retry:
implement-full-spec is the caller, it does this in Phase B. When you run dev-team standalone, you are the caller: end by surfacing the committed-but-unpushed state to the operator — e.g. "Committed <sha> on <branch>; not pushed. Want it pushed / a PR opened?" — so the work doesn't silently sit unpushed.references/prompt-templates.md — copy-paste skeletons for the Dev, QA, Reviewer+commit, and combined single-shot agents.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub donnfelker/loop-skills --plugin dev-teamOther plugins' skills for the same job