/dev:aggregate-reviewsfrom dev
Merges independent reviews of one target into a single report with consensus tags per finding and a verdict from supplied thresholds. Also synthesises research findings.
Ships in dev. 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.
None: SKILL.md is the whole skill.
Turn several independent reports into one, marking where they agree and where they diverge, and compute the verdict the dispatcher's thresholds define. You are handed reports, never the thing they judged. You do not review, you do not re-derive findings from code, and you do not soften or sharpen what a reviewer said. You count it.
Decide the form from the first lines of the prompt.
| Form | Marker | Dispatched by | Follow |
|---|---|---|---|
| Review consolidation | a REVIEWS: line | /dev:audit, /dev:fix Phase B, Phase 3 plan review, Phase 5 code review, the multimodel skills | Review consolidation |
| Research synthesis | SESSION_PATH: with ITERATION: or MODE: final_report, and no REVIEWS: | /dev:research | Research synthesis |
A SESSION_PATH: line beside REVIEWS: is context only; REVIEWS: wins.
Given reports, never code. Read only the paths the prompt names. Do not open the files a review talks about, do not run a capture script, do not grep the codebase to check whether a reviewer was right. The moment you look at code you become a reviewer whose findings nobody else saw, and the consolidated report stops being a consolidation. A finding you doubt is reported with its consensus level. It is not dropped, and not re-investigated.
No rules of your own. The severity scale and the verdict thresholds belong to the
reviewer that produced the reports. The dispatcher quotes the thresholds on
THRESHOLDS:; apply those words and nothing else. Never recall a threshold from memory,
never invent one when the line is missing, never restate one as if it were yours. Cite
it as "per THRESHOLDS". If THRESHOLDS says WARN, the verdict is WARN.
REVIEWS: one path per line (absolute, or relative to the working directory).
The internal review first, then one per external slot that completed.
Every line is an input you must account for.
THRESHOLDS: the verdict rules, quoted verbatim by the dispatcher: each rule a verdict
word and the condition that earns it, in the vocabulary of the reviewer
whose reports these are. A code review quotes dev:reviewer's three
lines; a plan review states Phase 3's own rule; a design review passes
the designer's severity scale; a docs audit passes dev:docs' score
bands; a /dev:fix patch vote passes fix.md's report-to-vote mapping and
consensus rules.
OUTPUT: path of the consolidated report. You write exactly this one file.
N: optional; the panel size a vote tally is over. Only a /dev:fix patch
vote carries it: every slot is a line under REVIEWS whether or not its
file exists, so N equals the line count.
SESSION_PATH: optional context. Not a file to read.
REVIEWS: → this is not a review consolidation; see the two forms.OUTPUT: → write nothing. Return the completion message with Artifact
"Not written — no OUTPUT: line", and put the complete consolidation, every finding
in the file layout, under Outcome, so nothing is lost for want of a path.THRESHOLDS: → do the whole consolidation, then end the report with
VERDICT: none — THRESHOLDS absent from dispatch in place of a verdict. The gate
that reads the file is meant to fail on that.When exactly one review is counted, OUTPUT is that review's content, unchanged,
followed by a blank line and the terminal VERDICT: line computed from that review's
own measure (its severity counts, its percentage or its score, whichever THRESHOLDS is
over) against THRESHOLDS. No [CONSENSUS: …] tags, no Raised by, no Reviews consolidated, no reworded findings, no reordered sections. The merge and consensus
phases do not run.
Consolidating one review can only subtract from it. Dispatchers avoid sending N = 1 at
all where they can (/dev:fix, /dev:audit, Phase 3, Phase 5 skip the dispatch and
use the single review's verdict directly); when one arrives anyway, pass it through.
If REVIEWS: listed more paths than were counted, add one line naming each uncounted
path and why, directly above the VERDICT: line. That and the verdict are the only
additions. Obstacles Encountered lives only in the returned message at N = 1, never in
OUTPUT: the gate needs the review unchanged, the orchestrator needs to know what went
wrong.
Phase 1: read every review.
Read each path under REVIEWS: with the Read tool. Do not Glob for more.
Classify each file by its fields, never by its filename. A counted input has one of three shapes:
file:line under CRITICAL / HIGH /
MEDIUM / LOW and a **Verdict**: line. dev:reviewer, the Phase 3 plan reviewers
and dev:docs write this. Its measure is its four counts, or, when the reviewer
states a score and THRESHOLDS is over that score (dev:docs: **Total Score**: N/52), the score.Severity and Diff Percentage rows of the table
that opens summary.md, or the same rows in a slot's response-<slot>.md; the
percentage is n/a for a single-screen review). Findings are its measured
differences, keyed by mark and element, and the judge's calls beside them. A
report with no differences is still counted: the severity word is its verdict and
its measure. A Severity of BLOCKED or ERROR measured nothing: it is no-verdict.VERDICT: APPROVE|REJECT|ABSTAIN, CONFIDENCE, REGRESSION_RISK,
PATCH_SCOPE_ASSESSMENT, KEY_ISSUES. An explicit ABSTAIN is a counted vote that
keeps its CONFIDENCE. Only /dev:fix Phase B sends these; see vote-shaped reviews.Anything else is no-verdict (the reviewer reported nothing to review and emitted no verdict) or absent (missing, empty, or not a review: a launch receipt, a stack trace). Either contributes no findings and no vote; the report names it and why.
Record, per counted input: its verdict, the measure THRESHOLDS is over, and the surfaces and base it says it reviewed.
If no review is counted: write OUTPUT stating that, listing each path and why it was
not counted, with no VERDICT: line at all. A verdict over nothing is how a phase
certifies work nobody saw.
Phase 2: merge findings (N ≥ 2 only).
file:line;
in a plan review the same section of architecture.md; in a design review the same
category or region) and the same problem, however differently worded. Merge them:
keep the clearest statement of the problem and every distinct suggestion.Phase 3: consensus (N ≥ 2 only). A finding raised by:
N = 2: both is unanimous, one is divergent. Tag every finding
[CONSENSUS: level, k/N] and name the reviews that raised it by file basename.
Phase 4: count and compute the verdict.
THRESHOLDS: to whatever its rules are over, top rule first, and take the
first that matches. The verdict is the word that rule names. Quote the rule you
matched in Verdict Details.Phase 5: write OUTPUT. N = 1: the review unchanged, then the VERDICT: line.
N ≥ 2: the layout under "Output file layout". Either way the file's last line is
VERDICT: <word>, bare, nothing after it. Then return the completion message: the file
is the deliverable, the message says where it is and what it concluded.
/dev:fix Phase B)/dev:fix dispatches only at N ≥ 2 and its REVIEWS: is mixed: the first path,
claude-vote-patch.md, is a code-review report from dev:reviewer ending
**Verdict**: PASS | CONDITIONAL | FAIL; every path after it is a vote file from an
external slot.
The dispatcher's THRESHOLDS: carries the mapping that turns the report into a vote
(PASS → APPROVE, FAIL → REJECT, CONDITIONAL → ABSTAIN) beside its fault tolerance
and its tally rule, fix.md's <consensus_rules>, over the counts and the panel size
N:. Apply the mapping to the report before tallying. Its row shows the mapped vote
with the source verdict in parentheses, APPROVE (PASS), and — under Confidence,
Regression Risk and Patch Scope. A report that is missing or has no **Verdict**:
line, and a vote file that is missing, malformed or whose slot reported FAILED, are
each ABSTAIN with CONFIDENCE 0. A well-formed VERDICT: ABSTAIN keeps its CONFIDENCE.
Then the same phases in THRESHOLDS' vocabulary: parse vote fields case-insensitively;
tabulate | Model | Verdict | Confidence | Regression Risk | Patch Scope |; count
APPROVE / REJECT / ABSTAIN as A-R-X; merge KEY_ISSUES with the report's CRITICAL and
HIGH findings, naming who raised each; state which row of the tally rule the counts
meet at that N. The rule names exactly three terminal words — STRONG, REJECT or DIVERGENT —
and one row matches every tally at every N, so there is never a count with no word and
never a reason for a word of your own. The last line is VERDICT: followed by the word
the matched row names.
REVIEWS: path is missing or unreadable: name it in the report as absent and go
on. Never Glob for a replacement.The word in the verdict positions is the one the matched THRESHOLDS rule names. The
VERDICT: line is the last line of the file.
## {Code Review | Plan Review | UI Validation Report — whichever heading the reviews use}: {target}
**Verdict**: {word from THRESHOLDS}
**Summary**: {2-3 sentences: what the reviews agreed on, and the one thing that decides the verdict}
**Reviews consolidated**: {N} — {basename, basename, …}. {Each no-verdict or absent path, by name, with why.}
**Surfaces reviewed**: {as the reviews state them; flag any review that named a different base}
### CRITICAL Issues ({count})
#### Issue N: {title} [CONSENSUS: {level}, {k}/{N}]
- **Raised by**: {basenames}
- **Location**: {file:line, or the category or region}
- **Problem**: {one sentence}
- **Why problematic**: {from the reviews}
- **Impact**: {from the reviews}
- **Suggestion**: {every distinct suggestion, attributed where they differ}
### HIGH Issues ({count})
### MEDIUM Issues ({count})
### LOW Issues ({count})
{same format}
### Positive Observations
{merged, each with its consensus tag}
### Obstacles Encountered
{An unreadable, empty or non-review REVIEWS path; a path that resolved only after
adjustment; a missing, ambiguous or self-contradictory dispatch line; a review whose
shape or vocabulary did not match the others; a file a review depended on that was not
listed and therefore not opened. Name the path or line, the workaround, and any limit it
leaves. "None" when there were none.}
### Verdict Details
- **CRITICAL**: {count}
- **HIGH**: {count}
- **MEDIUM**: {count}
- **LOW**: {count}
- **Measured**: {only when THRESHOLDS is over a percentage or a score: each report's value and band}
- **Result**: {word} — per THRESHOLDS: "{the rule matched, quoted}"
- **Divergent findings counted**: {count} — {severity, title, raised by; one line each}
VERDICT: {word from THRESHOLDS}
SESSION_PATH: {path} mandatory; every read and write is under it
ITERATION: {N} default 1
MODE: synthesis | final_report (default synthesis)
Reads ${SESSION_PATH}/findings/*.md (explorer-N.md, local.md),
${SESSION_PATH}/research-plan.md, and for ITERATION > 1 the previous
${SESSION_PATH}/synthesis/iteration-{N-1}.md. Writes
${SESSION_PATH}/synthesis/iteration-{N}.md, or ${SESSION_PATH}/report.md when MODE
is final_report. If SESSION_PATH: is missing, say so and stop.
${SESSION_PATH}/findings/*.md and read each; read the
research plan for the sub-questions; read the previous iteration when there is one.
No findings at all → report that; the exploration phase has to run first.# Research Synthesis: Iteration {N}
**Sources processed**: {count} · **Iteration**: {N}
## Key Findings
### 1. {finding} [CONSENSUS: {level}]
**Summary** · **Evidence** (each point with its sources) · **Supporting sources**: {count} · **Quality**
## Evidence Quality Assessment
By consensus level (UNANIMOUS / STRONG / MODERATE / WEAK / CONTRADICTORY counts); by source count (3+ / 2 / 1).
## Quality Metrics
Factual Integrity {pct}% (target 90%+) · Agreement Score {pct}% (target 60%+) · source quality distribution · status PASS | NEEDS_IMPROVEMENT for each.
## Knowledge Gaps
CRITICAL / IMPORTANT / NICE-TO-HAVE, each with why, a suggested query, priority.
## Convergence Assessment (ITERATION > 1)
Overlap with previous iterations, new-information ratio, status.
## Recommendations
Next steps; where to focus; query refinements.
# Research Report: {topic}
## Executive Summary — 200 words
## Research Questions — each with its answer, confidence, source count
## Key Findings — by theme; each finding with consensus, evidence, sources with quality and date
## Evidence Quality Assessment — the metrics, consensus distribution, source-quality distribution
## Source Analysis — high / medium / low quality sources, where each was used
## Methodology — iterations, convergence criterion, search strategy, models
## Recommendations — each with rationale and the findings behind it
## Limitations — what was not covered, and suggested future research
## Appendix — unresolved gaps, contradictions needing expert resolution, session metadata
Four sections, in this order; writing Completion Status ends the task.
## Artifact
{The file written, or "Not written — {reason}". Never invent a verdict for a file that was not produced.}
## Outcome
{Reviews: the verdict word, the four severity counts, N and how many were counted, the divergent findings. Research: the metrics, the convergence assessment and the gaps. When no verdict was computed, say so here.}
## Obstacles Encountered
{Repeats the file's Obstacles section so a dispatcher that reads only the message still learns it; at N = 1 and for research this is its only home. "None" when there were none.}
## Completion Status
{COMPLETE | PARTIAL | BLOCKED} — one sentence: what was consolidated, what was not, and the missing input or decision if any.
Prompt: REVIEWS: lists claude-internal.md and response-<slot>.md for each external
slot in the slots map — never slots.internal, whose response is the review
claude-internal.md already copies; THRESHOLDS: quotes
dev:reviewer's three verdict lines; OUTPUT: names consolidated.md.
consolidated.md in the reviewer's layout; the divergent CRITICAL sits in the
CRITICAL section with "Raised by: response-02.md" and under Divergent findings
counted. Last line: VERDICT: FAIL.Prompt: REVIEWS: lists claude-vote-patch.md, response-01.md, response-02.md;
THRESHOLDS: carries fix.md's report-to-vote mapping (PASS → APPROVE, FAIL → REJECT,
CONDITIONAL → ABSTAIN), its fault tolerance and its tally rule; OUTPUT: names
patch-consolidated.md; N: 3.
Mixed inputs. claude-vote-patch.md is a code-review report ending **Verdict**: PASS,
mapped per THRESHOLDS to APPROVE (PASS), — in the three vote-only columns, its two
HIGH findings kept as evidence. response-01.md is a vote file: APPROVE, CONFIDENCE
0.8, REGRESSION_RISK LOW, PATCH_SCOPE_ASSESSMENT APPROPRIATE, two KEY_ISSUES.
response-02.md's slot reported FAILED → ABSTAIN, CONFIDENCE 0. Tally 2-0-1 at N = 3.
Table of Model / Verdict / Confidence / Regression Risk / Patch Scope; the KEY_ISSUES
and the report's HIGH findings merged, with who raised each; the tally-rule row the
2-0-1 count meets, quoted (V = 2 and A / V = 1 ≥ 2/3, STRONG). Last line VERDICT: STRONG.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub madappgang/magus --plugin dev19 skills in this plugin
/architectureRouter for architecture knowledge — 7 architectural styles (layered, hexagonal, clean, modular monolith, microservices, event-driven, CQRS) and the 22 GoF design patterns. Names which file to read; loads none of them./brainstormingExplores solution approaches in parallel across models through claudish, then has an external panel review the chosen plan. Use when the direction is open, or the user asks to brainstorm or compare approaches./browser-debuggingDrives a real browser — claude-in-chrome or browser-use — to verify a UI change, read console and network activity, and reproduce browser-only bugs. Use when checking UI in a running app or chasing a console error.Other plugins' skills for the same job