Skip to content
Skill

Review workflow

Loops review, fix and commit rounds on a git diff until the code comes back clean

Review workflow is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
JavaScript
Platforms
Claude Code
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Review workflow

This skill drives an iterative code review cycle over a git repository. A bundled workflow reviews the diff, grades findings by severity and verifies each one, then the agent applies fixes, commits the round, and reviews again. The loop escalates through an ordered list of models, so a cheaper model clears obvious issues before a stronger one signs off.

Before starting, the agent checks that the folder is a git repo, moves off the default branch onto a working branch if needed, and locates the bundled review script. It can review the whole branch against its base, only uncommitted working-tree changes, or a set of named paths. Severities to enforce, the model ladder, and a per-tier round cap can be set in the invocation or chosen through prompts. Commits are staged by explicit path and carry no AI attribution.

The skill works in any git project and reads the nearest CLAUDE.md for conventions. It can use a project's registered code-reviewer agent when one is available. A completion report lists rounds run, fixes per severity, commits, and any findings left open.

When your agent uses it

Run an iterative code-review loop: a review workflow scores the diff by severity, Claude fixes the issues at the chosen strictness, commits, then re-reviews — looping until the review comes back clean. Configurable at invocation: a model ladder (recommended Sonnet → Opus; also sonnet, opus, or a custom models= list), a strictness set of severities to enforce (default critical+major+minor; e.g. strictness=critical,major), and a per-tier round cap (rounds=3/5/10 or until-fixed). Asks if unspecified. Project-agnostic; any git repo. Use when the user asks to review-and-fix in a loop, do a feedback pass, or "keep reviewing until clean".

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 (31 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 review-workflow plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hefgi/skills
/plugin install review-workflow@skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hefgi/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/review-workflow &&
cp -R "$tmp/review-workflow" ~/.claude/skills/review-workflow &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hefgi/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/review-workflow &&
cp -R "$tmp/review-workflow" ~/.agents/skills/review-workflow &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hefgi/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/review-workflow &&
cp -R "$tmp/review-workflow" ~/.cursor/skills/review-workflow &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/review-workflow 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/hefgi/skills.git --path review-workflow

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hefgi/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/review-workflow &&
cp -R "$tmp/review-workflow" ~/.copilot/skills/review-workflow &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hefgi/skills.git

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

The SKILL.md format

What it does

Severity-graded review
Each round scores the diff into critical, major, minor and nit findings, with each finding verified before it is acted on.
Configurable model ladder
Review runs cheap to smart across Sonnet and Opus by default, or on a single model or a custom list.
Selectable enforcement
You choose which severities must reach zero before a tier counts as clean.
Per-tier round cap
Each model tier is limited to a set number of rounds, or to a 20-round ceiling when running until fixed.
Round-by-round commits
Each review round's fixes are committed separately, staging only the files that were edited.
No-progress detection
The loop escalates to the next tier when the same findings keep returning instead of looping forever.

Good for

  • Run a review-and-fix loop on my feature branch until the review is clean
  • Do a feedback pass on my working-tree changes and commit each round
  • Review only the auth module paths and fix critical and major issues
  • Keep reviewing until clean, escalating from Sonnet to Opus

Review workflow FAQ

Does Review workflow write anything into my repository?

No. The bundled workflow runs from the skill's own references folder, so nothing is copied into the user's repo.

Which repositories does Review workflow work with?

Any git repository. It is project-agnostic and checks for a git repo before starting.

Will Review workflow commit directly to main?

No. If the current branch is main or master, it creates a working branch first.

How does Review workflow choose the reviewer agent?

If a code-reviewer agent is registered in the live project, it uses that. Otherwise it falls back to a general-purpose subagent.

How do I install Review workflow in Claude Code?

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

Does Review workflow run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its 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 Review workflow?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Review workflow?

The closest alternatives to Review workflow are Project review, Code review loop, Refactor, Skill improver and Code review.

Where this comes from

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

More from hefgi/skills

  1. Guides an agent in building EVM blockchain indexers with the Ponder TypeScript framework

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Lets your agent view, search, create and update Shortcut stories and epics via the CLI

    • Open source
    • 7 GitHub stars
    • Productivity