review-pr-comments

Fetch and triage unresolved GitHub PR review threads via GraphQL.

82|19|Updated Mar 21, 2025
One-click install
npx skills add https://github.com/WolframResearch/AgentTools --skill review-pr-comments-wolframresearch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr-comments
Source: https://github.com/WolframResearch/AgentTools/tree/main/.claude/skills/review-pr-comments
Command: npx skills add https://github.com/WolframResearch/AgentTools --skill review-pr-comments-wolframresearch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

Address review comments on a GitHub pull request — fetch unresolved threads, triage each issue, fix valid ones, reply, and resolve threads.

Core Features & Use Cases

  • Fetch unresolved review threads via GraphQL and surface actionable items for faster PR resolution.
  • Triage, investigate, and decide on fixes or replies, then post responses and mark threads as resolved.
  • Maintain PR momentum by systematically addressing feedback across multiple threads and PRs.

Quick Start

Fetch unresolved PR review comments and begin triage to resolve actionable issues.

Frequently Asked Questions about review-pr-comments

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

FAQPage Schema
How do I triage unresolved GitHub PR review comments automatically?

Triage unresolved GitHub PR review comments by fetching open threads via the GitHub GraphQL API, investigating actionable feedback, fixing valid issues, posting replies, and resolving threads using the resolveReviewThread mutation.

Can I resolve multiple PR review threads at once using the GitHub API?

Resolving multiple PR review threads is supported by fetching unresolved review threads via GraphQL and systematically applying the resolveReviewThread mutation to close actionable items across pull requests.

Do I need gh and jq installed to fetch and resolve pull request review threads?

Yes, fetching and resolving pull request review threads requires gh and jq as dependencies to execute the bundled retrieval and resolution scripts that interact with the GitHub GraphQL API.

What is the best way to manage actionable feedback across multiple open pull requests?

Managing actionable feedback across multiple pull requests involves using bundled scripts to retrieve unresolved review threads, triage issues, apply code fixes, post replies, and resolve threads to maintain PR momentum.

How does resolving a PR review thread work with the GitHub GraphQL API?

Resolving a PR review thread works by executing the resolveReviewThread mutation through the GitHub GraphQL API, which closes an unresolved review thread after you investigate and address the actionable comment.

Why use GraphQL instead of the standard GitHub API to fetch unresolved PR comments?

Using GraphQL to fetch unresolved PR comments allows targeted retrieval of specific review threads and their resolution status, enabling efficient triage compared to fetching entire pull request data through standard REST endpoints.