Review a change with parallel read-only reviewers picked by its size and risk, fix the real findings, and loop until only nits remain. Also offers an on-demand tests tier that finds low-value tests across a repository. Use for /review, or /review tests when cleaning up, pruning, or auditing tests.
Ships in lrstanley. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run read-only reviewers over a change, judge their findings yourself, fix the real ones with the smallest change, and repeat until only nits remain. You are the only one who edits. Reviewers report.
The user may add arguments: a scope, a model, a round count, or lenses to add or skip. Their arguments override every default below.
| Tier | Change | Lenses | Rounds |
|---|---|---|---|
| Trivial | docs, config, renames, a few lines of obvious logic | correctness | 1 |
| Normal | most feature and fix work | correctness, structure, cleanup, + performance | 3 |
| Risky | security, permissions, auth, data loss, state/concurrency | all that apply, security checklist on | 3 to 5 |
| Tests | on request only: clean up, prune, audit, or refactor tests | tests, one reviewer per shard (max 3), run alone | 1 |
The tests tier is never picked by triage. It runs only when the user asks to clean
up, purge, prune, audit, or refactor tests (or passes tests), runs by itself without
the other lenses, and covers the whole repository or the paths given instead of a diff.
For that run, follow references/tests-tier.md in place of
steps 1-5 below; the reviewer models, ledger, and step 6 report still apply.
Reviewers read and judge, so a lighter model does the job. Use the model the user names. Otherwise:
delegate_task. A
second provider gives a view independent of yours.Raise effort to high for the risky tier, and for a complex normal-tier change: intricate logic or state, a refactor across modules, or a large diff. Read model IDs from what the client lists, never hardcode them. If a model the user named is unavailable, report it and stop rather than substituting. Note provider, model, and effort in the ledger only when the client exposes them.
Run git status --short. Leave unrelated changes alone: no stash, discard,
or reformat. Scope, first match wins:
gh pr view <n> --json baseRefName,headRefOid; base is
git merge-base HEAD origin/<baseRefName>.git merge-base HEAD origin/<default-branch>.HEAD, or HEAD~1 if
the tree is clean.The change is base to working tree, untracked files included. Use one diff command for every round. Write the intent and what is out of scope in 1-2 sentences. Run the checks that cover the change and note any that are missing or were failing before. Done when the diff holds the change and nothing else.
Pick the tier and lenses from the Budget table, using the lens triggers in references/lenses.md. When in doubt between tiers, take the higher one. State the tier, lenses, and budget in one line.
Start every chosen lens at once, one reviewer each, using the brief in references/lenses.md. Leave scoped files untouched while reviewers run.
orchestrator_capabilities once, then one delegate_task
per reviewer (role: "review", mode: "async", new clientRequestId per
round). Every round is a fresh delegate_task. Wait for the notices.Agent call per reviewer, all in one message, in the
foreground, with model and effort set.spawn_agent per reviewer, then wait.A timeout, error, or empty reply is not approval: cancel it, confirm it stopped, and restart that one reviewer with the ledger.
Check every finding and its severity against the code yourself. A rare case, another path, or a small cost is a nit, whatever label it came with.
Breaking changes are fine when the project is unreleased or the API is internal (unexported, internal package, application code). For a published API, list the breaking fix as a follow-up instead of making it.
Re-run the checks and git diff --shortstat <base>. If the fixes grew the
diff, cut first. Agreeing just to end the loop is a failure. Done when every
finding in the ledger has an outcome.
Start one only if budget remains and a blocker or should is open, or the
fixes changed behavior code. Re-run only the lenses with open findings or
whose area the fixes touched, plus correctness whenever behavior changed.
Send each the round 1 brief, the ledger, and the hunks you changed since the
last round. Ask it to mark each old id resolved or still open: <reason>.
Done: every reviewer approves the current diff, or returns only nits, and no blocker or should is open. Stuck: a finding is still disputed after two replies, or the budget ran out. Show both sides in 2-3 lines each and let the user decide. Running out of budget is not approval.
Report as one markdown list, rendered directly, never inside a code fence. One top-level item per group, each with its emoji and bold label, and at most one nested level beneath it. One line per finding, no further detail. Omit a group that has nothing in it, except Review and Checks.
- 🔍 **Review**: <tier> (<why>), <N> rounds, <model and effort>
- Lenses: <lenses>
- Diff: <before> -> <after> lines
- 🧪 **Checks**: <what ran and passed; failures or pre-existing warnings>
- ✅ **Fixed**
- `<id>` `<file>:<line>` <what changed>
- 🚫 **Declined**
- `<id>` <one-line reason>
- ⚠️ **Open**
- `<id>` <both sides, briefly>
- 📌 **Follow-ups**
- <out-of-scope or breaking item worth tracking>
- 🧹 **Nits**: <fixed> fixed, <declined> declined
- `<id>` <what changed, or why declined>
After the list, add at most 2-3 short sentences for what the list cannot carry, such as a new test or a side effect of a fix. End with the commit state.
Leave commits, pushes, and PR comments to the user's request.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/lrstanley:reviewfrom lrstanley
npx claudepluginhub lrstanley/skills --plugin lrstanley25 skills in this plugin
/apply-worktreeLand the current git worktree's commits onto the main worktree's default branch, verify, and clean up. Use for /apply-worktree./babysit-prWatch a pull request through CI and review bots, fix real findings, and keep it rebased until it is ready. Use for /babysit-pr./documentation-writerCreates high-quality technical documentation using the Diataxis framework. Use when writing tutorials, how-to guides, reference material, or explanations for software projects./file-prFile a concise pull request that leads with the problem, not an inventory of changes. Use for /file-pr./frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./golangExpert Go developer. Use when building Go applications, designing interfaces, writing tests, profiling, working with goroutines, HTTP servers/clients, error handling, tracing, CLI tools, generics, caching, writing Go documentation, structured logging, and more.