github-pr-review-comments

Manage GitHub PR review comments across paginated results using gh CLI.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/straub/agent-skills --skill github-pr-review-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-review-comments
Source: https://github.com/straub/agent-skills/tree/main/skills/github-pr-review-comments
Command: npx skills add https://github.com/straub/agent-skills --skill github-pr-review-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the management of GitHub PR review comments across multiple rounds and pages, reducing manual tracking and ensuring feedback is not missed.

Core Features & Use Cases

  • Find unreplied comments across paginated PRs and review rounds.
  • Reply to review threads with concise, status-friendly updates.
  • Resolve or unresolve threads after addressing feedback, or maintain open discussions as needed.
  • Automate programmatic workflows for reviewers and bot accounts using gh CLI and GraphQL.

Quick Start

Install and authenticate the gh CLI, then use the provided REST and GraphQL commands to locate comments, post replies, and manage thread resolution. For example, start by listing all comments on a PR with pagination, identify unreplied ones, and draft replies referencing specific commits or changes.

Frequently Asked Questions about github-pr-review-comments

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

FAQPage Schema
How do I automate finding unreplied GitHub PR review comments across multiple pages?

To find unreplied GitHub PR review comments across paginated results, use the gh CLI with REST and GraphQL endpoints to fetch review threads and filter for those lacking responses, handling pagination automatically to ensure no feedback is missed across multiple review rounds.

What is the best way to programmatically reply to and resolve GitHub PR review threads?

The best way to reply to and resolve GitHub PR review threads programmatically is using the gh CLI with GraphQL mutations to post concise replies referencing specific commits and mutate thread resolution states, resolving or unresolving discussions after addressing feedback.

Do I need the gh CLI installed and authenticated to automate GitHub PR review comment workflows?

Yes, you need the gh CLI installed and authenticated to automate GitHub PR review comment workflows, as the automation relies on the gh CLI to access REST and GraphQL endpoints for reading and mutating review data, fetching paginated comments, and resolving threads.

How does pagination work when fetching GitHub PR review comments via GraphQL?

Pagination when fetching GitHub PR review comments via GraphQL requires explicit handling of cursors to traverse pages of review threads, requesting thread IDs and reply formats across multiple PRs and review rounds until all pages are exhausted.

Can I unresolve a previously resolved GitHub PR review thread using GraphQL?

Yes, you can unresolve a previously resolved GitHub PR review thread using GraphQL mutations via the gh CLI, as the workflow supports both resolving and unresolving threads to maintain open discussions or reverse actions as needed across multiple PRs.

What are the limitations of automating GitHub PR review comments with GraphQL?

Limitations of automating GitHub PR review comments with GraphQL include managing explicit pagination boundaries, tracking thread IDs across multiple review rounds, and ensuring the gh CLI is properly authenticated to avoid mutation failures when resolving threads or posting replies.