pr-review-handle

Fetch, reply to, and resolve GitHub pull request review threads via GraphQL and REST APIs.

Updated May 31, 2026
One-click install
npx skills add https://github.com/shoji9x9/skills --skill pr-review-handle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review-handle
Source: https://github.com/shoji9x9/skills/tree/main/.agents/skills/pr-review-handle
Command: npx skills add https://github.com/shoji9x9/skills --skill pr-review-handle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually handling GitHub pull request review comments is time-consuming and error-prone: it is easy to forget to reply to threads, leave comments unresolved, or apply inconsistent fixes across feedback from multiple reviewers including Copilot. This Skill eliminates those gaps by enforcing a standardized, step-by-step workflow for every review thread.

Core Features & Use Cases

  • Full Review Thread Processing: Fetches all unresolved review threads across all reviewers (including Copilot) for a given PR, with support for targeting a single specific review via review URL.
  • Context-Aware Comment Evaluation: Reads the relevant code for each comment to judge if the feedback is valid, applying fixes only when necessary and providing clear rationale for declining non-actionable suggestions.
  • Standardized Reply and Resolution: Enforces the correct order of replying to threads before resolving them, ensuring reviewers can track response history.
  • Optional Change Push: With the --push flag, stages only modified files, creates conventional commits, and pushes changes, with optional CI check verification before requesting Copilot re-review.
  • Use Case: For a development team using GitHub PRs, this Skill ensures no review feedback is missed, reduces manual follow-up work, and maintains consistent review response standards across all contributors.

Quick Start

Use the pr-review-handle skill to process all unresolved review comments for pull request 42 in the current repository, and push the fixed changes if you want to commit them.

Frequently Asked Questions about pr-review-handle

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

FAQPage Schema
How do I automate GitHub pull request review comment handling?

To automate GitHub pull request review comment handling, use this Skill to fetch unresolved threads via GitHub CLI, evaluate the code context, apply fixes, post replies, and resolve threads in a standardized workflow. It ensures no feedback is missed across all reviewers including Copilot.

What is the best way to reply to and resolve all unresolved PR review threads at once?

The best way to resolve all PR review threads at once is to fetch all unresolved comments across reviewers using GraphQL and REST APIs, evaluate each comment's validity, reply with rationale, and resolve them sequentially to maintain consistent review response standards.

Do I need GitHub CLI to process Copilot review comments?

Yes, you need GitHub CLI (gh) v2.90.0 or later to process Copilot review comments. The Skill uses gh CLI to interact with GitHub's GraphQL and REST APIs for fetching, replying to, and resolving review threads across all reviewers including Copilot.

Can I automatically commit and push code fixes for PR review feedback?

Yes, you can automatically commit and push code fixes for PR review feedback using the --push flag. It stages modified files, creates conventional commits, pushes changes, and optionally verifies CI checks before requesting Copilot re-review.

How does this workflow handle invalid or non-actionable code review suggestions?

The workflow handles invalid suggestions by reading the relevant code context to evaluate feedback validity. It applies fixes only when necessary and provides clear rationale in the reply for declining non-actionable suggestions before resolving the thread.

Can I target a single specific review thread instead of processing all unresolved comments?

Yes, you can target a single specific review thread by providing the review URL. The Skill supports both targeted single-review processing and full PR review handling across all unresolved threads from all reviewers.