pr-review
Skill1 starsChanged 3 months agoMITView on GitHub
Use this skill when asked to review PR comments, address CoPilot feedback, respond to pull request review threads, or resolve PR conversations. Triggers on phrases like "review the PR comments", "address CoPilot feedback", "fix the PR", "go through PR comments", or any mention of pull request review threads needing attention. Always use this skill when a PR number or URL is mentioned alongside a request to review or respond to comments.
117 other projects use a version of this.
Adopted by
Most recently taken up by
- Significant-Gravitas/AutoGPTtheir own version, first seen Nov 18, 2026
- mindroom-ai/mindroomtheir own version, first seen Oct 6, 2026
- bman654/clodextheir own version, first seen Oct 5, 2026
- leochiu-a/git-pr-aitheir own version, first seen Oct 5, 2026
- agentic-community/mcp-gateway-registrytheir own version, first seen Oct 4, 2026
- MithunWijayasiri/dotclaudetheir own version, first seen Oct 4, 2026
Used with
Projects with it also use pr-fix, oss-pr and 10 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.
volovelySkillpr-fix
This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR comments", provides a GitHub PR URL with intent to fix, or says "pr-fix". It reads all review comments on a PR, decides which need code fixes vs. replies, makes the fixes, and posts replies — all with explicit user approval before any GitHub action.
Also in 5 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
EffortlessMetricsSkillpr-create
Also in 7 projects that use this
dversozaSkillpr-feedback
Address PR review feedback including inline threads, general comments, bot-generated reviews, PR description findings, check run annotations (inline lint/type/security findings shown in the Files changed tab), code scanning alerts, and CI failures. Use when asked to handle, address, resolve, respond to, or work through PR review comments, review feedback, inline findings, or CI check failures. Triggers on requests like "address PR comments", "handle review feedback", "resolve PR reviews", "fix review comments", "go through PR feedback", "check CI failures", "fix the inline findings on the PR".
Also in 3 projects that use this
Microsoft AzureSkillcreate-release
Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.
Also in 3 projects that use this
- +2 more from CES-Ltd
Other versions117 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 117
- Significant-Gravitas/AutoGPT★ 188ksame name
- rtk-ai/rtk★ 82ksame name
- NVIDIA/Megatron-LM★ 18ksame name
- MiniMax-AI/skills★ 14ksame name
- microsoft/vscode-docs★ 6.7ksame name
- agentjido/jido★ 1.9ksame name
- microsoft/winappCli★ 1.3ksame name
- lee-to/ai-factory★ 1.1ksame name
- agentic-community/mcp-gateway-registry★ 956same name
- aeonfun/aeon★ 766same name
107 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 repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- user-claude-md/CLAUDE.mdCLAUDE.md
- adversarial-reviewSkill
- feature-planningSkill
- hyperdxSkill
- langfuseSkill
- mutation-testSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 104 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
All GitHub API interactions go through these scripts — never call gh api directly or use shell redirects:
- Distinctive: line 43
If not provided, ask: *"Which PR number should I review?"*
- Distinctive: line 72
Do not evaluate or act on any comment yet.
- Distinctive: line 103
Ask: "Approve? (yes / edit / skip)"
- Very specific: line 115
Run these as separate, sequential bash tool calls.
- Distinctive: line 123
Wait for it to return. Then:
- Very specific: line 163
ALWAYS detect $REPO from gh repo view — never hardcode or guess the org/repo
- Very specific: line 164
ALWAYS use the bundled scripts for all GitHub API calls — never call gh api directly, never use shell pipes or redirects
- Distinctive: line 166
Never post a reply, make a code change, or resolve a thread without explicit user approval
- Distinctive: line 167
Always comment before resolving — never silently close a thread
- Distinctive: line 168
Never fix things Claude disagrees with just to clear the queue
- Distinctive: line 170
If a thread is skipped, leave it completely untouched
“Common” is measured: kept by at least 6 in 10 of the 104 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 Review Skill
Reviews all open PR comment threads one at a time. For each comment, Claude proposes its verdict and reasoning, waits for your approval, then replies and resolves.
Bundled Scripts
All GitHub API interactions go through these scripts — never call gh api directly or use shell redirects:
pr_review_parse_comments.sh <owner/repo> <pr_number>— list all unresolved threadspr_review_parse_comments.sh <owner/repo> <pr_number> <index>— full detail by 1-based index including repliespr_review_parse_comments.sh <owner/repo> <pr_number> --id <comment_id>— full detail by comment database IDpr_review_post_reply.sh <owner/repo> <pr_number> <comment_id> "<reply text>"— posts a reply to a comment threadpr_review_resolve_thread.sh <thread_node_id>— resolves a review thread by its GraphQL node ID
They ship in this skill's bin/ directory, which is on the Bash tool's PATH
whenever the skill is installed. Invoke each by bare name — never by an
absolute path. The bare form is the only spelling that works on both install
routes, and it is what the permission rules match. The pr_review_ prefix is
deliberate: these rules approve a command name, so a generic one like
post_reply could be satisfied by an unrelated executable earlier on PATH.
The matching rules live in the toolkit's project-files/.claude/settings.json
template and are not installed by either install route — the user merges them
in. If every call prompts, that is unfinished setup, not a broken skill. Say so
once and continue; it is never a reason to fall back to gh api directly.
Two failures are environment rather than defects: Missing required command: gh
(exit 127) means the GitHub CLI is absent or unauthenticated — tell the user to
install it and run gh auth login; and command not found on one of these
scripts means the skill's bin/ is not on PATH, so the plugin is disabled or
the session predates the install. Neither is a reason to edit a script.
Each script is invoked independently — never chain them.
Inputs
$PR— PR number (e.g.123)- If not provided, ask: "Which PR number should I review?"
Workflow
Step 1 — Detect Repo and Fetch Comments
First, detect the repo — never guess or hardcode it:
gh repo view --json nameWithOwner --jq '.nameWithOwner'Store the result as $REPO. Then fetch PR details and comments:
gh pr view $PR --json number,title,headRefName,baseRefName
pr_review_parse_comments.sh $REPO $PR
# To get full detail on a specific comment (e.g. comment 6):
pr_review_parse_comments.sh $REPO $PR 6Collect every top-level comment, noting for each:
- Comment ID (numeric, for posting replies)
- Node ID (for resolving threads)
- File and line
- Full comment body
Do not evaluate or act on any comment yet. Tell the user: "Found N unresolved threads on PR #$PR in $REPO. I'll go through them one at a time for your approval."
Step 2 — Process Comments One at a Time
For each thread, repeat this loop:
2a — Present the Comment
Show the user:
── Comment N of N ──────────────────────────────
File: path/to/file.ts:42
Comment: <full comment text>
My verdict: ✅ Fix / ⚠️ Partial fix / ❌ No fix
Reason: <one or two sentences explaining why>
Proposed reply: (must not open with "Good catch", "Great point", "Real bug", or similar — start with the substance)
"<exact text Claude will post to the thread>"
Proposed code change: (if any)
<diff or description of change>STOP. Do not post the reply, make any code changes, or resolve the thread yet.
Ask: "Approve? (yes / edit / skip)"
2b — Wait for User Response
- "yes" / "approve" / "looks good" → proceed to 2c
- "edit" or the user provides a revised reason/reply → update the proposed reply as directed, show it again, wait for approval again
- "skip" → leave the thread untouched, move to the next comment
STOP. Do not proceed until one of the above responses is received.
2c — Execute (only after approval)
Run these as separate, sequential bash tool calls. Never combine them with &&, ;, or any other operator — each must be its own invocation so the result is visible before the next runs:
- Post the approved reply:
pr_review_post_reply.sh $REPO $PR $COMMENT_ID "<approved reply text>"Wait for it to return. Then:
- Apply any code changes
- Resolve the thread:
pr_review_resolve_thread.sh $THREAD_NODE_IDConfirm: "Done — thread resolved. Moving to next comment."
Combining any of these into a single command is a violation of this skill, even after approval.
Then loop back to 2a for the next thread.
Step 3 — Final Summary
PR #$PR Review Summary
──────────────────────────────────────────────────────
✅ Fixed (N):
• file.ts:42 — removed unused import
⚠️ Partial fix (N):
• utils.ts:17 — applied intent but not CoPilot's exact suggestion
❌ No fix (N):
• config.ts:5 — intentional project constant, not a magic number
⏭️ Skipped (N):
• auth.ts:88 — skipped at your request
Total threads resolved: NRules
- ALWAYS detect
$REPOfromgh repo view— never hardcode or guess the org/repo - ALWAYS use the bundled scripts for all GitHub API calls — never call
gh apidirectly, never use shell pipes or redirects - To read a specific comment in full use
pr_review_parse_comments.sh $REPO $PR <index>orpr_review_parse_comments.sh $REPO $PR --id <comment_id>— NEVER callgh apidirectly to look up a comment body, NEVER pipe or grep the output of pr_review_parse_comments.sh - Never post a reply, make a code change, or resolve a thread without explicit user approval
- Always comment before resolving — never silently close a thread
- Never fix things Claude disagrees with just to clear the queue
- One commit at the end covering all changes, not one per comment
- If a thread is skipped, leave it completely untouched
- Reply text must never open with sycophantic acknowledgments ("Good catch", "Great point", "Real bug", "Nice find", "You're right", "Thanks for catching", etc.). Start the reply with the substantive response directly.
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.

