Pull Request Review

VerifiedSafe

Review a pull request using Claude's native code-review skill. Supports automatic detection of current branch PR or manual entry of PR number/URL.

Sby Skills Guide Bot
DevelopmentIntermediate
7/24/2026
Claude Code
#pull-request#code-review#github#gitlab#automation

Recommended for

Automated summary

Reviews a pull request by auto-detecting the current branch's PR or accepting a PR number/URL, then invoking a native code-review skill or falling back to a subagent review.

Strengths

  • Zero confirmation and zero questions for efficient workflow.
  • Supports auto-detection for GitHub and GitLab.
  • Falls back to a local subagent review if the native skill is unavailable.
  • Respects a performance budget to minimize API calls.

Limitations

  • Only supports GitHub and GitLab for auto-detection; Bitbucket requires manual URL.
  • Requires the 'gh' or 'glab' CLI to be installed.
  • The native code-review skill may not be available in all environments.
When to use it

Use when you need a quick, automated code review of a pull request without manual intervention.

When not to use it

Do not use if you need to customize the review checklist extensively or if you are working with a provider not supported by auto-detection and you lack the PR URL.

Security analysis

Safe
Quality score88/100

The skill only reads PR information using standard CLI tools and invokes a code-review skill. No destructive or exfiltrating actions are instructed.

No concerns found

How this analysis is made

Examples

Auto-detect PR
/review
Review PR by number
/review 42
Review PR by URL
/review https://github.com/org/repo/pull/42

/review - Pull Request Review

Review a PR using Claude's native code-review skill. Auto-detects current branch PR or accepts PR number/URL.

Trigger

/review [pr-number-or-url]

Configuration

Reads mustard.json from the project root for git.provider.

| Provider | CLI | PR detection | |----------|-----|--------------| | github | gh | gh pr view --json number,url | | gitlab | glab | glab mr view |

Behavior

  • ZERO confirmations — detect PR, invoke review, done.
  • ZERO questions — auto-detect if no argument provided.

Step 1 — Resolve PR

If argument provided

  • Numeric → treat as PR number
  • URL → use directly

If no argument

gh pr view --json number,url,title,headRefName 2>/dev/null

If no PR found for current branch → error:

No open PR found for current branch. Run /git merge first to create one.


Step 2 — Invoke Code Review

Use the Skill tool to invoke Claude's native code-review:

Skill({
  skill: "code-review",
  args: "<pr-number-or-url>"
})

If the native code-review skill is not available, fall back to local review:

Task({
  subagent_type: "general-purpose",
  model: "opus",
  description: "Review: PR <number>",
  prompt: "Review the changes in the current branch against $PARENT. Checklist: SOLID, Security, Performance, Patterns, Integration."
})

Step 3 — Report

Present the review results as returned by the skill/agent.


Provider Support

| Provider | Auto-detect | Manual URL | |----------|-------------|------------| | GitHub | gh pr view | yes | | GitLab | glab mr view | yes | | Bitbucket | no | yes |


Rules

  • NEVER ask for confirmation before invoking the review
  • NEVER attempt both Skill and Task — try Skill first, fall back only if unavailable
  • ALWAYS use the PR number or URL directly — do NOT pass branch names to the skill
  • If provider CLI is missing, instruct the user to install it; do NOT improvise

Examples

/review              # Auto-detect PR for current branch
/review 42           # Review PR #42
/review https://github.com/org/repo/pull/42

Performance Budget

  • Max Bash calls: 1 (PR detection)
  • Max Skill/Task calls: 1
  • Max API calls total: ≤ 4

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/pull-request-review-mrwakeiz/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/pull-request-review-mrwakeiz' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/pull-request-review-mrwakeiz/download' --output '.skill-downloads/pull-request-review-mrwakeiz/SKILL.md.part' && mv '.skill-downloads/pull-request-review-mrwakeiz/SKILL.md.part' '.skill-downloads/pull-request-review-mrwakeiz/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/pull-request-review-mrwakeiz/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills