review-pr

Reviews GitHub pull requests by fetching PR context and running code review against the merge-base.

3|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/MaxWolf-01/agents --skill review-pr-maxwolf-01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/MaxWolf-01/agents/tree/main/mx/skills/review-pr
Command: npx skills add https://github.com/MaxWolf-01/agents --skill review-pr-maxwolf-01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewing an existing GitHub PR requires gathering its description, prior discussion, and diff context before any meaningful code review can happen. This Skill automates that setup so the review runs against the correct merge-base with full context. ## Core Features & Use Cases - PR Context Fetching: Pulls the PR title, description, prior comments, and base/head branches via the GitHub CLI. - Safe Checkout Handling: Clones the repo to /tmp and checks out the PR there, never switching the branch of the shared working checkout. - Merge-Base Code Review: Delegates to the code-review workflow using the PR's base branch as the fixed point and its description as the spec, passing prior review discussion so settled points are not relitigated. - Use Case: A teammate asks you to review PR #42. The Skill fetches the PR, checks it out in an isolated clone, and produces a structured review where every finding is framed as the author's call. ## Quick Start Ask the agent to review PR 42 and it will fetch the PR, check it out safely, and deliver a full code review against its merge-base.

Frequently Asked Questions about review-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a GitHub PR with an AI agent?

Provide the PR number or branch as the argument. The Skill fetches the PR title, description, and prior comments with the gh CLI, checks out the code, and runs a structured code review against the merge-base.

How does the review avoid relitigating settled PR discussion?

Prior review comments are fetched with gh pr view --comments and passed to the reviewers as context. Points already settled in the discussion are not raised again in the new review.

Does reviewing a PR change my current git branch?

No. If the PR's head branch is not already checked out, the repo is cloned fresh to /tmp and the PR is checked out there. The checkout the agent was invoked in is never switched, since other agents may share it.

What does the PR review output look like?

The report opens with a one-to-two sentence summary of what the PR does end to end, followed by findings framed as decisions for the author. A clean PR receives a short review rather than invented concerns.

What tools are required to run a PR review?

The GitHub CLI (gh) must be installed and authenticated to fetch PR metadata and check out PR branches. The review itself is delegated to the mx code-review workflow.