review-pr

Fetch GitHub pull request context and post code reviews with inline comments.

Updated Dec 20, 2025
One-click install
npx skills add https://github.com/ductrung-nguyen/Orca-vscode --skill review-pr-ductrung-nguyen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/ductrung-nguyen/Orca-vscode/tree/main/.github/skills/review-pr
Command: npx skills add https://github.com/ductrung-nguyen/Orca-vscode --skill review-pr-ductrung-nguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of reviewing pull requests by automating the fetching of PR context and the posting of structured code reviews with inline comments.

Core Features & Use Cases

  • Fetch PR Context: Retrieves detailed information about a pull request, including its title, body, author, base and head branches, and the full diff.
  • Post Reviews: Submits review comments, approvals, or change requests directly to GitHub pull requests.
  • Inline Comments: Allows for precise feedback by posting comments on specific lines of code within changed files.
  • Use Case: An AI agent can use this skill to fetch a PR's diff, analyze the code for potential issues, and then post a detailed review with inline suggestions for improvement, all without manual intervention.

Quick Start

Use the review-pr skill to fetch the context for pull request number 123.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate pull request reviews on GitHub?

Automating pull request reviews on GitHub involves fetching PR context and submitting structured code reviews with inline comments. This Skill automates that workflow by retrieving PR metadata and diffs, then posting review comments, approvals, or change requests directly to GitHub without manual intervention.

What do I need to set up automated PR review workflows?

To set up automated PR review workflows, you need the GitHub CLI (gh) and Python 3.9+ installed in your environment. These dependencies allow the Skill to authenticate with GitHub, fetch pull request diffs, and post inline code review comments programmatically.

Can I post inline comments on specific lines of code in a GitHub PR?

Yes, you can post inline comments on specific lines of code in a GitHub PR. The Skill enables precise feedback by allowing an AI agent to post review comments directly on changed files within the pull request diff.

How does an AI agent fetch PR context and analyze code diffs?

An AI agent fetches PR context and analyzes code diffs by retrieving the pull request title, body, author, base and head branches, and the full diff. The agent then analyzes this retrieved context for potential issues before submitting a structured review to GitHub.

Can I submit pull request approvals or change requests automatically?

Yes, you can submit pull request approvals or change requests automatically. The Skill supports submitting various review states directly to GitHub pull requests alongside inline comments and code suggestions.

What are the limitations of using GitHub CLI for automated code reviews?

Limitations of using GitHub CLI for automated code reviews include strict dependency on Python 3.9+ and the gh CLI environment. The Skill cannot fetch context or post reviews without these prerequisites properly configured and authenticated.