pr-reviewer
Skill1 starsChanged 41 days agoMITView on GitHub
Reviews changes on current branch vs base. Checks code quality, bugs, usability, and optionally spec conformance. Fixes issues via implementor subagents.
- Reads credentials
22 other projects use a version of this.
Adopted by
Most recently taken up by
- idavidov13/agentic-playwrighttheir own version, first seen Nov 8, 2026
- getpapi/papitheir own version, first seen Nov 1, 2026
- kcayme/k-agentstheir own version, first seen Nov 1, 2026
- odykyi/gh-skillstheir own version, first seen Oct 25, 2026
- archiforge/agent-crafttheir own version, first seen Oct 20, 2026
- jpantsjoha/ai-native-developer-experiencetheir own version, first seen Oct 16, 2026
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- pyuvm/pyuvm★ 574same name
- Fu-Jie/awesome-openwebui★ 326same name
- Fu-Jie/openwebui-extensions★ 326same name
- idavidov13/agentic-playwright★ 268same name
- proflead/codex-skills-library★ 153same name
- h0tp-ftw/ankimon★ 83same name
- glincker/claude-code-marketplace★ 37same name
- jpantsjoha/ai-native-developer-experience★ 13same name
- getpapi/papi★ 11same name
- tstapler/dotfiles★ 8same name
12 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 repository38 other files it gives its agents.
- agent-conductSkill
- bugfixSkill
- code-smellsSkill
- deliverSkill
- final-responseSkill
- frontend-designSkill
- go-conventionsSkill
- go-implementorSkill
- go-reviewerSkill
- go-test-strengthSkill
- implementation-principlesSkill
- nextflow-conventionsSkill
- nextflow-implementorSkill
- nextflow-reviewerSkill
- nextjs-fastapi-conventionsSkill
- nextjs-fastapi-implementorSkill
- nextjs-fastapi-reviewerSkill
- orchestratorSkill
- phase-creatorSkill
- phase-reviewerSkill
- prose-principlesSkill
- pr-resolverSkill
- python-conventionsSkill
- python-implementorSkill
- python-reviewerSkill
- spec-authorSkill
- spec-proofreaderSkill
- spec-reviewerSkill
- spec-writerSkill
- subagentsSkill
- swift-conventionsSkill
- swift-implementorSkill
- swift-reviewerSkill
- testing-principlesSkill
- tightenSkill
- unslopSkill
- verificationSkill
- writing-for-agentsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 9 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Read and follow agent-conduct, implementation-principles,
- Very specific: line 31
Before resolving base or doing any diff/lint/test, verify gh is installed and authenticated:
- Very specific: line 46
If either check fails, stop, with instructions on how to install and authenticate gh.
- Very specific: line 60
Hard rules: Never use repo default branch when a PR exists.
- Distinctive: line 67
Read full content of every modified file (not just diff hunks).
- Very specific: line 71
Use gh pr view --json number,baseRefName,headRefName,url to check for an active PR.
- Very specific: line 75
When an active PR exists, read all review comments via gh api (NOT the VS Code tool - it caps at 50 and misreports state):
- Distinctive: line 99
Unresolved PR comments: verify if current code addresses them.
- Distinctive: line 108
Use commands from the conventions skill.
- Distinctive: line 131
b. Verify the fix is correct and tests pass.
- Very specific: line 133
c. If fixing addresses unresolved PR threads, reply (fixed - ...) and resolve each thread.
- Distinctive: line 136
d. Commit each fix (single-line imperative message, max 72 chars).
- Distinctive: line 141
If there are unresolved PR threads, if step 7 fixes resolve PR threads, if checks need to be verified after a PR fix, or if the caller …
- Distinctive: line 150
After current-branch fixes and required PR work succeed, apply queue completion.
- Distinctive: line 157
Follow the rules in subagents (no direct fixes, no read-only agents for work that must change files or run tests).
- Very specific: line 165
Follow agent-conduct for pushes.
- Very specific: line 170
All commands require an installed and authenticated gh CLI.
“Common” is measured: kept by at least 6 in 10 of the 22 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 Skill
Read and follow agent-conduct, implementation-principles, testing-principles, code-smells, subagents, and the project's conventions skill before starting. Use pr-resolver for GitHub PR review comments plus CI/Copilot loops. subagents owns delegation: agent choice, briefing, skill discovery, and error handling. This skill covers only the PR-review procedure.
You examine the diff, perform a thorough review, and fix issues by delegating to implementor subagents. Establish the outermost queue owner using bugfix routing before starting; inherit a caller's owner when nested.
Input
- Base reference (optional): branch/SHA. Resolution order: caller-provided
-> active PR
base.ref-> agent-conduct Git Safety fallback. - Spec document (optional): path for conformance checking.
- Focus areas (optional): specific files or concerns.
Procedure
GitHub CLI prerequisite (mandatory)
Before resolving base or doing any diff/lint/test, verify gh is installed
and authenticated:
if ! command -v gh >/dev/null 2>&1; then
echo "GitHub CLI (gh) is not installed. Stop. Install gh from https://cli.github.com/manual/installation, then run: gh auth login" >&2
exit 1
fi
if ! gh auth status >/dev/null 2>&1; then
echo "GitHub CLI (gh) is not authenticated. Stop. Run: gh auth login. For non-interactive environments, set GH_TOKEN or GITHUB_TOKEN, then confirm with: gh auth status" >&2
exit 1
fiIf either check fails, stop, with instructions on how to install and
authenticate gh. Do not continue in local-only mode, silently skip PR data,
use curl, rely on raw tokens directly, use VS Code GitHub tools, or use the
web UI as a workaround.
0. Resolve base (mandatory)
Lock the review base before any diff/lint/test:
- Caller-provided base, OR
- PR
base.ref(query viagh pr view --json baseRefNameif needed), OR - With no PR or caller base, use the fetched base selected by agent-conduct Git Safety.
Hard rules: Never use repo default branch when a PR exists. Never diff
before base is resolved. Emit Review base resolved: <base>. If PR exists but
base.ref unavailable, stop and report failure.
1. Gather context
- Get current branch, collect
git diff <base>...HEADandgit diff HEAD. - Read full content of every modified file (not just diff hunks).
2. Check for open PR
Use gh pr view --json number,baseRefName,headRefName,url to check for an
active PR. If there is an active PR, validate the resolved base matches PR
base.ref. If there is no active PR, skip PR comment handling.
When an active PR exists, read all review comments via gh api (NOT the
VS Code tool - it caps at 50 and misreports state):
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginateNote unresolved threads as additional review items.
3. Code review
For every changed file, assess:
- Quality: Apply all rules from implementation-principles and the project's conventions skill.
- Design: Match the changed code against code-smells. Each hit is a judgement call unless a convention or an implementation-principles rule makes it blocking.
- Bugs: races, resource leaks, off-by-one, nil derefs, goroutines without
exit paths, missing
await, unvalidated external data. - Usability: Are features actually usable end-to-end (not just mocked)? Clear CLI help/error messages? Edge cases handled?
- Test quality: Meaningful assertions? Faithful mocks? Adequate coverage? Conforms to testing-principles and conventions?
- Unresolved PR comments: verify if current code addresses them.
4. Spec conformance (if spec provided)
Launch a reviewer subagent with the reviewer + conventions skill paths, spec path, and modified files list.
5. Run linters and tests
Use commands from the conventions skill. Note failures. Apply user-path verification to changed behaviour, refreshing affected proof after subsequent fixes.
6. Compile findings
Numbered list ordered by severity (bugs > quality > style). Each finding: file/lines, category, description, suggested fix. Apply bugfix routing to every finding; record independent issues before continuing and keep required gate blockers in the current work. If no current-branch findings remain, continue at step 8 for PR thread handling before completion.
7. Fix issues
For each finding routed to the current branch:
a. Launch an implementor subagent with: implementor + conventions + testing-principles skill paths, the specific finding (file, lines, description, fix), surrounding context, and "Fix this issue. Follow TDD cycle and testing-principles. Run linters. Confirm tests pass."
b. Verify the fix is correct and tests pass. Retry if needed.
c. If fixing addresses unresolved PR threads, reply (fixed - ...) and
resolve each thread.
d. Commit each fix (single-line imperative message, max 72 chars). Batch purely cosmetic fixes into one style-cleanup commit.
8. PR comments
If there are unresolved PR threads, if step 7 fixes resolve PR threads, if checks need to be verified after a PR fix, or if the caller specifically asks to address PR review comments, switch to pr-resolver for thread triage, replies, resolution, and CI/Copilot push handling. Direct human requests are requirements; human questions and Copilot suggestions are review input that may be resolved with a clear no-code explanation when appropriate.
9. Complete or return to caller
After current-branch fixes and required PR work succeed, apply queue completion. A nested review returns pending references without processing them; the outermost owner drains them. A blocked review reports the pending references.
Rules
- Follow the rules in subagents (no direct fixes, no read-only agents for work that must change files or run tests).
- Route every finding; recorded independent handoffs are not review failures.
- One fix per commit (cosmetic batches excepted).
- Reply+resolve PR threads before committing fixes that address them.
ghis mandatory. If it is not installed or authenticated, stop, with instructions on how to install and authenticategh; do not attempt workarounds.- Follow agent-conduct for pushes. This skill normally delegates PR push/check/review loops to pr-resolver.
Appendix: GitHub API Recipes
All commands require an installed and authenticated gh CLI. If gh is not
installed or gh auth status fails, stop, with instructions on how to install
and authenticate gh. Do not fall back to curl, raw token calls, VS Code
GitHub tools, or the web UI.
Verify GitHub CLI
command -v gh >/dev/null 2>&1
gh auth status >/dev/null 2>&1Fetch PR comments
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginateRoot comments only:
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginate \
--jq '[.[] | select(.in_reply_to_id == null)] | .[] | "\(.id) \(.path) \(.body[:80])"'Reply to thread
gh api repos/{owner}/{repo}/pulls/{number}/comments \
-f body='fixed - <description>' -F in_reply_to=<comment_id>Resolve thread (GraphQL)
Get thread node IDs:
gh api graphql -f query='{
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {number}) {
reviewThreads(last: 100) {
nodes { id isResolved comments(first: 1) { nodes { databaseId path } } }
}
}
}
}'Resolve:
gh api graphql -f query='mutation {
resolveReviewThread(input: {threadId: "{thread_node_id}"}) {
thread { isResolved }
}
}'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.

