pr-review
Skill31 starsChanged 16 days agoApache-2.0View on GitHub
Review a pull request: gather its metadata, diff and existing feedback, then give a verdict with findings. Use for \"review PR <n>\", \"review this PR\", or a pasted pull request URL.
198 other projects use a version of this.
Adopted by
Most recently taken up by
- aws-solutions-library-samples/accelerated-intelligent-document-processing-on-awstheir own version, first seen Nov 29, 2026
- assawalhy/awesome-agenttheir own version, first seen Nov 29, 2026
- ErikaAX08/erikas-skillstheir own version, first seen Nov 29, 2026
- hukusuke1007/agent-skillstheir own version, first seen Nov 29, 2026
- ccomkhj/skillstheir own version, first seen Nov 29, 2026
- ericmjl/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use expert-reset, updates 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.
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 projects that use this
jtenniswoodSkillupdates
Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.
Also in 3 projects that use this
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +6 more from openchamber
Other versions198 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 198
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 106ksame name
- rtk-ai/rtk★ 88ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 37ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 19ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
188 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cost-reviewSkill
- create-issueSkill
- create-prSkill
- deploySkill
- devSkill
- hotfixSkill
- incidentSkill
- log-reviewSkill
- migrateSkill
- release-notesSkill
- reliability-reviewSkill
- security-auditSkill
- soc2-reviewSkill
- testSkill
- vuln-triageSkill
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 180 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
- Very specific: line 23
Run these gh commands to collect all context:
- Very specific: line 41
Keep --paginate bare. Adding -q/--jq makes gh emit one JSON document *per page* instead of a merged array, and --slurp can't be combined …
- Distinctive: line 118
If the PR diff is very large (>2000 lines), focus on the most important files and note which files were skimmed
- Distinctive: line 121
If the PR references an issue, check that the issue requirements are met
“Common” is measured: kept by at least 6 in 10 of the 180 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
Review a pull request by gathering all PR metadata, diff, and review comments, then provide a comprehensive review summary.
Instructions
1. Identify the PR
The user may provide a PR URL, number, or nothing:
- URL provided (e.g.,
https://github.com/RoboFinSystems/robosystems/pull/577): Extract the repo and PR number - Number provided (e.g.,
577): Use the current repository - Nothing provided: Detect from the current branch using
gh pr view --json number,url— if no open PR exists for the current branch, ask the user which PR to review
2. Gather PR Data
Run these gh commands to collect all context:
# PR metadata + conversation comments in one call
gh pr view <NUMBER> --json number,url,title,body,author,state,isDraft,labels,comments,reviews,reviewDecision,latestReviews,reviewRequests,statusCheckRollup,mergeStateStatus,headRefName,headRefOid,baseRefName,additions,deletions,changedFiles,files,closingIssuesReferences,createdAt,updatedAt
# PR diff (the actual code changes)
gh pr diff <NUMBER>
# Inline review comments — no --json equivalent exists, so this call is still required
gh api repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/pulls/<NUMBER>/comments --paginateField notes:
reviewsnotreviewers—reviewersis not a valid field and errors.reviewDecisionis the single field that answers "has this been approved."commentscovers the top-level conversation, so no separateissues/<n>/commentscall is needed.closingIssuesReferencesgives the linked issue (needed for step 5's requirements check);filesgives per-file add/delete counts (needed for triaging a large diff);headRefOidis the HEAD SHA.- Keep
--paginatebare. Adding-q/--jqmakes gh emit one JSON document per page instead of a merged array, and--slurpcan't be combined with--jq. Pipe tojqafter the call, not through it.
3. Categorize Review Feedback
Organize all comments and checks into categories:
- Human Reviews: Comments from human reviewers (approve, request changes, general feedback)
- AI Reviews: Comments from Claude, Copilot, or other AI review bots
- Code Quality: Comments from linters, formatters, type checkers (e.g., CodeRabbit, SonarCloud, Codacy)
- Security: Findings from security scanners (e.g., Snyk, Dependabot, CodeQL, GitGuardian)
- CI/CD: Build status, test results, deployment checks
How feedback actually arrives in this repo — don't read the categories too literally:
- Formal
reviewsand inlinepulls/<n>/commentsare typically empty, andreviewDecisionis usually blank. That's the norm here, not a signal that review was skipped. Don't report "no review feedback" on the strength of an emptyreviewsarray. - The AI reviewer posts as a bot account in the conversation
comments, not as a formal review. That's where AI findings will be. - In
statusCheckRollup, checks expose.namewhile legacy statuses expose.context, and aconclusionofNEUTRALorSKIPPEDis not a failure. Read the conclusion, don't pattern-match on non-SUCCESS.
4. Review the Diff
With the full PR diff in hand, perform your own review focusing on:
- Correctness: Does the code do what the PR description says?
- Patterns: Does it follow existing codebase patterns (check CLAUDE.md)? Business logic belongs in the operations kernel — logic added directly in a router, GraphQL resolver, or MCP tool handler is a layering mistake, not a style preference.
- Security: Any OWASP top 10 concerns?
- Multi-tenancy: Are graph operations scoped to
graph_id? - SDK contract: The published clients are post-1.0 semver contracts with external integrators, but the contract is two-tier — ask which tier this touches, not merely whether it breaks something. The stable tier is the SDK facades plus the symbols
robosystems-integration-templateimports (its emit path); breaking that propagates as a client major, and an uncoordinated one is a blocking issue. The generated tier is everything else the OpenAPI spec produces; it moves with the API on a client minor, so removing an endpoint or response field nothing consumes is a release-note item, not a blocker. Dead surface — never reachable, no consumer, removal changes only symbol resolution — skips deprecation entirely. Additive fields are free either way. Don't manufacture a blocking finding out of a generated-tier removal. - Disclosure hygiene (this repo is public): does the PR text over-disclose? A security-fix description should name the area hardened, never the mechanism — no exploit mechanics, attack scenarios, affected-endpoint enumerations, payloads, or "previously protected only by X" tells. Detailed root cause belongs in the git-ignored vault, referenced by filename. Also check sequencing: if the vulnerable code is still live in production, the diff discloses a live bug the moment it merges — flag it so the deploy can be sequenced.
- Error handling: Appropriate for the context?
- Tests: Are changes covered by tests? Read the test, don't trust that it's green — a test that asserts the buggy behavior passes just as happily as a correct one.
- Missing changes: Any files that should have been updated but weren't? Migrations for model changes, and both databases have independent histories.
5. Output Format
Provide a structured review:
## PR Summary
**Title**: ...
**Author**: ... | **Branch**: ... → ...
**Status**: ... | **Changes**: +X / -Y across Z files
<Brief summary of what the PR does>
## Existing Review Feedback
### Human Reviews
<Summarize human reviewer comments and their status>
### AI Reviews
<Summarize AI review comments — highlight unresolved items>
### Code Quality
<Summarize code quality bot findings>
### Security
<Summarize security scanner findings — flag anything critical>
### CI/CD Status
<Pass/fail status of all checks>
## My Review
### Issues (should fix before merge)
<Numbered list of problems found>
### Suggestions (non-blocking improvements)
<Numbered list of suggestions>
### Questions
<Anything unclear that needs clarification>
## Verdict
<APPROVE / REQUEST_CHANGES / NEEDS_DISCUSSION — with brief rationale>Notes
- If the PR diff is very large (>2000 lines), focus on the most important files and note which files were skimmed
- For security findings, always err on the side of flagging — false positives are better than missed vulnerabilities
- Cross-reference the PR description with the actual diff to catch scope creep or missing implementation
- If the PR references an issue, check that the issue requirements are met
$ARGUMENTS
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.

