Skip to content
Skill

Code review loop

Runs bounded, evidence-based code reviews of a diff against its stated intent

Code review loop is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
227
Last commit
License
MIT
Listing updated

Similar skills

About Code review loop

This skill guides an agent through reviewing a fixed diff in three passes: correctness first, then blast radius across callers, persisted data and public contracts, and finally code quality, which is only reported when it affects future correctness. The agent is asked to establish the base ref and the intended behavior before reading the changes, and to treat deviations from that intent or from invariants the surrounding code relies on as the findings that matter.

Findings are ranked by severity using a separate severity ladder and checked against a claim-verification step before they are written down. Each recommended change must name the file, line and a concrete failing scenario. The reviewer produces a findings package and a recommendation, while the accept or request-changes decision and any task status change stay with the controlling workflow.

On later iterations the skill limits re-review to the delta and anything it invalidates, and each earlier finding is closed as fixed, disputed or accepted as residual. The loop stops once no finding above an agreed severity floor survives verification. It expects a diff, its base reference and a statement of intent, and it references two companion skills, review-severity-ladder and claim-verification, which are not included in this folder.

When your agent uses it

Use when reviewing a fixed diff against stated intent across correctness, blast radius, and maintainability, then returning severity-ranked, verified findings through bounded re-review iterations. The reviewer reports findings and a recommendation; the controller owns the accept/request-changes decision.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/code-review-loop to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-review-loop &&
cp -R "$tmp/.agents/skills/code-review-loop" ~/.claude/skills/code-review-loop &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/code-review-loop inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/code-review-loop to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-review-loop &&
cp -R "$tmp/.agents/skills/code-review-loop" ~/.agents/skills/code-review-loop &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/code-review-loop inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/code-review-loop to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-review-loop &&
cp -R "$tmp/.agents/skills/code-review-loop" ~/.cursor/skills/code-review-loop &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-review-loop inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/code-review-loop

Or copy the folder to ~/.gemini/skills/code-review-loop yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-review-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-review-loop &&
cp -R "$tmp/.agents/skills/code-review-loop" ~/.copilot/skills/code-review-loop &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/code-review-loop inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git

Then copy claude-vibe-squad/.agents/skills/code-review-loop into your agent's skills folder as code-review-loop. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Three-pass review
Checks correctness, then blast radius, then quality, in that fixed order.
Intent-anchored findings
Measures changes against the stated intent and surrounding invariants rather than personal style.
Severity-ranked output
Orders findings by severity and ties the recommendation to that ranking.
Verified claims
Requires each finding to be validated before it is reported.
Bounded re-review
Re-checks only the delta and affected areas, closing each prior finding explicitly.
Reviewer-controller split
Leaves the accept or request-changes decision and task status to the controlling workflow.

Good for

  • Review this pull request diff against the ticket's stated goal
  • Check whether a change breaks callers or stored data elsewhere in the codebase
  • Re-review only the fixes made after my last round of review comments
  • Produce a severity-ranked list of defects with file and line references

Code review loop FAQ

What does the agent need to start a review?

It needs the exact diff, its base ref and the stated intent of the change. The skill says a review without a fixed base is not reproducible.

Does the skill approve or reject pull requests?

No. The reviewer reports findings and a recommendation, and the controlling workflow owns the accept or request-changes decision and any task status change.

How does the review end?

It stops when no finding above the agreed severity floor survives verification, rather than when the reviewer runs out of things to say.

Does Code review loop include scripts?

No. The folder contains only the SKILL.md file with no scripts, and it depends on two referenced skills that are not part of this folder.

How do I install Code review loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-review-loop to use it in all your projects, or to .claude/skills/code-review-loop in one project.

Does Code review loop run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Code review loop?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Code review loop?

The closest alternatives to Code review loop are Review, Code review expert, Project review, Code review checklist and Code review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mtarcure/claude-vibe-squad

  1. Writes alt text, timed captions and transcripts for images, footage and audio

    • Open source
    • 227 GitHub stars
    • Design and media
  2. Guides building product agent system prompts with eval-backed boundaries and output

    • Open source
    • 227 GitHub stars
    • AI models and LLM tooling
  3. Guides authorized adversarial testing of autonomous LLM agents for injection and approval

    • Open source
    • 227 GitHub stars
    • Security
  4. Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines

    • Open source
    • 227 GitHub stars
    • Developer tools
  5. Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery

    • Open source
    • 227 GitHub stars
    • Developer tools
  6. Builds and proves multi-step exploit chains from weak bug-bounty findings

    • Open source
    • 227 GitHub stars
    • Security