MCPInstall

review-loop

Use when iterative review-fix cycles are needed on a plan or implementation — bounded loop with severity gating, automatic fixes, and finding disposition.

Installs
182
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/camacho/ai-skills --skill review-loop
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads review-loop automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Review Loop

Bounded review-fix-re-review loop. You are the router — parse intent, select reviewers, run the loop.

1. Parse Intent

From natural language after /review-loop, determine:

  • Target: plan or work? Check conversation context, recent activity, user's words.
  • Reviewers: user-specified, or your judgment. Available: code-reviewer, architect-reviewer, security-auditor, technical-editor, accessibility-tester, design-reviewer, codex-specialist. Match to artifact type.
  • Round cap: default 3. User can say "thorough" (5) or "quick" (1).
  • Severity gate: default P2 (fix P0-P2, record P3+). User can say "strict" (P1) or "lenient" (P3).

If ambiguous, ask: "Reviewing the plan or the work?"

2. Dispatch

  • Plan: invoke /plan-review via Skill tool. Pass round cap. Its internal P0 loop counts as R1.
  • Work: dispatch reviewer(s) via Agent tool. Request severity-tagged findings (P0-P3).

Untagged findings: treat as P1.

3. Loop: Fix, Record, Re-review

For each round (R1..R{cap}):

a. Triage findings by severity gate (P0 is highest severity, P3 is lowest):

  • Fix (higher severity than gate — lower P-number, i.e. P0 through P{gate}): fix immediately. Commit: fix: address R{N} review findings with Co-Authored-By trailer per AGENTS.md.
  • Record (lower severity than gate — higher P-number, i.e. P{gate+1}+): record, do not fix.

b. Record below-gate findings:

  • Plans: append ### Deferred Findings (R{N}) section to the plan file.
  • Work: gh issue create --label review-finding --title "R{N}: <summary>". Cap 10/round, 20 total across all rounds. If gh unavailable, append to .branch-context.md.

c. Reviewer retention — zero trust in fixes. A reviewer stays on the panel until they individually return no above-gate findings. Only then are they done.

  • R1: full panel
  • R2+: only reviewers who had above-gate findings in the prior round re-review
  • Reviewers with no above-gate findings are done — they already approved implicitly

d. Exit when: all reviewers have individually confirmed clean (converged), OR cap reached, OR DROP verdict.

e. Recurring findings: if same finding appears across 2+ rounds, escalate severity by 1 level. If an escalated finding reaches P0 and remains unfixed at cap, stop and hand off to human.

4. Summary

Review Loop Summary
───────────────────────────────────────
Target:    <plan name or file description>
Rounds:    <N of cap>
Gate:      P<N>

│ Round │ P0 │ P1 │ P2 │ P3+ │ Fixed │ Recorded │
│───────│────│────│────│─────│───────│──────────│

Verdict: APPROVE | ESCALATE

APPROVE = all above-gate findings resolved. ESCALATE = unresolved above-gate findings remain — hand off to human.

Guardrails

  • Never modify protected files (see AGENTS.md).
  • Hard max: 5 rounds even if user requests more. Note: "thorough" (5) is already the maximum.
  • Do not auto-merge or auto-approve. The loop produces a verdict, not an action.
  • Plain text output only — cross-surface safe.

Failure Modes

  • /plan-review unavailable → dispatch technical-editor + architect-reviewer directly.
  • gh not authenticated → degrade to .branch-context.md or printed list.
  • Reviewer returns DROP → exit immediately, print summary.
  • No reviewers available → use code-reviewer as minimum viable panel.

FAQ

What does the review-loop skill do?

Use when iterative review-fix cycles are needed on a plan or implementation — bounded loop with severity gating, automatic fixes, and finding disposition.

How do I install review-loop?

Run npx skills add https://github.com/camacho/ai-skills --skill review-loop in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/review-loop/ (personal) or .claude/skills/review-loop/ (project).

Which AI agents can use review-loop?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is review-loop safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains review-loop?

It is published by camacho in camacho/ai-skills. It has 182 recorded installs.

More from camacho/ai-skills

View all →

archive

camacho/ai-skills

Fills Outcomes & Learnings in a plan file and renames it to .done.md.

bail

camacho/ai-skills

Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.

capture

camacho/ai-skills

Creates a draft GitHub Issue with triage label from natural language description.

669 installs

plan-review

camacho/ai-skills

Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.

orient

camacho/ai-skills

Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.

reflect

camacho/ai-skills

Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.