agentleFS
Ryan-M-FrankRyan-M-Frank/volley/skills/review-code/SKILL.md

review-code

Skill2 starsChanged 6 months agoApache-2.0View on GitHub

Use after Codex has implemented a plan. Claude reviews the diff (defaults to uncommitted changes; accepts a git revision range as argument), checks it against PLAN.md and acceptance criteria, and writes a verdict to .volley/CODE-REVIEW.md. Inline review - does not call Codex.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-deps, review-security 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.
  • cjohnhansonSkill

    review-deps

    Judge dependencies, advisories, and licences. Use as a required review, or as /review-deps. Not for how a dependency is called: review-code covers that.

    Also in 3 projects that use this

  • PydanticSkill

    review-security

    Security review of the current branch against its merge base — sandbox escapes, memory errors, panics and resource-limit bypasses. Use when reviewing changes for security risk, or before merging anything touching the heap/ module, path_security.rs, the wire protocol or the pool.

    Also in 5 projects that use this

  • dirkkok101Skill

    review-design

    Use before /plan, after /technical-design, when user says "review design", "check the design", or when design quality is uncertain.

    Also in 4 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

  • VercelSkill

    investigate

    Investigate a specific issue report with strict, evidence-driven diagnosis.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 34 edited versions we read keep these.

  • 2

    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:

    If user passed a range argument (e.g.

    line 21
  2. Distinctive:

    If diff is empty, tell user "No changes to review.

    line 26
  3. Distinctive:

    Read the diff into context: Use Bash to capture the diff and Read tools as needed for full context on changed files.

    line 30
  4. Very specific:

    Only close the issue when all tasks are ticked AND the verdict is SHIP AND NN-MM-SUMMARY.md exists.

    line 80

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

/volley:review-code

Claude reads what Codex built and judges it.

Steps for Claude

  1. Verify .volley/ is initialized and the lock allows Claude to act.
    [ -d .volley ] || { echo "ERROR: .volley/ not found. Run /volley:setup first." >&2; exit 1; }
    [ -f .volley/STATE ] || { echo "ERROR: .volley/STATE not found. Run /volley:setup first." >&2; exit 1; }
    . "${CLAUDE_PLUGIN_ROOT}/scripts/lib.sh"
    volley_state_assert_active .volley/STATE claude || exit 1
  2. Resolve the diff to review.
    • If user passed a range argument (e.g. HEAD~3..HEAD), use that.
    • Otherwise, default to uncommitted changes:
      git diff HEAD
    • If diff is empty, tell user "No changes to review. Did Codex finish?" and stop.
  3. Locate the plan and HANDOFF. Same logic as /volley:review-plan for finding the latest PLAN.md. Read the plan and .volley/HANDOFF.md content.
  4. Read the diff into context. Use Bash to capture the diff and Read tools as needed for full context on changed files.
  5. Review with these prompts in mind:
    • Does each change implement a specific PLAN task or acceptance criterion? (Cite which.)
    • Are there changes that go beyond the plan's scope?
    • Are there gaps - acceptance criteria not addressed?
    • Are the tests covering the new code?
    • Any obvious correctness, safety, or style issues for this codebase?
  6. Write .volley/CODE-REVIEW.md with this structure:

    # Claude Code Review
    
    **Diff range:** <range used>
    **Reviewed:** <ISO timestamp>
    **Plan:** <plan path>
    
    ## Verdict
    SHIP | FIX | DISCUSS
    
    ## Coverage of acceptance criteria
    - Criterion 1: ✓ addressed in <file:line>
    - Criterion 2: ✗ not addressed
    - ...
    
    ## Coverage of plan tasks
    - Task N: ✓
    - Task M: partial (missing X)
    
    ## Issues found
    - (file:line — description)
    
    ## Out-of-plan changes
    - (file:line — what was changed beyond the plan, with judgement)
    
    ## Suggested next moves
    - (concrete actions)
  7. Surface the review inline.
  8. Reconcile the GitHub issue (only if this repo uses the issue-tracking rule). This step is conditional - skip entirely if the repo's CLAUDE.md does not define the "GitHub Issue Tracking Rule" or no matching issue exists.
    • Find the plan's issue: gh issue list --state open --search "[NN-MM] in:title" (derive NN-MM from the plan filename). If none, skip silently.
    • Cross-reference Codex's task log for what actually got built:
      cat .volley/IMPLEMENTATION-LOG.md
    • For each task marked ✓ in the Coverage of plan tasks table above (i.e. verified by this review, not merely logged by Codex), tick its checkbox in the issue body. Use gh issue edit <n> --body-file with the updated body, or the GraphQL updateIssue mutation. Do not tick tasks marked partial or ✗.
    • Only close the issue when all tasks are ticked AND the verdict is SHIP AND NN-MM-SUMMARY.md exists. Prefer letting the PR close it via Closes #N; if committing directly, gh issue close <n> with a comment linking the commit.
    • On FIX/DISCUSS: tick only the verified tasks, leave the issue open, and add a brief comment noting what remains.
  9. Print the next-step block.
    • If SHIP: volley_next_step "git commit + open PR" "Code looks good. Commit (your existing flow) and open the PR."
    • If FIX: volley_next_step_options "Option A|/volley:implement|Hand back to Codex for fixes" "Option B|edit code yourself|Quick edits Claude can make directly"
    • If DISCUSS: volley_next_step_done "Open issues to talk through with the user before the next move."

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.