review-prs
Skill by brave
Reviews recent pull requests in a configured GitHub repository against documented best practices. Drafts comments for approval, or posts them automatically in auto mode for cron jobs.
Install review-prs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brave/brave-core /tmp/brave-core && mkdir -p ~/.claude/skills && cp -r /tmp/brave-core/agents/skills/review-prs ~/.claude/skills/review-prsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brave/brave-core /tmp/brave-core && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/brave-core/agents/skills/review-prs ~/.gemini/antigravity-cli/skills/review-prsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
review-prs is a skill that scans recent pull requests in a configured GitHub repository for violations of documented best practices. It runs in stages: a Python script fetches PRs and diffs, Sonnet subagents check the diff against rules, and Opus subagents validate candidate findings against the PR's source tree before a collector script posts inline review comments.
Interactive mode drafts comments and asks for approval before posting. Auto mode posts without approval and is designed for cron or headless runs. Without the full argument, a PR already reviewed is checked only in files that changed since the last review. It only checks PRs against existing documented best practices and never creates or changes rules during a run.
Written from the project's SKILL.md and checked against it.
What it can do
- Review open PRsScans recent open PRs by default, with a state filter of open, closed or all.
- Single PR reviewChecks one pull request given by its number, such as #12345.
- Auto modePosts violations without approval, for cron or headless runs.
- Full reviewReviews every file in each PR instead of only files changed since the last review.
- Inline review commentsPosts findings as inline reviews, capped at 5 per PR.
- Approval for clean PRsApproves PRs that have no violations and no unresolved bot threads.
- Follow-up issues for closed PRsCreates a follow-up issue to track a fix when a closed or merged PR has a violation.
What you need
- GitHub CLI (gh)
- Python 3
- A configured PR repository
- A local checkout of the target repository
Try asking
- /review-prs open
- /review-prs #12345 full
- /review-prs 7 open auto
Good to know
- Each PR worktree needs over 1 GB of disk under /var/tmp/review-prs.
- Interactive mode asks for approval before posting; auto mode posts without it.
- At most 5 inline comments are posted per PR.
- It never creates or changes best practice rules during a review run.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agents/skills/review-prs/SKILL.md, agents/skills/review-prs/chunk-best-practices.py, agents/skills/review-prs/collect-results.py, agents/skills/review-prs/discover-best-practices.py, agents/skills/review-prs/fetch-prs.py, agents/skills/review-prs/post-review.py, agents/skills/review-prs/prepare-review.py, agents/skills/review-prs/scripts/check-can-approve.py, agents/skills/review-prs/scripts/extract-pr-images.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(gh pr diff:*)
-
SKILL.md9 KB -
chunk-best-practices.py5 KB -
collect-results.py8 KB -
discover-best-practices.py5 KB -
fetch-prs.py13 KB
Show all 15 files
-
post-review.py26 KB -
prepare-review.py70 KB -
scripts/check-can-approve.py9 KB -
scripts/extract-pr-images.py15 KB -
scripts/lib/__init__.py261 B -
scripts/lib/file_lock.py3 KB -
scripts/lib/repo_lock.py955 B -
scripts/resolve-bot-threads.py10 KB -
select-candidates.py8 KB -
update-cache.py3 KB
Alternatives to review-prs
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
review-prs: common questions
Does review-prs change best practice rules?
No. The source says it must never create, modify, or add best practice rules or documentation during a review run.
Can review-prs run unattended?
Yes. Auto mode posts all violations without approval and is designed for cron or headless use.
Who posts the comments to GitHub?
Only the collector and posting scripts post. The source says subagents must never post anything to GitHub.
How do I install review-prs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is review-prs free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is review-prs safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to review-prs?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
