agentleFS
valkrisdvalkrisd/claude-review/SKILL.md

claude-review

Skill0 starsChanged 3 months agoMITView on GitHub

Use when Codex needs a read-only local Claude Code review of work Codex prepared, including current git diffs, staged changes, exact commits, specific branch diffs against a base ref, scoped changed paths, explicit local files, specs, design docs, ignored files, or final pre-response quality checks. Routes through the global `claude-review` CLI instead of calling `claude` directly.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, advocate and 10 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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.

    Also in 3 projects that use this

  • ryanportfolioSkill

    advocate

    Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.

    Also in 3 projects that use this

  • +10 more from ryanportfolio

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. 0 are common, 7 are distinctive, and 11 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to ask the user's local Claude Code CLI for one strict, read-only review pass over Codex-written changes.

    line 8
  2. Distinctive:

    Use the globally installed CLI:

    line 14
  3. Distinctive:

    Run the user's normal verification first when practical: tests, lint, type checks, or the narrow command relevant to the change.

    line 33
  4. Very specific:

    Run claude-review review for local working-tree changes, claude-review review --base <ref> for current HEAD against a base, --branch <ref> …

    line 35
  5. Very specific:

    Use --paths only to narrow git changes.

    line 39
  6. Very specific:

    Treat Claude's blocker and important findings as requiring action: either fix and rerun verification/review, or explicitly explain why the …

    line 45
  7. Very specific:

    Do not call claude directly.

    line 52
  8. Distinctive:

    Do not ask Claude to edit files, run commands beyond read-only git commands, commit, push, install dependencies, or run tests/builds.

    line 54
  9. Distinctive:

    Do not paste secrets or unrelated files into the review prompt.

    line 56
  10. Distinctive:

    Do not treat style-only feedback as required work.

    line 57
  11. Very specific:

    If Claude reports a session/subscription/rate limit (Claude rate limit reached, You've hit your session limit, 429, five_hour, etc.), stop.

    line 58
  12. Very specific:

    If Claude reports Reached maximum number of turns or max_turns, this is not a subscription limit.

    line 61
  13. Very specific:

    If Claude reports structured_output_retry_exhausted, this is a schema/tool formatting failure, not a review finding.

    line 64
  14. Distinctive:

    Ask Claude Code to inspect the repository or selected files with read-only tools rather than pasting one giant diff into the prompt.

    line 80
  15. Very specific:

    If Claude Code fails or returns unusable output, the CLI saves raw stdout/stderr to a private random temp directory and returns …

    line 95
  16. Very specific:

    If Claude Code exits after exhausting structured-output retries but the last StructuredOutput tool call contains a valid review payload, …

    line 99
  17. Very specific:

    If Claude claims complete coverage without naming every selected target that exists in the reviewed snapshot in files_read, the CLI treats …

    line 103
  18. Very specific:

    Read references/review-contract.md only when modifying this skill.

    line 140

“Common” is measured: kept by at least 6 in 10 of the 7 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

Claude Review

Use this skill to ask the user's local Claude Code CLI for one strict, read-only review pass over Codex-written changes. Codex remains the implementer and final decision maker.

Commands

Use the globally installed CLI:

claude-review setup
claude-review review
claude-review review --base main
claude-review review --branch feature/payments --base main
claude-review review --commit abc1234
claude-review review --commit abc1234 --context-files docs/design.md
claude-review review --paths src tests
claude-review review --context-files docs/design.md
claude-review files docs/design.md docs/api.yaml
claude-review review --scope staged
claude-review review --focus "billing permissions and migrations"
claude-review usage

Workflow

  1. Run the user's normal verification first when practical: tests, lint, type checks, or the narrow command relevant to the change.
  2. Run claude-review review for local working-tree changes, claude-review review --base <ref> for current HEAD against a base, --branch <ref> --base <ref> for a specific branch, or --commit <ref> for exactly one commit.
  3. Use --paths only to narrow git changes. Use --context-files <file...> for local specs/design docs that Claude should use as requirements while reviewing the selected code. Use claude-review files <file...> when the files themselves are the review target, including ignored files inside the current workspace. Scoping is explicit: use --paths, --context-files, or the files command.
  4. Treat Claude's blocker and important findings as requiring action: either fix and rerun verification/review, or explicitly explain why the finding is not applicable.
  5. Mention the Claude review result in the final response.

Hard Rules

  • Do not call claude directly; use claude-review.
  • Give an agreed review its full timeout; slow progress alone is not a reason to stop it.
  • Do not ask Claude to edit files, run commands beyond read-only git commands, commit, push, install dependencies, or run tests/builds.
  • Do not paste secrets or unrelated files into the review prompt.
  • Do not treat style-only feedback as required work.
  • If Claude reports a session/subscription/rate limit (Claude rate limit reached, You've hit your session limit, 429, five_hour, etc.), stop. A partial review is incomplete, not approval.
  • If Claude reports Reached maximum number of turns or max_turns, this is not a subscription limit. Rerun once with a higher --max-turns or a narrower file set.
  • If Claude reports structured_output_retry_exhausted, this is a schema/tool formatting failure, not a review finding. The wrapper attempts to recover the last StructuredOutput payload; if recovery fails, treat the result as incomplete and rerun with a narrower focus.

CLI Behavior

The simplified CLI runs one manifest-first review:

  1. Collect a compact git manifest: status, selected changed files, excluded secret-like files, scope, and diffstat.
  2. Collect optional --context-files as supporting requirements/reference material, not review targets.
  3. In files mode, collect explicit local files only from the current workspace. External paths are rejected instead of granting directory-wide access.
  4. Ask Claude Code to inspect the repository or selected files with read-only tools rather than pasting one giant diff into the prompt.
  5. Validate/normalize Claude's JSON against the bundled schema.
  6. Return one synthesized result with verdict, coverage, findings, unreviewed_files, excluded_files, and changed_files.

By default it reviews with Claude Opus 5, --effort medium, and --max-turns 100. The default timeout is 60 minutes.

Claude Code is always launched with --safe-mode, --no-session-persistence, --disable-slash-commands, and --permission-mode dontAsk so project hooks, plugins, skills, or interactive permission prompts do not make the review look hung. Progress messages are printed to stderr while JSON review output remains on stdout.

If Claude Code fails or returns unusable output, the CLI saves raw stdout/stderr to a private random temp directory and returns coverage=partial instead of dumping raw Claude event streams into stdout.

If Claude Code exits after exhausting structured-output retries but the last StructuredOutput tool call contains a valid review payload, the CLI recovers that payload and returns the synthesized review.

If Claude claims complete coverage without naming every selected target that exists in the reviewed snapshot in files_read, the CLI treats the response as invalid and automatically retries the same request once, preserving target and context files. Deleted paths are covered through the selected git diff/show.

Default scope:

  • no --base: staged, unstaged, and untracked changes in the working tree
  • with --base <ref>: <ref>...HEAD branch diff
  • with --branch <ref> --base <ref>: <base>...<branch> without requiring checkout
  • with --commit <ref>: exactly <commit>^..<commit>; root commits are supported

Useful options:

claude-review review --json
claude-review review --dry-run --json
claude-review review --fail-on important
claude-review review --paths src/server
claude-review review --commit abc1234 --context-files docs/design.md
claude-review review --branch feature/payments --base main --context-files docs/design.md
claude-review review --context-files docs/design.md --focus "check code against design"
claude-review files docs/design.md api.yaml --focus "contract and migration risks"
claude-review files docs/local-spec.md
claude-review review --focus "security and data loss"
claude-review review --model claude-opus-5 --effort medium
claude-review review --timeout-ms 3600000
claude-review files docs/design.md docs/todo.md --max-turns 100
claude-review review --progress-interval-ms 10000
claude-review review --usage
claude-review review --quiet

files supports workspace-local paths and file:// URLs only. For web pages or Confluence/GitHub links, export or save the content to a local file first, then pass that file.

Read references/review-contract.md only when modifying this skill.

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.