/collaboration-skills:subagent-review-cyclesfrom collaboration-skills
Structures multi-round Leader/Developer/Code-Reviewer review cycles for documents or code changes. Handles round planning, subagent dispatch, and adjudication of BLOCKER/MAJOR/MINOR findings.
Ships in collaboration-skills. 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.
| Role | Job |
|---|---|
| Leader (main agent) | Dispatch, integrate review results, accept / reject, communicate with the user |
| Developer (subagent) | Draft / revise document sections; works after Leader replies with rejection. (May be dispatched as any implementer-type subagent when the task is architectural in nature; the role name in this skill remains "Developer".) |
| Code Reviewer (subagent) | Audits Developer output for technical / API correctness and logic gaps; CLI is forbidden for probing API/runtime behavior (build, run, simctl, trial-and-error); read-only search (grep, rg, git log, git show) is allowed |
The Leader never writes the implementation / drafts a section directly — that's the Developer's job. The Leader never does the review either — that's the Code Reviewer's job.
round N:
Leader → Developer: dispatch (scope + skills + inputs + return format + criteria)
Developer → Leader: draft
Leader → Code Reviewer: dispatch (review criteria + must use WebSearch, no CLI)
Code Reviewer → Leader: BLOCKER / MAJOR / MINOR list
Leader: ACCEPT / REJECT each item with explicit reason
if accepted_count == total: done
if N == limit: pause, report to user
else: round N+1 with feedback
limit(N) is typically 3–5. If the limit is reached without convergence: pause, report to the user, wait for direction.
| Signal | Leader inline-edits | Dispatch round N+1 to Developer |
|---|---|---|
| Fix scope | Spelling / formatting / paragraph order / string typo only | Any semantic or content change |
| Time to fix | ≤ 5 minutes | > 5 minutes |
| New decisions required | None | Any |
Still record inline fixes in the meeting log. Reasoning: "limit is an upper bound, not a requirement"; burning a whole round just for typos is uneconomical.
Every Code Reviewer dispatch prompt must include:
A finding, report, or verdict that asserts a fact carries the reading that produced it. A claim that could not be measured is labelled inferred. "Looks fine" is not evidence.
| Claim | Evidence it needs |
|---|---|
| Absence ("no callers", "nothing references X", "the spec doesn't define this") | The search command and its zero-hit output, plus a positive control: the same command and pattern form, over the same scope, first hits something known to exist. Without the control the zero is not a reading, because a wrong path, flag, or pattern also returns zero. |
| History ("X used to be here", "I removed X") | git log -S'<text>', or git grep -F '<text>' <rev> per relevant revision. The current tree gives the same answer for "deleted" and "never existed", so it cannot settle a history claim. |
| Attribution ("the other agent also verified this") | A pointer to the message or log where it did. With no pointer, write "only me". |
| Reachability ("users can't reach this path") | A search reading at the construction and call sites, not the fact that the path was out of scope. |
A mechanical search defaults to the whole repository, not the lines you changed. Only when no tool applies does a claim fall back to the label "read by hand, n files, m lines, no mechanical search". The label is a fallback, not an option: stating it does not make the evidence stronger.
Before the Leader accepts a change an agent reports as done, a fresh subagent that did not produce it verifies each claim. This is a separate role from the Code Reviewer. It runs the project's tests and gates, because confirming that claimed checks pass is its job; the ban on probing API behaviour by trial and error still applies. It runs after the review rounds converge and is not itself a round; a REJECT goes back to the Developer as round N+1 under the same limit(N).
For the dispatch, the rules for writing acceptance conditions, and the report format, read references/fresh-context-acceptance.md.
For each review finding the Leader gives:
REJECT must cite specific evidence (API doc, prior decision, design constraint); pure preference is not acceptable.
leader-developer-handoff-contract).A separate close-the-loop activity that fires once per phase (not once per review round), so it's not part of the round structure above. Before the Leader signs off on a phase-completion PR, run a sweep against the phase's diff scope to catch deferred-and-forgotten debt.
For the full sweep procedure, command, disposition rule, and anti-pattern, read references/phase-todo-sweep.md.
leader-developer-handoff-contract: details the 6 required elements of every dispatch prompt.spec-phase-orchestration: review cycles are usually embedded in the spec phase.methodology-pattern-extractor: "round-1 cosmetic inline edit" is a codifiable pattern.references/official-docs.md.What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/agent-impl-notes-logKeep a running impl-notes file next to the phase meeting log while a subagent executes a task, recording design decisions, intentional deviations from spec, tradeoffs, and open questions as they happen rather than after the fact. Use at the start of any non-trivial subagent dispatch (multi-file change, ambiguous spec, new dependency or module, refactor), when ambiguity is hit mid-task, or before deviating from spec. Not the post-hoc meeting log (session-to-meeting-log); the two coexist./backlog-routing-by-topicRoute a stray idea that surfaces mid-task to the §Backlog of the right living doc in a spec-phase-orchestration repo (design.md, foundations.md, plan.md, methodology.md, or today's meeting log) as a single line, without derailing the current work. Use when a not-now-but-don't-forget idea comes up, when tidying a meeting log's parking-lot items, or when asked where an idea should go. Not for decisions that must be acted on now (those belong in the body of plan.md)./claude-skill-plugin-packagingPackage Claude Code skills as a plugin plus marketplace and install them into other repos — globally, pinned per project via committed settings, or as a skills-dir plugin. Use when sharing skills across repos, wiring an existing skill plugin into a project, choosing flat project skills versus a plugin, aggregating other people's skill repos by reference, or when a submodule or nested folder of skills is not being discovered. Does not cover PR/issue mechanics (github-contribution-workflow) or how to write the skill itself (skill-authoring-patterns)./github-contribution-workflowDrive GitHub contributions through the gh CLI — pull requests, issues, GitHub-side file edits, repo secrets, contribution-flow repo settings, submodule pin bumps. Use when about to run `gh pr create` / `gh pr merge` / `gh pr checks` / `gh issue create` / `gh secret set` / `gh api`, or asked "open a PR", "merge this", "bump the submodule". Does NOT cover pure local git, diff-vs-commit sanity (pr-diff-verification), security repo settings (apple-dev-skills:apple-public-repo-security), worktree conflicts (subagent-conflict-detection), plugin distribution (claude-skill-plugin-packaging)./leader-developer-handoff-contractShape the prompt a Leader sends when dispatching a sub-agent (Developer, Designer, Code Reviewer, drafting agent) so the result comes back verifiable and integrable. Use when about to call the Agent tool, writing or reviewing a dispatch prompt, deciding what a sub-agent must read or which skills it must invoke, or when asked "what should the sub-agent prompt include" / "which element am I missing". Does NOT own how many review rounds to run or how findings are adjudicated (subagent-review-cycles), nor the impl-notes file format (agent-impl-notes-log)./methodology-pattern-extractorExtract recurring collaboration patterns from accumulated meeting logs (optionally session JSONL) and record them in docs/methodology.md with evidence of where each was sighted. Use when the user asks to update methodology, extract recurring patterns across the meeting logs, or consolidate recurring collaboration flows; or when five or more meeting logs have accumulated while §Patterns is still empty. Not for writing the meeting logs themselves (session-to-meeting-log) or for parking one-off ideas (backlog-routing-by-topic). Takes no arguments — the fork scans all of `meetings/*.md`.npx claudepluginhub wei18/apple-dev-skills --plugin collaboration-skillsOther plugins' skills for the same job