review-pr-local

Review GitHub PRs from the main repository using gh CLI commands.

5|1|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/ncukondo/reference-manager --skill review-pr-local
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr-local
Source: https://github.com/ncukondo/reference-manager/tree/main/.claude/skills/review-pr-local
Command: npx skills add https://github.com/ncukondo/reference-manager --skill review-pr-local

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews a PR from the main repository without a worktree, enabling fast, local assessment of PR context and status.

Core Features & Use Cases

  • Retrieve PR context (title, author, body, additions, deletions, changedFiles) directly from the main repo.
  • Check CI status and view diffs to understand impact before merging.
  • Perform and post reviews (approve, request-changes, or comment) using gh pr commands for a deterministic local workflow.

Quick Start

Run the PR review workflow locally by using gh pr view, gh pr checks, gh pr diff, and gh pr review with the target PR number to complete a standard review from the main branch.

Frequently Asked Questions about review-pr-local

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

FAQPage Schema
How do I review a pull request locally without creating a worktree?

Review a pull request locally from the main branch by extracting context, checking CI status, and viewing diffs using gh pr view, gh pr checks, and gh pr diff commands.

Can I approve or request changes on a PR directly from my local repository?

Yes, you can post reviews, approve, or request changes locally using the gh pr review command, enabling a deterministic and repeatable pull request review workflow.

What is the best way to check CI status and diffs before merging a PR locally?

Check CI status and view diffs locally by running gh pr checks and gh pr diff with the target PR number to understand the impact before merging.

How do I get PR context like additions, deletions, and changed files without leaving the main branch?

Retrieve pull request context including title, author, body, additions, deletions, and changed files directly from the main repository using the gh pr view command.

Does local PR review work without checking out a separate git branch?

Yes, local PR review works without a worktree or checking out a separate branch, allowing fast assessment of pull request context and status directly from the main repository.