pr-review

Fetch, group, and resolve GitHub PR review threads via GraphQL and GitHub CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Addressing pull request (PR) review comments can be a chaotic and time-consuming process, often leading to missed feedback, inconsistent fixes, and prolonged review cycles. This skill provides a structured, AI-assisted workflow to efficiently manage and resolve all review feedback.

Core Features & Use Cases

  • Comprehensive Comment Fetching: Automatically retrieves all unresolved PR comments, ensuring no feedback is overlooked.
  • Structured Decision Making: Presents each issue with clear options and recommendations, allowing you to make informed decisions before any code changes are made.
  • Automated Implementation & Resolution: Implements all chosen fixes in a single, coherent commit, and automatically replies to and resolves each comment on GitHub, saving significant manual effort.
  • Use Case: You've received extensive feedback on a critical PR. Instead of manually sifting through comments and making piecemeal changes, you activate this skill. It presents a prioritized list of issues, helps you decide on the best approach for each, and then executes all fixes, updates GitHub, and prepares a comprehensive commit, allowing you to focus on high-level strategy.

Quick Start

Use the pr-review skill to address all review comments on pull request #123.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I systematically resolve all pull request review comments?

Resolve PR review comments systematically by fetching unresolved threads, grouping them, presenting decision options, and implementing all fixes in a single commit. This workflow ensures no feedback is missed and reduces manual back-and-forth cycles.

Can I automate GitHub pull request comment handling with the GitHub CLI?

Yes. Automating PR comments with the GitHub CLI and GraphQL retrieves all unresolved feedback, organizes it by category, collects your decisions, applies changes atomically, and auto-resolves threads on GitHub without manual replies.

What's the best way to batch process PR feedback instead of addressing comments one by one?

Batch process PR feedback by discovering all unresolved threads first, analyzing them together, making bulk decisions upfront, then implementing all chosen fixes in a single coherent commit, minimizing context switching and review cycles.

Do I need repository write permissions to automate PR comment resolution?

Yes. Automating PR comment resolution requires repository write permissions to implement fixes, commit changes, and auto-resolve comment threads. You also need gh and jq tools installed and configured for your GitHub account.

How does structured decision-making improve pull request review workflows?

Structured decision-making presents each review comment with clear options and AI recommendations before any code changes occur, allowing informed choices upfront rather than iterative fixes, and reducing prolonged review cycles.

What happens after I implement PR comment fixes—does the workflow verify changes?

After implementing fixes in a single commit, the workflow automatically replies to and resolves each comment thread on GitHub, then performs post-resolution verification, ensuring all feedback is addressed and tracked.