pr-review
Skill1 starsChanged 9 months agoMITView on GitHub
Review a GitHub PR using GitHub Copilot CLI locally. No external API needed - uses your Copilot subscription.
- Installs packages
195 other projects use a version of this.
Adopted by
Most recently taken up by
- IntelRealSense/librealsensetheir own version, first seen Nov 16, 2026
- wikimedia/wikipedia-iostheir own version, first seen Nov 16, 2026
- realsenseai/librealsensetheir own version, first seen Nov 16, 2026
- minio/skillstheir own version, first seen Nov 16, 2026
- lumlaolao/spike-evaltheir own version, first seen Nov 16, 2026
- neomjs/neo-agent-skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use clack-cli-patterns, drag-to-reorder 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.
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 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
- +7 more from openchamber
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 106ksame name
- rtk-ai/rtk★ 87ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 36ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 18ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
185 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 repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-gmailSkill
- add-mcp-skeletonSkill
- add-parallelSkill
- add-telegramSkill
- add-telegram-swarmSkill
- add-voice-transcriptionSkill
- convert-to-dockerSkill
- customizeSkill
- debugSkill
- setup-macmini-24x7Skill
- setup-minimaxSkill
- setupSkill
- x-integrationSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
4
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 20
Make sure you have Copilot enabled:
- Distinctive: line 108
If you prefer, you can use the VS Code extension:
- Distinctive: line 111
Use Copilot Chat: "@copilot review this PR"
- Distinctive: line 117
No additional API costs
“Common” is measured: kept by at least 6 in 10 of the 180 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 with GitHub Copilot CLI
This skill reviews a GitHub Pull Request using GitHub Copilot CLI directly on your Mac. No external API needed.
Prerequisites
1. Install GitHub CLI
brew install gh2. Enable Copilot
Make sure you have Copilot enabled:
gh copilot --version3. Authenticate
gh auth loginUsage
Review a PR
# Review PR by number
/review-pr 123
# Review current branch PR
/review-prHow It Works
The script:
- Gets the PR diff using
gh pr diff - Sends it to
gh copilotfor review - Posts the review as a comment on the PR
Implementation
Create ~/.claude/scripts/review-pr.sh:
#!/bin/bash
set -e
PR_NUMBER="${1:-}"
if [ -z "$PR_NUMBER" ]; then
PR_NUMBER=$(gh pr view --json number -q '.number' 2>/dev/null || echo "")
fi
if [ -z "$PR_NUMBER" ]; then
echo "Error: No PR number provided"
exit 1
fi
echo "Getting PR #$PR_NUMBER info..."
# Get PR details
PR_TITLE=$(gh pr view $PR_NUMBER --json title -q '.title')
PR_URL=$(gh pr view $PR_NUMBER --json url -q '.url')
echo "Getting PR diff..."
# Get diff (limit to 50k chars for Copilot)
PR_DIFF=$(gh pr diff $PR_NUMBER --patch | head -c 50000)
echo "Asking Copilot to review..."
# Use gh copilot to review
REVIEW=$(gh copilot suggest -t "You are a senior software engineer reviewing a pull request. Review the following diff and provide feedback about bugs, security issues, code quality, and suggestions. Be concise but specific. Use markdown format." -- \
"Please review this PR diff:
**PR #$PR_NUMBER**: $PR_TITLE
**URL**: $PR_URL
\`\`\`diff
$PR_DIFF
\`\`\`
Provide a thorough code review." 2>&1)
# Post as PR comment
echo "$REVIEW" | gh pr comment $PR_NUMBER --body-file -
echo "Review posted to PR #$PR_NUMBER"Make executable:
chmod +x ~/.claude/scripts/review-pr.shAlternative: Using GitHub Copilot in VS Code
If you prefer, you can use the VS Code extension:
- Open the PR in VS Code (with GitHub Pull Requests extension)
- Use Copilot Chat: "@copilot review this PR"
- Copy the review and post as comment
Notes
- Uses your existing Copilot subscription (Pro/Business/Pro+)
- No additional API costs
- Runs locally on your Mac
- May take a moment to process large PRs
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.

