pr-code-reviewer
Skill96 starsChanged 4 months agoMITView on GitHub
Reviews a GitHub pull request or focused branch diff for correctness, regressions, security, compatibility, test gaps, and maintainability. Use when an implementation needs an independent source-aware review before merge. Produces prioritized findings with evidence and actionable fixes. Not for architecture-only audits, formatting preferences, or processing existing review feedback.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- srinidhis05/agenturatheir own version, first seen Feb 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- srinidhis05/agentura★ 9same name
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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-evaluationSkill
- api-and-interface-designSkill
- architecture-reviewSkill
- behavior-validationSkill
- branch-integrationSkill
- browser-testingSkill
- codebase-orientationSkill
- code-simplificationSkill
- completion-verificationSkill
- database-designSkill
- dispatching-parallel-agentsSkill
- documentation-and-adrsSkill
- frontend-designSkill
- implementation-planningSkill
- incident-responseSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- plan-executionSkill
- receiving-code-reviewSkill
- release-engineeringSkill
- requesting-code-reviewSkill
- root-cause-debuggingSkill
- safe-migrationsSkill
- security-and-hardeningSkill
- solution-designSkill
- subagent-driven-developmentSkill
- technical-researchSkill
- test-driven-developmentSkill
- test-strategySkill
- ui-ux-reviewSkill
- using-git-worktreesSkill
- using-godmodeSkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
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 20
Read the PR description, linked requirements, acceptance criteria, and relevant design or ADR material.
- Distinctive: line 26
Do not spend equal time on every file.
- Distinctive: line 30
Check, in order of likely impact:
- Distinctive: line 47
Do not report pure style or personal preference unless the repository enforces it or the style creates a concrete defect risk.
- Distinctive: line 52
Every finding must have:
- Distinctive: line 60
Before reporting a finding, inspect enough surrounding code to rule out a false positive.
- Distinctive: line 81
If no actionable findings remain, say so explicitly and still report important coverage gaps or verification limits.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Code Reviewer
Review the change, not the author's intent. Prefer concrete evidence from the PR diff, surrounding code, tests, history, and the stated contract.
Establish the review boundary
- Identify the base and head revisions and inspect the complete diff.
- Read the PR description, linked requirements, acceptance criteria, and relevant design or ADR material.
- Trace changed code into direct callers, consumers, persistence, external interfaces, and error paths where needed.
- Inspect changed tests and identify important behavior that remains unproved.
Do not spend equal time on every file. Follow changed behavior and risk.
Review dimensions
Check, in order of likely impact:
- Correctness: broken logic, incorrect state transitions, race conditions, error handling, invalid assumptions, and regressions.
- Security: authorization/authentication gaps, injection, secret exposure, unsafe deserialization, trust-boundary violations, and sensitive logging.
- Compatibility: public API, schema, migration, config, data-format, backward-compatibility, and rollout risks.
- Reliability: retries, timeouts, idempotency, resource cleanup, concurrency, partial failure, and observability.
- Performance: avoidable hot-path work, unbounded operations, N+1 access, excessive allocations, or latency changes supported by the code path.
- Tests: missing regression coverage, assertions that cannot fail for the defect, brittle tests, and gaps at important boundaries.
- Maintainability: misleading ownership, duplicated policy, hidden side effects, or complexity that materially raises future change risk.
Do not report pure style or personal preference unless the repository enforces it or the style creates a concrete defect risk.
Validate findings
Every finding must have:
- severity:
P0blocker,P1high,P2medium, orP3low; - precise file/line or diff location;
- the violated behavior, contract, or invariant;
- evidence explaining why the issue is real;
- a minimal, actionable fix or verification step.
Before reporting a finding, inspect enough surrounding code to rule out a false positive. Run focused tests or static checks when available. Distinguish a defect from a missing-proof finding.
Review output
Return findings in priority order. For each finding use:
[P1] path/to/file.ts:42
Problem: <what is wrong>
Evidence: <why the current implementation fails or is risky>
Fix: <smallest useful correction>Then provide:
- Verdict:
approve,approve with follow-up, orrequest changes. - Coverage gaps: important behavior not directly proven.
- What was checked: tests, static analysis, or other evidence.
If no actionable findings remain, say so explicitly and still report important coverage gaps or verification limits. Never call a PR safe solely because CI is green.
Completion condition
The review is complete when the changed behavior has been inspected in context, high-risk paths have evidence, findings are prioritized and actionable, and remaining uncertainty is explicitly stated.
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.

