Skip to content
Skillpedia
Agents48k · #4021

review-swarm

Helps your agent review code in parallel. It looks for errors that could cause behavioral, security, or performance issues in the program.

What it does

This tool reviews changes in your code to find issues. It uses multiple 'agents' (small AI helpers) that look at the code in parallel, each focusing on a type of problem (like security or performance), to ensure everything works well and is risk-free.

When to use it

  • ✓When you've made code changes and want to ensure nothing broke.
  • ✓Before merging your changes into the main project to prevent issues.
  • ✓If you suspect a new change might have introduced a security or performance risk.

Example of what to ask your AI

“Review the latest changes in my code for security and performance issues.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/review-swarm/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/review-swarm/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool divides the work among four AI helpers. Each checks a specific aspect of the code (like security, performance, etc.). Then, a main agent gathers all findings, filters out less important ones, and presents a summary of the most relevant issues.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill review-swarm

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/review-swarm/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Review Swarm

When to Use

Use this skill when you need parallel read-only multi-agent review of a current git diff or explicit file scope to find behavioral regressions, security or privacy risks, performance or reliability issues, and contract or test coverage gaps. Use when the user asks for a review swarm, parallel review, diff review,...

Review a diff with four read-only sub-agents in parallel, then have the main agent filter, order, and summarize only the issues that matter. This skill is review-only: sub-agents do not edit files, and the main agent does not apply fixes as part of this workflow.

Step 1: Determine Scope and Intent

Prefer this scope order:

  1. Files or paths explicitly named by the user
  2. Current git changes
  3. An explicit branch, commit, or PR diff requested by the user
  4. Most recently modified tracked files, only if the user asked for a review and there is no clearer diff

If there is no clear review scope, stop and say so briefly.

When using git changes, choose the smallest correct diff command:

  • unstaged work: git diff
  • staged work: git diff --cached
  • mixed staged and unstaged work: review both
  • explicit branch or commit comparison: use exactly what the user requested

Before launching reviewers, read the closest local instructions and any relevant project docs for the touched area, such as:

  • AGENTS.md
  • repo workflow docs
  • architecture or contract docs for the touched module

Build a short intent packet for the reviewers:

  1. What behavior is meant to change
  2. What behavior should remain unchanged
  3. Any stated or inferred constraints, such as compatibility, rollout, security, or migration expectations

If the user did not state the intent clearly, infer it from the diff and say that the inference may be incomplete.

Step 2: Launch Four Read-Only Reviewers in Parallel

Launch four sub-agents when the scope is large enough for parallel review to help. For a tiny diff or one very small file, it is acceptable to review locally instead.

For every sub-agent:

  • give the same scope and the same intent packet
  • state that the sub-agent is read-only
  • do not let the sub-agent edit files, run apply_patch, stage changes, commit, or perform any other state-mutating action
  • ask for concise findings only
  • ask for: file and line or symbol, issue, why it matters, recommended follow-up, and confidence
  • tell the sub-agent to avoid nits, style preferences, and speculative concerns without concrete impact
  • tell the sub-agent to send findings back to the main agent only

Use these four review roles.

Sub-Agent 1: Intent and Regression Review

Review whether the diff matches the intended behavior change without introducing extra behavior drift.

Check for:

  1. Unintended behavior changes outside the stated scope
  2. Broken edge cases or fallback paths
  3. Contract drift between callers and callees
  4. Missing updates to adjacent flows that should change together

This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.

Recommended sub-agent role: reviewer

Sub-Agent 2: Security and Privacy Review

Review the diff for security regressions, privacy risks, and trust-boundary mistakes.

Check for:

  1. Missing or weakened authn or authz checks
  2. Unsafe input handling, injection risks, or validation gaps
  3. Secret, token, or sensitive data exposure
  4. Risky defaults, permission expansion, or trust of unverified data

This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.

Recommended sub-agent role: reviewer

Sub-Agent 3: Performance and Reliability Review

Review the diff for new cost, fragility, or operational risk.

Check for:

  1. Duplicate work, redundant I/O, or unnecessary recomputation
  2. Added work on startup, render, request, or other hot paths
  3. Leaks, missing cleanup, retry storms, or subscription drift
  4. Ordering, race, or failure-handling problems that make the change brittle

This sub-agent is read-only. It must not edit files, apply patches, or make any other workspace changes.

Recommended sub-agent role: reviewer

Sub-Agent 4: Contracts and Coverage Review

Review the diff for compatibility gaps and missing safety nets.

Check for:

  1. API, schema, type, config, or feature-flag mismatches
  2. Migration or backward-compatibility fallout
  3. Missing or weak tests for the changed behavior

…

FAQ

What is a 'git diff'?

It's a command that shows the differences between two versions of your code. It's like seeing what you've changed.

Can the AI agents change my code?

No, they only read and analyze. They do not make any changes to your code.

What happens if there are no issues?

If no significant issues are found, the tool will state that there are no material issues to report.

Details

Original description by the author

Parallel read-only multi-agent review of a current git diff or explicit file scope to find behavioral regressions, security or privacy risks, performance or reliability issues, and contract or test coverage gaps.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#4021
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills