Multi-Agent Code Review and Fix

VerifiedCaution

Runs five review agents on code changes, synthesizes findings, validates them, triages based on developer priorities, and applies approved fixes.

Sby Skills Guide Bot
DevelopmentIntermediate
8/8/2026
Claude Code
#code-review#multi-agent#git-diff#triage#embedded

Recommended for

Automated summary

Runs five review agents in parallel over a Git diff, validates and consolidates their findings, then fixes the approved items after triage.

Strengths

  • Infers the review scope from a free-form instruction (a file, the last commit, uncommitted work) without requiring an exact syntax
  • Dispatches all five agents in parallel and inserts a manual validation pass to drop false positives before building the findings table
  • Triage follows explicit criteria: real bugs, security, adherence to project standards, and efficiency wins on constrained hardware
  • Lets the user choose between review-only and an auto-fix mode that proceeds straight to edits after triage

Limitations

  • Tightly bound to one project context (embedded C on Jetson, CLAUDE.md, CODING_STYLE_GUIDE.md) and to five named agents that must be redefined elsewhere
  • The provided file is cut off mid-Triage section, leaving the decision criteria incomplete
  • Requires the Agent tool and writable Git access; useless on a repo with no history or no pending changes
When to use it

Reach for it when a batch of changes should be examined by several specialist reviewers and then corrected in the same pass.

When not to use it

Avoid it for a quick look at a single line, or on a project where the coding standards and reviewer agents are not already in place.

Security analysis

Caution
Quality score90/100

The skill orchestrates a code review and fix cycle using git, formatting, and build commands, along with file edits and agent launches. These are powerful tools but are used for a legitimate development workflow with no signs of malicious or unsafe instructions. The risk is moderate due to the ability to modify code and run shell commands, but the actions are scoped and expected.

Findings
  • •Uses Bash to run git diff, format_code.sh, and make, which are powerful but legitimate for the review/fix workflow.
  • •Uses Edit/Write to modify code, and Agent to launch subagents; all within declared allowed-tools and for intended purpose.
  • •No destructive, exfiltrating, or obfuscated commands are present.
How this analysis is made

Examples

Default uncommitted review
review
Scoped to last commit
full review of the last commit
Review and auto-fix
run all five agents on the OAuth changes and fix everything

name: review description: Run all five review agents on changes, synthesize findings, triage based on developer thinking, and fix approved items. Trigger when the user says "review", "run the agents", "run all four", "run all five", "full review", "code review", or similar. disable-model-invocation: false user-invocable: true allowed-tools: Read, Grep, Glob, Bash, Edit, Write, Agent argument-hint: "[scope description]"

Code Review + Fix Skill

You are performing a full review cycle: launch agents, synthesize results, validate, triage, and fix.

Scope

The user may specify scope in any way they like — a file path, "the last commit", "everything uncommitted", "the OAuth changes", "just the C files", or nothing at all. Interpret their intent and gather the right diff.

If no argument is given, default to all uncommitted changes (git diff + git diff --cached + new untracked source files from git status).

The user may also say something like "and fix everything" or "auto-fix" — this means skip the confirmation step and proceed directly to fixes after triage. The default is to wait for confirmation.

Step 1: Gather Changes

  1. Run the appropriate git commands for the scope
  2. Note which file types are involved — this determines which agents are relevant

Step 2: Launch Review Agents

Launch all five agents in parallel (single message, multiple Agent tool calls). Feed each one the actual diff content and the project context (embedded C on Jetson, CLAUDE.md standards).

The agents already know their domains and how to structure their output:

  1. architecture-reviewer
  2. embedded-efficiency-reviewer
  3. security-auditor
  4. ui-design-architect — relevant for ANY UI changes: web (JS/CSS/HTML), SDL, LVGL, or any other display/interaction layer
  5. coding-standards-auditor — audits compliance with CLAUDE.md and CODING_STYLE_GUIDE.md (return codes, naming, Doxygen, formatting, include hygiene)

If the changes clearly don't touch any UI surface at all, you may skip the ui-design-architect and note why.

Step 3: Synthesize and Validate

After all agents complete, review each finding yourself before including it in the table. Read the relevant code and confirm the issue is real — agents sometimes misread context, flag code that's actually correct, or raise concerns already handled elsewhere. Drop false positives and note if a finding is valid but already mitigated.

Create a consolidated findings table of validated issues:

| # | Severity | Agent | File | Finding | Action | |---|----------|-------|------|---------|--------|

Step 4: Triage

The goal is to fix things that genuinely improve the code — real bugs, real security issues, real architectural problems, real efficiency wins on constrained hardware. Not to chase perfection or pad a list.

How the developer thinks about this:

  • If it's broken, unsafe, or violates the project's own standards (CLAUDE.md coding style, error handling patterns, memory management rules) — fix it. That's why we have standards.
  • If it's a real efficiency problem on embedded (unnecessary allocations in hot paths, unbounded buffers, things that'll hurt on a Jetson with limited RAM) — fix it. Abstract "could be more efficient" observations on cold paths aren't worth touching.
  • If it's a genuine code quality improvement that makes the code clearer or more correct, and the fix is localized and low-risk — fix it. Good engineering.
  • If it's a UI consistency issue — mismatched styling between parallel components, accessibility gaps, broken patterns that work in one module but not the mirrored one — fix it. UI quality matters as much as backend quality. Don't dismiss visual or interaction bugs just because they're "only UI."
  • If it's a real bug — even low-severity — and the fix is easy and localized, fix it. Don't skip real issues just because they're low priority. The cost of a one-line fix is near zero; the cost of a known bug sitting around is not.
  • Pre-existing issues: fix them. If an agent surfaces a real issue — bug, missing validation, inaccurate docs, security gap — fix it regardless of whether this diff introduced it. The review found it; that's the opportunity. If we don't fix it now, when will we? The only valid skip reason is if the fix is genuinely invasive (touches many files outside the diff, changes public APIs, high risk of regression). Never use "pre-existing" as an automatic skip. Triage on merit: severity + fix effort, not on when it was introduced.
  • If it's a nitpick, a style opinion beyond what CLAUDE.md specifies, or a "nice to have" future improvement unrelated to the code being changed — skip it. Mention it in the table for awareness, but don't touch working code to satisfy a preference.
  • If fixing something would change a public API, ripple across multiple modules, or feel like scope creep — flag it but don't fix it without asking.

Use your judgment. The developer trusts you to tell the difference between "this matters" and "this is technically correct but not worth the diff noise."

Step 5: Present Triage

Show the developer:

  1. The findings table with your Action column filled in (Fix / Skip / Ask)
  2. A brief summary: "X findings total, fixing Y, skipping Z"
  3. Which items you're about to fix and a short rationale

Default: wait for confirmation before proceeding. The developer may override triage decisions. If the user indicated auto-fix (e.g., "fix everything", "don't ask"), proceed directly to Step 6.

Step 6: Execute Fixes

For each approved fix:

  1. Read the file first (always)
  2. Make the minimal change needed — don't refactor surrounding code
  3. After all fixes, run ./format_code.sh
  4. Run make -C build-debug -j8 to verify the build
  5. If the build fails, fix it before continuing

Step 7: Summary

  1. List what was fixed (file:line + one-line description)
  2. List what was skipped and why
  3. Confirm build + format pass
  4. Do NOT commit — the developer handles git

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/multi-agent-code-review-and-fix-msjwk4mk/download' --output '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md.part' && mv '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md.part' '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Glob, Bash, Edit, Write, Agent

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md' && test -s '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/review' && cp -R '.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk' '.claude/skills/review'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/multi-agent-code-review-and-fix-msjwk4mk'

openskills read 'multi-agent-code-review-and-fix-msjwk4mk'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/multi-agent-code-review-and-fix-msjwk4mk/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills