Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 89
  • 3.8k stars
  • MPL-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-prs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install review-prs in Claude Code

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

A

No 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 →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

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.

review-prs Install

Add to stack

Loading.