Skip to content
Skill

Code review agent

Reviews a diff or PR read-only, checking standards and spec separately

Code review agent 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
12
Last commit
License
MIT
Listing updated

Similar skills

About Code review agent

This skill performs a read-only code review of a diff, pull request, or set of files. It runs two independent checks: a Standards pass against the repository's documented conventions and a built-in code-smell baseline, and a Spec pass that checks whether the change implements the originating issue or contract completely and without extras. The two verdicts are reported side by side rather than merged into one score.

When no files are pasted, the skill locates the change itself from the working tree, the staged diff, or the pull request. It stops early if the scope is empty or if no spec can be found, and it marks the Spec check as not run rather than guessing. Every finding must cite a file and line that the reviewer actually read. The review report lists issues with severity, the responsible agent, and a commendations section for good patterns.

The skill is designed for a contract-first multi-agent build. It reads a contracts folder when one is present and can consult a project wiki for intended architecture, but it also works as a standalone review of any files. It relies on read and search tools plus shell access for git history, and it is explicitly invoked rather than triggered automatically.

When your agent uses it

Review a diff, PR or files on two separate axes: Standards (repo conventions and a code-smell baseline) and Spec (does it implement the issue or contract). Finds the change itself (working tree, staged diff or PR) when none is pasted. Read-only. Use for any code-review request. Trigger on "review this diff", "review this PR", "code review", "does this follow our conventions".

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 3 files (15 KB) on GitHub on 4 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

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/code-review-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-review-agent &&
cp -R "$tmp/skills/roles/code-review-agent" ~/.claude/skills/code-review-agent &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-review-agent &&
cp -R "$tmp/skills/roles/code-review-agent" ~/.agents/skills/code-review-agent &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-review-agent &&
cp -R "$tmp/skills/roles/code-review-agent" ~/.cursor/skills/code-review-agent &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-review-agent 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/ivy00johns/Skill-Madness.git --path skills/roles/code-review-agent

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-review-agent &&
cp -R "$tmp/skills/roles/code-review-agent" ~/.copilot/skills/code-review-agent &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/roles/code-review-agent into your agent's skills folder as code-review-agent. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Two-axis review
Checks standards and spec independently and reports each verdict side by side.
Standards baseline
Applies the repository's documented conventions plus a built-in code-smell checklist.
Spec conformance
Compares the change against the originating issue or contract for gaps and unrequested additions.
Automatic change discovery
Finds the working tree, staged diff, or pull request when no files are provided.
Read-only operation
Reports issues without modifying code, routing fixes to the owning agent.
Structured report
Produces a markdown report with severity, file and line references, and commendations.

Good for

  • Review my current staged changes before I commit
  • Review this pull request against the linked issue
  • Check whether this diff follows our repo conventions
  • Audit these files for code smells and error-handling gaps
  • Confirm the implementation matches the integration contract

Code review agent FAQ

What triggers Code review agent?

It is explicitly invoked for a read-only review and is not spawned by the orchestrator. Trigger phrases include "review this diff", "review this PR", "code review", and "does this follow our conventions".

Does Code review agent change my code?

No. The skill is read-only and reports issues for the owning agent or user to fix.

What happens if no spec can be found?

The Spec lane is marked NOT RUN, and only the Standards review is reported.

Which tools does Code review agent use?

It is granted Read, Write, Grep, Glob, Bash, and Agent. Bash is used for git diff and log to resolve scope, and Agent spawns the two review lanes.

How do I install Code review agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-review-agent to use it in all your projects, or to .claude/skills/code-review-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Code review agent 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 agent?

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 agent?

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

Where this comes from

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

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools