claude-code-review
Skill45 starsChanged 51 days agoMITView on GitHub
Run a general read-only implementation review with Claude Code as a native background subagent from Claude Code, or through the non-interactive Claude Code CLI from another harness. Never create a Herdr pane, tab, workspace, or agent for a reviewer. Do not use for Proqi's repository-wide architecture review.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- schneidenbach/skillstheir own version, first seen Aug 26, 2026
- aki77/claude-code-reviewtheir own version, first seen Aug 9, 2026
- imankulov/skillstheir own version, first seen Aug 2, 2026
- thattimc/skillstheir own version, first seen Jul 16, 2026
- tykisgod/quick-questiontheir own version, first seen Mar 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- schneidenbach/skills★ 18same name
- tykisgod/quick-question★ 12same name
- imankulov/skills★ 4same name
- aki77/claude-code-review★ 1same name
- thattimc/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- xtask/AGENTS.mdAGENTS.md
- architecture-reviewSkill
- codex-reviewSkill
- implement-in-worktreeSkill
- proqi-screenshotSkill
- releaseSkill
- walkthroughSkill
- proqi-debugSkill
- proqiSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 9 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run one dependable Claude Code review of a bounded implementation.
- Very specific: line 21
When none is specified, use fable, the proven default for this workflow.
- Very specific: line 22
Treat an actively changing worktree as a moving snapshot.
- Very specific: line 28
Do not silently broaden a focused review into a repository-wide architecture audit.
- Very specific: line 33
Create one collision-free result file under /private/tmp before launching Claude.
- Distinctive: line 62
Use wording at least as strict as:
- Very specific: line 77
Never create or split a Herdr pane, tab, workspace, or worktree for it, and never use herdr agent start or herdr agent prompt to host the …
- Very specific: line 82
When the invoking harness is Claude Code, use exactly one native Claude Code subagent through its agent or task mechanism.
- Distinctive: line 88
Only when the invoking harness is not Claude Code, run the CLI inside the implementation owner's existing worktree through the invoking …
- Distinctive: line 92
When this skill is running inside Codex, launch the Claude CLI outside the Codex filesystem/process sandbox from the first attempt.
- Distinctive: line 102
Use the proven invocation shape, substituting the requested model, prompt, and recorded result path:
- Very specific: line 115
Run a permitted CLI command as a managed foreground process through the harness process runner.
- Distinctive: line 131
Verify every finding against the current source.
- Distinctive: line 135
If fixes are made, rerun focused verification and rerun the Claude review on the stable resulting head when the user requested a final …
- Distinctive: line 144
Keep the result file until its findings have been read, verified, and incorporated into the implementation or review synthesis.
- Distinctive: line 148
Before deleting it, inspect the exact recorded path and confirm that it is the owned review artifact.
“Common” is measured: kept by at least 6 in 10 of the 4 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.
Files
Claude Code Review
Run one dependable Claude Code review of a bounded implementation. Use the
invoking harness's native subagent when it is Claude Code, or the managed CLI
route from another harness. This skill is a general review lane. It does not
replace or modify $architecture-review.
Establish the review snapshot
- Resolve the repository, worktree, pull request, diff, or files the user wants
reviewed. Read every applicable
AGENTS.mdand the relevant product or architecture contracts before composing the assignment. - Record the absolute working directory, current branch, exact
HEAD, andgit status --shortbefore dispatch. Preserve unrelated changes. - Determine the requested Claude model. Use the user's requested model exactly.
When none is specified, use
fable, the proven default for this workflow. - Treat an actively changing worktree as a moving snapshot. A recorded
HEADidentifies the commit, but uncommitted files can still change during review. Compare the revision and working-tree state again after completion. If the reviewed files changed, label the report as a moving snapshot and rerun after the fixes or stable head when a final verdict is required.
Do not silently broaden a focused review into a repository-wide architecture
audit. Use $architecture-review for that separate workflow.
Prepare durable output
Create one collision-free result file under /private/tmp before launching
Claude. Prefer a descriptive name such as:
/private/tmp/claude-code-review-<repository>-<unique-id>.txtRecord the exact path in the working notes immediately. The result file is the
authoritative output artifact. Do not use claude --bg, Claude background
session logs, or its control daemon as the only output source. The daemon can
disappear after the review completes and make otherwise successful output
unrecoverable.
Build a strictly read-only prompt
The review prompt must contain all of the following:
- the exact review scope and recorded
HEAD; - the relevant repository contracts and acceptance criteria;
- an explicit instruction to inspect and report only;
- an explicit prohibition on editing, creating, deleting, renaming, formatting, or otherwise mutating files;
- an explicit prohibition on commands that change repository, process, network, GitHub, or other external state;
- a request for severity-ordered findings with concrete file and line evidence;
- a request to state when no finding exists rather than inventing one;
- a reminder that the tree may be changing and that the report must identify evidence observed during its own snapshot.
Use wording at least as strict as:
This is a read-only code review. Do not edit, create, delete, rename, format, or
otherwise mutate any file. Do not run commands that change repository or
external state. Inspect the requested scope and return findings only.Claude may use Bash only for read-only inspection such as git diff, rg,
and test-result inspection. The prompt prohibition remains mandatory because
the CLI tool allowlist itself does not make Bash read-only.
Dispatch through the harness-native route
Claude must run as a non-interactive background reviewer relative to Herdr.
Never create or split a Herdr pane, tab, workspace, or worktree for it, and never
use herdr agent start or herdr agent prompt to host the review. A Claude Code
agent hosted inside Herdr is still running in the Claude Code harness. Herdr is
only the terminal host and does not change the harness identity.
When the invoking harness is Claude Code, use exactly one native Claude Code
subagent through its agent or task mechanism. Never launch the claude
executable from a Claude Code agent. If that agent cannot spawn a native
subagent, report the blocker to its parent session. Do not fall back to the CLI,
a Herdr reviewer, or primary-agent review.
Only when the invoking harness is not Claude Code, run the CLI inside the implementation owner's existing worktree through the invoking harness's managed process runner.
When this skill is running inside Codex, launch the Claude CLI outside the
Codex filesystem/process sandbox from the first attempt. Use the process
runner's explicit unsandboxed or escalated execution mode. Claude Code's local
authentication state is unavailable inside the sandbox, which can produce a
false Not logged in result and an unnecessary request for credentials. Do not
ask the user to log in unless the same invocation also fails outside the
sandbox. Unsandboxed execution grants access to the existing local Claude
session only; it does not relax the read-only prompt, tool allowlist, or review
scope.
Use the proven invocation shape, substituting the requested model, prompt, and recorded result path:
claude --print --model fable --permission-mode dontAsk \
--tools Read,Grep,Glob,Bash -- REVIEW_PROMPT \
> /private/tmp/claude-review-result.txt 2>&1Pass the prompt as one safely quoted argument after --. Never interpolate
untrusted repository text as shell syntax. Redirect both stdout and stderr to
the result file from process start.
Run a permitted CLI command as a managed foreground process through the harness
process runner. It may continue after the initial tool call yields, but do not
detach it with shell &, nohup, claude --bg, or a Claude-managed background
session.
Retain the returned process or session identifier and poll that same managed
process until it exits. Here, background means non-interactive relative to
Herdr, not an unowned detached shell process. Redirected output can make a
healthy review appear silent, so silence is never evidence of completion.
Collect and assess the review
- Record the process exit status. Read the complete result file after the process exits, including when the exit status is nonzero because diagnostics are captured there too.
- Re-record
HEADandgit status --short. Compare them with the starting snapshot and inspect whether reviewed files changed during the run. - Verify every finding against the current source. Treat Claude's report as evidence and each finding as a hypothesis, not as authority.
- Classify findings as confirmed, partially confirmed, rejected with evidence, already fixed during the moving review, or requiring a product decision.
- If fixes are made, rerun focused verification and rerun the Claude review on the stable resulting head when the user requested a final review verdict.
Report the requested model, reviewed scope, starting and ending revisions, moving-snapshot status, managed process outcome, and exact persistent output path. Do not claim a stable-head review when the tree changed underneath it.
Retain and clean the artifact
Keep the result file until its findings have been read, verified, and incorporated into the implementation or review synthesis. A handoff that still depends on the raw report is not complete cleanup authority.
Before deleting it, inspect the exact recorded path and confirm that it is the owned review artifact. Remove only that file, never a glob or broad temporary directory. State when it was removed. If ownership is uncertain or findings have not yet been incorporated, retain it and report the path.
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
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.

