review-pr

Reviews GitHub pull requests via gh CLI and posts findings as PR comments.

Updated Oct 2, 2025
One-click install
npx skills add https://github.com/YuriiYInno/Innogram --skill review-pr-yuriiyinno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/YuriiYInno/Innogram/tree/main/.codex/skills/review-pr
Command: npx skills add https://github.com/YuriiYInno/Innogram --skill review-pr-yuriiyinno

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewing pull requests manually requires switching between GitHub, local branches, and notes, making it easy to miss bugs, security issues, or duplicated feedback. This Skill automates PR context gathering, structured diff analysis, and review submission through the GitHub CLI. ## Core Features & Use Cases - Automated PR Context Gathering: Fetches PR metadata, full diffs, and existing review comments using gh commands to avoid duplicate feedback. - Structured Issue Triage: Classifies findings into Critical, Major, Minor, and Positive notes with file and line references. - Actionable Follow-Up: Lets you either fix issues locally via the systematic-debugger skill or post summary and inline comments back to the PR with COMMENT, REQUEST_CHANGES, or APPROVE events. - Use Case: A teammate asks you to review PR #42. The Skill pulls the diff, flags an inverted condition in auth logic as Critical, then posts an inline comment on the exact line and requests changes on the PR. ## Quick Start Ask the assistant to review pull request number 42 in this repository and summarize any critical or major issues found.

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 pull request from the command line?▼

Use the gh CLI to fetch PR metadata with gh pr view, the diff with gh pr diff, and existing comments to avoid duplicates. This Skill automates those steps, analyzes the changes, and presents findings organized by severity.

How to post inline comments on specific lines of a GitHub PR?▼

Use the GitHub API via gh api to create a review with a comments array specifying path, line, and body for each issue. Line numbers must reference the new version of the file from the diff hunk context.

Does this PR review workflow require the GitHub CLI?▼

Yes, the gh CLI must be installed and authenticated before reviewing. If commands fail with auth errors, run gh auth status to diagnose and gh auth login to fix the authentication.

Can I fix issues found in a PR review locally?▼

Yes, after the review you can check out the PR branch with gh pr checkout and hand off to the systematic-debugger skill to investigate and fix the identified bugs. This works for your own PRs or branches you can push to.

What review event types can I submit on a GitHub PR?▼

GitHub supports three review events: COMMENT for neutral feedback, REQUEST_CHANGES to block the PR until addressed, and APPROVE to approve it. The default is COMMENT unless you explicitly choose otherwise.