pr-reviewer
Skill12 starsChanged 4 months agoApache-2.0View on GitHub
Review gate for correctness, reuse, and simplification. Produces a structured verdict with actionable findings. Trigger on any PR before merge, or on any agent-generated code before it is committed.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- wtsi-hgi/agentskillstheir own version, first seen Oct 4, 2026
- k3ybladewielder/skillstheir own version, first seen Sep 20, 2026
- gspencergoog/skillstheir own version, first seen Sep 8, 2026
- bmaltais/skillstheir own version, first seen Sep 6, 2026
- codebygarv/Ai-skillstheir own version, first seen Aug 16, 2026
- idavidov13/agentic-playwrighttheir own version, first seen Aug 13, 2026
Used with
Projects with it also use skill-creator.
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.
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- idavidov13/agentic-playwright★ 222same name
- proflead/codex-skills-library★ 153same name
- glincker/claude-code-marketplace★ 37same name
- codebygarv/Ai-skills★ 26same name
- gvre/skills★ 7same name
- k3ybladewielder/skills★ 4same name
- bang9/claude-code-settings★ 2same name
- gspencergoog/skills★ 2same name
- mattstruble/skills★ 2same name
- ArcQian-bit/codex-real-engineer-skills★ 1same name
5 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 repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adk-expertSkill
- adversarial-gateSkill
- cloud-checkupSkill
- cloud-expertSkill
- cost-guardrailSkill
- delivery-orchestratorSkill
- domain-validatorSkill
- frontend-performance-auditSkill
- get-it-doneSkill
- github-managerSkill
- governance-guardrailSkill
- mcp-server-scaffoldSkill
- operating-model-bootstrapSkill
- plugin-submissionSkill
- release-managerSkill
- release-readinessSkill
- sitrepSkill
- spec-first-deliverySkill
- system-performance-guardrailSkill
- the-architectSkill
- using-the-harnessSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before merging any PR
- Distinctive: line 15
When reviewing agent-generated code before committing
- Distinctive: line 16
When a significant refactor or new feature is complete
- Distinctive: line 52
BLOCKING: must be fixed before merge (correctness bugs, security issues)
- Distinctive: line 57
Approve: no BLOCKING findings
- Distinctive: line 58
Approve with comments: no BLOCKING findings, SUGGESTED improvements noted
“Common” is measured: kept by at least 6 in 10 of the 15 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
PR Reviewer
Receipts, not polish. A review that says "looks good" is not a review. A review that says "line 47 will panic on a nil pointer and here is the fix" is a review.
This skill runs a structured code review and produces a verdict: approve, approve with comments, or request changes. Every finding is actionable. No findings without evidence.
When to use
- Before merging any PR
- When reviewing agent-generated code before committing
- When a significant refactor or new feature is complete
- As part of the
release-readinesschecklist
Procedure
- Scope the review — fetch the diff. Identify:
- Files changed and their purpose
- The stated intent of the PR (what problem does it solve?)
- Any linked spec, issue, or ADR
- Correctness pass — look for bugs, not style:
- Null / nil / undefined access on values that could be absent
- Off-by-one errors in loops or index operations
- Error returns that are silently ignored
- Race conditions if the code is concurrent
- Missing input validation at trust boundaries (user input, external API responses)
- Logic that diverges from the stated intent of the PR
- Reuse pass — look for duplication:
- Does this code reimplement something that already exists in the codebase?
- Is there a stdlib or already-installed dependency that does this?
- Can the new code be expressed using an existing abstraction?
- Simplification pass — look for unnecessary complexity:
- Can this be fewer lines without losing clarity?
- Is there an abstraction that has only one implementation? (remove it)
- Is there a dependency added for something a few lines of code would do?
- Is there "scaffolding for later" that should not exist yet?
- Security and data boundary pass — look for:
- Secrets or credentials in code or logs
- User-controlled input reaching a shell, SQL query, or file path without validation
- Data crossing a tenant or trust boundary without an explicit check
- Missing authentication or authorisation checks on new endpoints
- Classify findings:
- BLOCKING: must be fixed before merge (correctness bugs, security issues)
- SUGGESTED: improvement worth making but not a blocker (simplification, reuse)
- NOTE: observation for awareness, no action required
- Produce the verdict:
- Approve: no BLOCKING findings
- Approve with comments: no BLOCKING findings, SUGGESTED improvements noted
- Request changes: one or more BLOCKING findings
Outputs
- Finding list: location | severity | description | suggested fix
- Verdict: Approve / Approve with comments / Request changes
Independent second reviewer (on demand)
The writer never approves its own work. Before merging, get a verdict from a different model or a fresh reviewer subagent: scripts/review-gate.sh --pr N (Gemini 3.8 flash high via the agy or gemini CLI; posts the verdict on the PR) or --staged for what the next commit will contain. It is on demand, not a hook default, because teams work on different machines; a clone can opt in with git config review.gate async|block. A changed candidate gets a fresh review; VERDICT: NONE (lane unavailable) is never an approval.
Guardrails
- Every BLOCKING finding must have a suggested fix. "This is wrong" is not actionable.
- Style is not a BLOCKING finding. Style enforcement belongs in the linter, not the review.
- Reuse requires evidence. "This might already exist" is not a finding. Find it or drop the comment.
- The review is not a rewrite. Surface the issues; let the author fix them.
See also: REFERENCE.md for a quick lookup of common patterns and their preferred alternatives.
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.

