github-pr-review

Automate GitHub PR reviews via gh CLI with pending-review workflows.

41|8|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/aidankinzett/claude-git-pr-skill --skill github-pr-review-aidankinzett
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-review
Source: https://github.com/aidankinzett/claude-git-pr-skill/tree/main/github-pr-review/skills/github-pr-review
Command: npx skills add https://github.com/aidankinzett/claude-git-pr-skill --skill github-pr-review-aidankinzett

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines GitHub PR reviews by orchestrating gh CLI actions to draft, batch, and post reviews with code suggestions. It ensures reviews are posted only after explicit user approval, reducing mistakes under tight deadlines.

Core Features & Use Cases

  • Pending reviews by default: Always draft a pending review to batch comments before posting.
  • Code suggestions: Include actionable code changes using the standard suggestion blocks.
  • Explicit approval workflow: Show exactly what will be posted and require yes/no confirmation before posting.
  • Event type selection: Choose the appropriate event type (COMMENT, APPROVE, or REQUEST_CHANGES) based on the feedback.
  • gh api usage guidance: Use the GitHub CLI's API endpoints with proper quoting and flags to post reviews.

Quick Start

Ask Claude to review a PR, draft the comments and code suggestions, then present a preview for approval. Example: "Review PR #123 and draft comments with code changes. Show exactly what will be posted and wait for my approval before posting a pending review."

Frequently Asked Questions about github-pr-review

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

FAQPage Schema
How do I batch multiple comments into a single GitHub PR review?

Batch PR reviews by drafting all comments and code suggestions into a pending review before posting. This Skill automates the process using gh CLI to collect feedback, stage suggestions, and post them together after your explicit approval—eliminating individual comment clutter.

Can I add code suggestions to a GitHub PR review using the gh CLI?

Yes. This Skill uses gh CLI to draft code suggestions in standard suggestion blocks within pending reviews. You review the exact suggestions before posting, ensuring accuracy and giving you full control over recommended changes.

How do I prevent accidentally posting GitHub PR reviews before I'm ready?

This Skill enforces an explicit approval workflow: it shows you exactly what will be posted and requires your yes/no confirmation before posting any review. This gate prevents mistakes under deadline pressure by letting you preview and verify every detail first.

What's the difference between COMMENT, APPROVE, and REQUEST_CHANGES events in GitHub PR reviews?

COMMENT posts feedback without blocking; APPROVE signals readiness to merge; REQUEST_CHANGES requires modifications before merge. This Skill lets you select the appropriate event type for your review, matching the feedback severity to the right GitHub workflow signal.

Do I need the gh CLI installed to use this GitHub PR review automation?

Yes. This Skill requires gh CLI to interface with GitHub's API and manage pending reviews. The Skill verifies installation before running, ensuring you have the prerequisite command-line tool configured and authenticated.

Can this Skill review pull requests across multiple repositories?

Yes. The pending review workflow applies to PR review processes across repositories. You can use this Skill to draft, batch, and post reviews consistently, whether reviewing in a single repo or multiple projects with the same approval-first approach.