review-pr
Skill2 starsChanged 6 months agoApache-2.0View on GitHub
Use to send a GitHub PR's diff to Codex for review via `codex exec`. Required argument is the PR number. Output written to .volley/PR-REVIEW-<num>.md and shown inline. Asks for explicit user opt-in before posting as a PR comment.
96 other projects use a version of this.
Adopted by
Most recently taken up by
- nerymurillohnd/claude-essentialstheir own version, first seen Oct 5, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- briandconnelly/skillstheir own version, first seen Oct 4, 2026
- angusfretwell/skillstheir own version, first seen Oct 4, 2026
- domengabrovsek/agent-configtheir own version, first seen Oct 2, 2026
- egregore-labs/egregoretheir own version, first seen Oct 1, 2026
Used with
Projects with it also use build-graph, review-delta and 8 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.
n24q02mSkillbuild-graph
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
Also in 3 projects that use this
n24q02mSkillreview-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
Also in 3 projects that use this
jasoncrawfordSkillwork-on
Use to kick off work on a feature, bug, or task
Also in 3 projects that use this
DockerSkillfix-issue
Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".
Also in 6 projects that use this
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 21 projects that use this
sahinSkillcreate-issue
Also in 4 projects that use this
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- ToolJet/ToolJet★ 41ksame name
- tirth8205/code-review-graph★ 32ksame name
- microsoft/fluentui★ 20ksame name
- hashicorp/terraform-provider-aws★ 11ksame name
- maximhq/bifrost★ 8.6ksame name
- docker/docs★ 4.7ksame name
- mikeyobrien/ralph-orchestrator★ 3.2ksame name
- ShenSeanChen/waku-agent★ 1.9ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- google/site-kit-wp★ 1.4ksame name
86 more not listed
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 repository7 other files it gives its agents.
- diagnoseSkill
- implementSkill
- review-codeSkill
- review-planSkill
- setupSkill
- statusSkill
- unlockSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 91 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Fetch PR metadata and diff via gh: Write into .volley/ (transient, gitignored, no /tmp/ collision risk):
- Very specific: line 28
If gh is not authenticated or PR doesn't exist, surface the error and stop.
- Very specific: line 83
If y (and ONLY if y - never auto-post):
- Very specific: line 89
If verdict is APPROVE and user is the PR author: volley_next_step "merge the PR" "Codex approved.
“Common” is measured: kept by at least 6 in 10 of the 91 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
/volley:review-pr
Codex reviews a PR. You decide whether to post the review as a comment.
Steps for Claude
- Validate input. PR number is required. If missing, tell user "Pass a PR number, e.g. /volley:review-pr 123" and stop.
- 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 - Fetch PR metadata and diff via gh. Write into
.volley/(transient, gitignored, no/tmp/collision risk):
IfPR_NUM=<n> gh pr view "$PR_NUM" --json title,body,baseRefName,headRefName > ".volley/pr-${PR_NUM}-meta.json" gh pr diff "$PR_NUM" > ".volley/pr-${PR_NUM}-diff.patch"ghis not authenticated or PR doesn't exist, surface the error and stop. - Build the review prompt for Codex.
You are reviewing a GitHub pull request. Be specific. Cite file paths and line numbers from the diff. PROJECT CONTEXT: before reviewing, read these files in the repo (read-only): <list every context.required file, every context.optional file that exists, and the managedCheckpoint (default .volley/CHECKPOINT.md) if it exists>. PR TITLE: <title> PR DESCRIPTION: <body> DIFF: <full diff content> Provide your review in this format: ## Verdict APPROVE | REQUEST_CHANGES | COMMENT ## Summary (2-3 sentences on what this PR does) ## Issues - (file:line — issue description) ## Nits - (file:line — minor suggestions) ## Suggestions for follow-up - (out-of-scope improvements not blocking this PR) Keep it under 800 words. - Invoke Codex via
scripts/codex-exec.sh. First resolve model, effort, local overrides and required context files exactly as in/volley:review-planstep 5 (stop if a required file is missing), then follow its step 6 with roleprReview: write the prompt to.volley/pr-<num>-review-prompt.md, then runbash "${CLAUDE_PLUGIN_ROOT}/scripts/codex-exec.sh" --prompt-file .volley/pr-<num>-review-prompt.md --out .volley/pr-<num>-review-raw.md --cwd "$(volley_repo_root)" --model <resolved> --effort <resolved> [--resume <roles.prReview.threadId>](resume percodex.review.continuityexactly as in/volley:review-planstep 6, withroles.prReview, and only when the repo identity matches). SaveSESSION_IDto.volley/local.jsonunderroles.prReview; report anyCONTINUITY=fallback:*. Surface Codex errors verbatim; never substitute a model. - Write to
.volley/PR-REVIEW-<num>.md.# Codex PR Review **PR:** #<num> — <title> **Reviewed:** <ISO timestamp> --- <Codex's response verbatim, i.e. the contents of .volley/pr-<num>-review-raw.md> - Surface the review inline.
Ask user about posting as PR comment. Output:
"Post this review as a comment on PR #
<num>? (y/n)"If
y(and ONLY if y - never auto-post):gh pr comment "$PR_NUM" --body-file ".volley/PR-REVIEW-${PR_NUM}.md"- Print the next-step block.
- If verdict is APPROVE and user is the PR author:
volley_next_step "merge the PR" "Codex approved; merge when CI is green." - Otherwise:
volley_next_step_done "Review complete. Address any issues in follow-up commits if applicable."
- If verdict is APPROVE and user is the PR author:
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.

