Pr reviewer
Skill jpantsjoha/ai-native-developer-experience/.agents/skills/pr-reviewer
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.From its SKILL.md
npx -y skills add jpantsjoha/ai-native-developer-experience --skill pr-reviewerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, 732 tokens by cl100k_base, as published. Nobody here has run it
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
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.
What ships with it: 1 file
1.5 KB alongside SKILL.md
- REFERENCE.md1.5 KB
Gives 0 of the 12 instructions most review quality skills give in 732 tokens
Counted across 1,273 of the 2,403 authors here whose files we hold, read 2026-09-06
- Ask one question at a timein 63 of 1273, across 62 files
- Provide a recommended answer for each questionin 47 of 1273, across 45 files
- Rank findings by severityin 44 of 1273
- Use parameterized queries for database accessin 38 of 1273, across 20 files
- Validate all user input with schemasin 33 of 1273, across 15 files
- Store secrets in environment variablesin 32 of 1273, across 14 files
- Explore the codebase to answer questionsin 31 of 1273, across 29 files
- Store tokens in httpOnly cookiesin 30 of 1273, across 12 files
- Implement rate limiting on API endpointsin 30 of 1273, across 12 files
- Sanitize user-provided HTMLin 29 of 1273, across 11 files
- Return generic error messages to usersin 28 of 1273, across 10 files
- Cite file and line for every findingin 28 of 1273, across 25 files
Said here and by no other author read
- Fetch the diff to scope the review
- Identify the stated intent of the changes
- Identify code duplication and reuse opportunities
- Simplify unnecessary complexity
- Verify security and data boundary integrity
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.