review-swarm

Reviews diffs and pull requests with four adversarial subagents, evidence verification, and a referee.

2|Updated May 13, 2026
Ready to run
npx skills add https://github.com/curtisgalloway/public-skills --skill review-swarm-curtisgalloway
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: review-swarm
Source: https://github.com/curtisgalloway/public-skills/tree/main/plugins/dev-tools/skills/review-swarm
Command: npx skills add https://github.com/curtisgalloway/public-skills --skill review-swarm-curtisgalloway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Single-pass code reviews tend to find only what the reviewer went looking for, and AI-generated review comments often cite code that does not exist. This Skill fans a diff or pull request out to four independent reviewer subagents with narrow mandates, then mechanically verifies every quoted finding against the actual checkout before a referee subagent re-reads each citation, so only evidence-backed findings reach you. ## Core Features & Use Cases - Four adversarial arms: Independent subagents cover security and secrets, correctness and concurrency, data loss and backward compatibility, and documentation-vs-code truthfulness, each forbidden from reporting anything it cannot quote verbatim. - Mechanical evidence check: The bundled stdlib-only script verifies every finding's file, line range, and quote against the head checkout, drops unverifiable claims, and merges duplicates. - Referee and liveness guarantees: A fifth subagent re-reads every citation and drops unsupported conclusions, while any arm that fails or times out is reported as ARM FAILED rather than silently omitted. - Use Case: Before merging a pull request that touches credential handling and a database migration, run the swarm to get one ranked table of verified findings, then choose which to fix. ## Quick Start Ask the agent to run an adversarial review swarm on the current branch or a specific pull request before merging.

Frequently Asked Questions about review-swarm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an adversarial code review on a pull request?▼

Name the PR number or URL and the skill resolves the base and head commits, launches four reviewer subagents in parallel, verifies their findings against the checkout, and presents one ranked table. You then pick which findings to fix.

How does the review swarm prevent hallucinated code review findings?▼

Every finding must include a verbatim quote from the head checkout. A stdlib-only Python script checks that each quote exists at the cited lines and drops anything unverifiable, then a referee subagent re-reads each citation and drops claims the code does not support.

What do the four reviewer subagents check for?▼

The security arm covers secrets handling, injection, and trust boundaries; correctness covers logic errors and concurrency; compat covers data loss, migrations, and API breaks; docs covers contradictions between documentation and code. Each arm sees only its own mandate.

What happens if a reviewer subagent times out or fails?▼

The arm is reported as ARM FAILED or ARM PARTIAL in capitals at the top of the results table, never silently omitted. Partial arms keep the findings they wrote, and the review continues with the remaining arms.

Does the review swarm run tests or fix code automatically?▼

No. It never builds, runs, or tests the code, and it fixes nothing until you choose findings by ID, unless the project or you have pre-authorized fixing, in which case it writes a record of what was and was not fixed.

What are the limitations of this adversarial review approach?▼

Diffs over roughly 3000 changed lines must be split by directory or commit first. Findings are static-analysis only, so anything needing runtime confirmation becomes a suggested test rather than a confirmed bug.