agentleFS
NYTC69NYTC69/review-loop/skills/guide/SKILL.md

guide

Skill3 starsChanged 6 months agoApache-2.0View on GitHub

Show review-loop usage guide: how it works, commands, configuration, and key features. Use when the user asks for help with review-loop.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use grill, brainstorm and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 3 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every run uses one mode: every sandbox applies and no permission probe exists (permission-probe and strict mode were removed in v3.7.0.

    line 66
  2. Very specific:

    Create .review-loop/config.md in your project to customize:

    line 111
  3. Distinctive:

    Run from macOS or native Windows.

    line 176

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

First, read ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json to get the current version number.

Then display the following guide to the user, replacing {VERSION} with the version from plugin.json:


review-loop {VERSION} — Quick Reference

How it works

/review-loop <work item description> [--handsfree]

review-loop entry (resolves `entry`, runs the stage A checks)
│
└── paired-session coordinator (run directory under <repo>/.review-loop/runs/)
    ├── PLAN   author drafts the plan → independent reviewer → iterate
    ├── EXEC   author implements → reviewer + shadow review → iterate
    ├── GATE   adversarial gate
    ├── with lifecycle on: FINISH → POLISH-Q specialists → docs → security
    └── DONE (or HOLD) → you accept or reject; nothing ships without your decision

Commands

CommandWhat it does
/review-loop <work item>The default entry: fresh work → paired-session; existing code → paired-session run --review-only; an existing plan → paired-session with the plan as the work item (Entry below)
/review-loop:paired-session <work item> [--plan-only]Runs the paired-session coordinator directly: independent PLAN review, EXEC implementation and review, adversarial gate, then finish, quality polish, docs and security with lifecycle on. Lifecycle off stops after the gate; acceptance returns the uncommitted tree. It ends at DONE (or HOLD); the agent accepts or rejects a DONE run only on your explicit decision. --plan-only stops after the approved plan
/review-loop:review-pr [PR number|PR URL|ref] [aspects]Paired-session report mode (below)
/review-loop:code-quality-loop [max-rounds]A review-only paired-session run on the uncommitted change (with lifecycle on, one fix round for the non-blocking findings, quality writers on; accept normally commits locally unless auto_commit: false; lifecycle off stops after the gate and acceptance returns the uncommitted tree); --legacy, --reorganize and entry: legacy are refused (legacy removed in v2.13.0)
/review-loop:reorganizeReorganizes code file structure without changing behaviour (standalone)
/review-loop:guideThis guide

The legacy workflow was removed in v2.13.0 (routing) and v2.13.1 (/review-loop:legacy, /review-loop:plan, /review-loop:execute and its protocol files). Their replacements: plan-only work → /review-loop:paired-session <work item> --plan-only; an existing plan or a review of existing code → /review-loop. Legacy session files under .review-loop/sessions/ are left on disk and never read; resuming one is refused. See docs/paired-session-migration.md.

Entry

The entry key in .review-loop/config.md takes legacy or paired-session, written unquoted (exact values only; since v2.13.0 legacy is refused, and anything else is warned about and treated as absent). With the key absent or paired-session, fresh work, an existing plan (used as the work item; PLAN drafts and reviews it again) and a review-only request on existing code (run --review-only, plus --base <ref> when you name a base) are handed to paired-session; resuming a legacy session is refused. Unrelated dirty work is not existing code: a review-only run reviews and, with auto_commit, delivers every change against its base. A failed check before the coordinator starts (a host other than macOS or native Windows, required CLIs, background or outside-sandbox execution, Codex home, on Codex an installed plugin older than v2.10.0, or a declined or unanswered worktree or test-command question; under handsfree any such question counts as unanswered) refuses with the reason, whether the key is set or not (unavailable background or outside-sandbox execution is reported as HOLD); nothing falls back. Once the coordinator has started, a refusal or HOLD is reported. Roles come from the operator profile you name or ~/.config/review-loop/paired-session.json; without one, Codex is the author and gate and Claude the reviewer. Gemini (Antigravity CLI agy) is an optional third vendor for the reviewer and the gate (README.md, Configuration). Every run uses one mode: every sandbox applies and no permission probe exists (permission-probe and strict mode were removed in v3.7.0; --strict only prints a NOTE). A reviewer turn that changes the workspace is voided and restored, and an author commit is a HOLD. Platforms: macOS and native Windows (Linux and WSL are refused). On Windows --detach is refused, Claude roles run without the Claude Code Bash sandbox, Git for Windows (Git Bash) is required, and run directories and workspaces stay out of OneDrive-synced folders. On Codex, ask "use paired-session for this task". Details: docs/paired-session-migration.md.

/review-loop:review-pr [PR number|PR URL|ref] [aspects] runs the paired-session report mode (entry: legacy and --legacy are refused since v2.13.0). A PR or ref is reviewed in a temporary clone (the operator's checkout is never touched); no tests run unless you confirm a test command; the EXEC reviewer, shadow, gate, the selected specialists (code errors comments types tests) and the security stage report into review-report.md in the run directory, and nothing is fixed, committed or posted. Posting is a separate request with a secret scan and a second confirmation of the full body (gh pr review --comment only). simplify is a writer and is refused on this route (run /review-loop:code-quality-loop on the change (its POLISH-Q simplifier)).

Usage

# Basic — starts the paired-session plan→review→implement→CR run
/review-loop add rate limiting to the /api/upload endpoint

# If code is already written, it hands off as a review-only run
/review-loop review the changes I just made to the parser

# I already have a plan: /review-loop (the plan becomes the work item)
/review-loop implement this plan: <plan text>

# Plan only
/review-loop:paired-session design an adaptive rate limiter for /api/upload --plan-only

# Show this guide — slash command or natural language
/review-loop:guide
show me the review-loop guide

After updating the plugin: exit with Ctrl-C twice, then claude --resume to reload plugins while keeping your conversation. Old sessions keep using the version loaded at startup.

Configuration

Create .review-loop/config.md in your project to customize:

KeyDefaultDescription
entryabsent (paired-session)paired-session (legacy is refused since v2.13.0); routes every /review-loop (Claude) or review-loop skill (Codex) request, review-pr and code-quality-loop (see Entry above)
soft_limit_plan3Becomes --max-plan-rounds (a hard cap that HOLDs blocking reviews)
soft_limit_execunset → 4Becomes --max-exec-rounds (a hard cap that HOLDs blocking reviews)
docs_fileCHANGELOG.mdBecomes --docs-file; "" to skip
skip_quality_polishfalseBecomes --skip-quality-polish
review_focus""Project-specific review priorities (free text), given to the reviewer, shadow and gate
review_style""Tone and rules for the review roles and the POLISH-Q specialists
quality_focus""Quality priorities for the POLISH-Q specialists
auto_commit—A review-only run (/review-loop on existing code, code-quality-loop) with lifecycle on normally makes one local commit at accept; false here keeps it uncommitted. Lifecycle off returns the uncommitted tree. Not applied on the main pipeline (true prints a warning; set it in the operator profile)
handsfreefalseBlocks stage A questions (any such question fails); accept, reject and withdraw-findings are never run

Unset paired-session caps are plan 3 / exec 4 rounds. reviewer_model and executor_model only warn (models come from the operator profile); the other legacy keys are ignored. See docs/paired-session-migration.md (Config mapping).

review_focus examples

# Backend
review_focus: |
  - Concurrency: race conditions, deadlocks, mutex usage
  - Test coverage: error paths, not just happy paths

# Frontend
review_focus: |
  - Security: XSS, CSRF, input sanitization
  - Accessibility: WCAG, keyboard nav, screen reader

# Web API
review_focus: |
  - Security: auth checks, rate limiting, input validation
  - API contract: backward compatibility, proper status codes

Key features

  • Independent review — the reviewer, shadow and gate never share the author's session
  • Hard caps — blocking PLAN/EXEC reviews HOLD at the cap; resume --add-rounds N (1-10) continues the run. Eligible advisory-only reviews get one repair attempt per phase, then advisory acceptance, or exit at the cap without an attempt. Writer replay takes the advisory exit at any round and preserves the attempt. Blocking rounds preserve it; send-back grants a new EXEC attempt. EXEC needs a passed configured test, own run evidence and the current tree. See the advisory rules for open ledger rows.
  • Acceptance stays yours — a DONE run is accepted or rejected only on your explicit decision
  • Project-specific config — tailor review priorities per project

More info

GitHub: https://github.com/NYTC69/review-loop

Troubleshooting

  • A plugin update does not take effect. Claude Code loads plugins at session start, and /reload-plugins does not switch versions. After /plugin update, start a new session (or exit with Ctrl-C twice and claude --resume to keep the conversation).
  • A headless (claude -p) run stops when the turn ends. -p exits at the end of its turn and kills the background coordinator. Use an interactive session; on macOS a headless session can start the run with --detach (it returns at once with its pid and log; stop ends it).
  • --detach is refused on Windows. A headless session is not supported there. Drop the flag and use an interactive session.
  • An entry refuses with paired-session needs macOS or native Windows. Linux (WSL included) is not supported. Run from macOS or native Windows.
  • A slash command does nothing in Codex (Unrecognized command). Codex matches skills by their description, in natural language only. Ask in plain words, for example "run review-loop on this branch" or "review PR 123".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.