pr-review

Analyze GitHub pull request diffs and post inline review comments via gh CLI.

4|7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/arbisoft/ai-skillforge --skill pr-review-arbisoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/arbisoft/ai-skillforge/tree/main/Claude/skills/pr-review
Command: npx skills add https://github.com/arbisoft/ai-skillforge --skill pr-review-arbisoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review GitHub pull requests and post inline code review comments using the gh CLI. Use when the user asks to review a PR, provides a PR link, or wants automated code review with inline feedback on a pull request.

Core Features & Use Cases

  • Review a GitHub pull request, analyze the diff, and post inline review comments using gh.
  • Prerequisites: gh CLI must be installed and authenticated.
  • Workflow: resolve PR formats, fetch PR metadata, fetch the diff, analyze changes for correctness, security, performance, maintainability, testing, and style, then post the review payload as comments on the PR.

Quick Start

Provide an inline code review for the given PR using the gh CLI and post qualified comments to the PR.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate GitHub pull request reviews with inline comments?

To automate GitHub pull request reviews, this Skill retrieves the PR diff via gh CLI, analyzes code changes for correctness and security, then posts structured inline comments directly to the pull request.

Do I need the gh CLI installed and authenticated to review pull requests?

Yes, you need the gh CLI installed and authenticated. The Skill enforces these prerequisites before fetching PR metadata, retrieving diffs, and submitting the final payload to post review comments on GitHub.

What aspects of a pull request diff are analyzed during an automated code review?

Automated code review analyzes the pull request diff across multiple facets including correctness, security, performance, maintainability, testing, and style before generating and posting structured inline feedback.

Can I review a GitHub pull request using just the PR URL or reference?

Yes, you can provide a PR URL or reference. The Skill resolves various PR formats, fetches the corresponding metadata and diff, performs multi-faceted change analysis, and posts inline review comments using gh CLI.

What's the best way to post structured code review feedback on a GitHub PR?

The best way to post structured code review feedback is to analyze the diff programmatically and submit a formatted payload via gh CLI, which posts qualified inline comments directly on the specific lines changed.