github-pr-review
Skill1 starsChanged 9 days agoApache-2.0View on GitHub
Review a pull request once and write an evidence-backed review report (JSON) for a later step to post. Use in conversation when the user gives a PR URL or number and asks for a review. Also the L2 loop entry skill on newly opened PRs when detect JSON is supplied. Findings need a verbatim rule or criteria quote from the base commit, or a concrete bug in the diff. Never posts, approves, or edits source files; do not use to fix a PR (github-pr-revise).
19 other projects use a version of this.
Adopted by
Most recently taken up by
- Bruno-Cunha-Souza/ValarMindSkillstheir own version, first seen Nov 8, 2026
- myths-labs/musetheir own version, first seen Nov 6, 2026
- amirbena/code-review-skilltheir own version, first seen Nov 5, 2026
- runxhq/runxtheir own version, first seen Oct 13, 2026
- gianpaj/skillstheir own version, first seen Oct 11, 2026
- ricoberger/dotfilestheir own version, first seen Oct 10, 2026
Used with
Projects with it also use git-commit, code-review and 2 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.
MicrosoftSkillgit-commit
Stage user-selected paths, confirm the exact staged set, and create one local Conventional Commit, or generate a commit message for staged changes without committing. Use when you want a guarded commit or a ready-to-paste message.
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
BlockSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- google/adk-recipes★ 11ksame name
- google/adk-samples★ 11ksame name
- OpenHands/extensions★ 167same name
- runxhq/runx★ 97same name
- myths-labs/muse★ 38same name
- ricoberger/dotfiles★ 19same name
- amirbena/code-review-skill★ 8same name
- Bruno-Cunha-Souza/ValarMindSkills★ 5same name
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- megandmartin/agent-skills-repo★ 3same name
9 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 repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .apm/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/workflows/CLAUDE.mdCLAUDE.md
- .cursor/rules/agent-skills.mdcCursor rule
- .cursor/rules/bats.mdcCursor rule
- .cursor/rules/github-actions-workflow.mdcCursor rule
- .cursor/rules/go.mdcCursor rule
- .cursor/rules/go-test.mdcCursor rule
- .cursor/rules/instructions.mdcCursor rule
- .cursor/rules/markdown.mdcCursor rule
- .cursor/rules/shell-script.mdcCursor rule
- .cursor/rules/terraform.mdcCursor rule
- agent-skills-reviewSkill
- changelogSkill
- ci-sweeperSkill
- docs-creatorSkill
- docs-updaterSkill
- github-actions-reviewSkill
- github-actions-validationSkill
- github-issue-autofixSkill
- github-issue-triageSkill
- github-pr-bodySkill
- github-pr-reviseSkill
- go-reviewSkill
- go-validationSkill
- instructions-reviewSkill
- loop-verifierSkill
- markdown-validationSkill
- refactorSkill
- shell-script-reviewSkill
- shell-script-validationSkill
- tech-debtSkill
- test-gapSkill
- agent-skills-reviewSkill
- changelogSkill
- ci-sweeperSkill
- docs-creatorSkill
- docs-updaterSkill
- github-actions-reviewSkill
- github-actions-validationSkill
- github-issue-autofixSkill
- github-issue-triageSkill
- github-pr-bodySkill
- github-pr-reviewSkill
- github-pr-reviseSkill
- go-reviewSkill
- go-validationSkill
- instructions-reviewSkill
- loop-verifierSkill
- markdown-validationSkill
- refactorSkill
- shell-script-reviewSkill
- shell-script-validationSkill
- tech-debtSkill
- test-gapSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
0
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 62
When agent_edit_allowed is true, resolve agent_edit_target: on the interactive path use report.
- Very specific: line 71
Do not post. Do not run gh pr review, gh pr comment, gh api write calls, or any engine --comment option.
“Common” is measured: kept by at least 6 in 10 of the 17 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
UTILITY SKILL — first-pass PR review that produces a report file; the platform renders and posts it.
Input
- Automation: detect JSON from
detect_pr_review.shwithresult.pr_number,result.base_sha,result.head_sha,result.changed_files,result.report_path, andresult.handoff_key. Readagent_edit_allowed/agent_edit_target/response_languagefrom## Constraints. - Interactive: PR URL or number; there is no detect JSON. Resolve SHAs with read-only
gh pr view <n> --json baseRefOid,headRefOid(base =baseRefOid, head =headRefOid). Default: present findings in chat and write no file; when the user asks for a report file, write it to the path the user names.
Output Specification
Report file schema and rendering: common-output-format.md. Automation envelope: category-automation-envelope.md. Evidence and exclusion rules: category-review-rules.md.
Execution Scope
USE FOR:
- Reviewing the PR diff against agent instruction rules and domain review criteria that exist at the base commit
- Reporting generic correctness bugs that can be shown with a diff line and a concrete failing input or state
- Writing the review report to
result.report_pathwhenagent_edit_targetisreport
DO NOT USE FOR:
- Fixing, committing, or pushing code (use
github-pr-revise) - Posting reviews or comments, approving, or requesting changes (the platform renders the report and posts one COMMENT review)
- Issue triage or lint, format, and secret scanning (hooks and CI already run these)
Reference Files Guide
- common-checklist.md (always read)
- common-output-format.md (always read)
- category-review-rules.md (always read)
- category-automation-envelope.md (read on automation path)
- category-pr-body-links.md (read when writing the report)
assets/report-template.json(read when writing the report)assets/review-body-template.md(read to see how the report is rendered into the review body)assets/inline-comment-template.md(read to see how in-diff findings are rendered inline)
Workflow
Resolve agent_edit_allowed before writing anything:
| Source | agent_edit_allowed |
| Interactive — default | false — survey only; write no file |
| Interactive — explicit apply language | true — user asks to write the report file in the same request |
Automation — ## Constraints | agent_edit_allowed: true or agent_edit_allowed: false from category-automation-envelope.md |
When agent_edit_allowed is true, resolve agent_edit_target: on the interactive path use report; on the automation path read agent_edit_target from ## Constraints. Do not branch on other caller metadata outside ## Constraints. The report file is the only file this skill may write.
- Automation: read detect JSON; if
skip: trueorstatus: error, report the reason and stop without writing a report. Interactive: resolve the PR from the user's URL or number and its SHAs withgh pr view <n> --json baseRefOid,headRefOid. - Confirm the PR's intent: read the PR title and body, linked Issues, and any related spec or design document. Record the result for
premises. - Read the PR diff with
gh pr diff. Read each changed file at base withgit show <base_sha>:<path>(never from the checked-out tree, which may be the PR head), and the head version withgh api/gh pr diff. On the automation path the working tree is the base checkout, so opening files there is equivalent. - Collect applicable rules: read applicable instruction files (nested and path-scoped included) from the base commit with
git show <base_sha>:<path>, and domain review criteria matching each changed file type, also from base. Domain criteria are ID-tagged items in review references that exist in the consumer repository at the base commit (for example installed review skills'references/category-*.md); this skill ships none of its own. When none exist for a file type, use onlyruleandbugevidence for that file. Never read rules from the PR head. - Draft findings limited to the three evidence kinds in category-review-rules.md. Exclude pre-existing problems and every item in the "do not report" list.
- Drop findings you cannot support with evidence, and findings with low confidence.
- Decide the response language per Response language. Automation: write the report as JSON to
result.report_pathfollowingassets/report-template.json, and copyhead_shaandbase_shafrom detectresult.head_sha/result.base_sha; a missing or stalehead_shamakes the platform refuse to post. Interactive: whenagent_edit_allowedisfalse, present the findings in chat and write no file; whenagent_edit_allowedistrue, write the same JSON to the path the user names, withhead_sha/base_shafromgh pr view. - Do not post. Do not run
gh pr review,gh pr comment,gh apiwrite calls, or any engine--commentoption.ghis read-only here.
Error Handling
| Condition | Severity | Action |
Detect status: error | Fatal | Stop; write no report |
Detect skip: true | Info | Report skip reason; write no report |
agent_edit_allowed: false | Info | Survey only; write no file |
agent_edit_target not report | Recoverable | Survey only; note expected agent_edit_target: report |
| PR intent cannot be read (body, Issue) | Recoverable | Record none in premises; keep only findings that stand on their own |
| Quote cannot be found verbatim at base | Recoverable | Drop the finding; do not paraphrase |
| User asks to fix or implement the feedback | Info | Do not edit files; point to github-pr-revise and stop |
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.

