gh-address-comments

Fetch GitHub PR review comments via gh CLI and triage them interactively.

779|80|Updated Jun 20, 2025
One-click install
npx skills add https://github.com/Haohao-end/openagent --skill gh-address-comments-haohao-end
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/Haohao-end/openagent/tree/main/api/internal/core/skills/catalog/gh-address-comments
Command: npx skills add https://github.com/Haohao-end/openagent --skill gh-address-comments-haohao-end

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you rapidly address and resolve GitHub PR review comments for the current branch, reducing the back-and-forth between reviewers and authors.

Core Features & Use Cases

  • Fetch PR review conversations: Retrieves PR conversation comments, submitted reviews, and inline review threads via the GitHub gh CLI GraphQL API.
  • Interactive comment triage: Numbers review threads/comments and asks which ones you want to address.
  • Guided fix workflow: After selection, applies fixes for the chosen comments and handles common gh auth/rate interruptions.

Quick Start

Run this skill in your repo while you’re on the branch with an open PR, then follow the prompts to select the numbered review threads you want to address.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I automatically resolve GitHub PR review comments for my current branch?

To automatically resolve GitHub PR review comments, this Skill fetches PR conversations, reviews, and inline threads via the gh CLI GraphQL API, then interactively prompts you to select and fix actionable comments on your current branch.

How does fetching pull request review threads work with the gh CLI?

Fetching pull request review threads uses GitHub GraphQL pagination through the gh CLI to collect all conversation comments, submitted reviews, and inline review threads for triaging and controlled remediation.

Do I need gh authentication to resolve actionable PR review comments?

Yes, you need verified gh authentication to resolve actionable PR review comments. The Skill checks your gh CLI auth status and guides you to re-authenticate if auth or rate limit failures occur during the GraphQL fetch.

Can I interactively select which GitHub PR review threads to address?

Yes, you can interactively select which GitHub PR review threads to address. The Skill numbers all review threads and comments, asks which ones you want to fix, and applies remediations only to your chosen selections.

What should I do if gh CLI rate limits interrupt my pull request comment triage?

If gh CLI rate limits interrupt your pull request comment triage, the Skill detects the auth or rate failure and prompts you to re-authenticate, allowing you to resume fetching review thread data without losing your workflow context.

What's the best way to triage multiple inline PR review threads before applying code fixes?

The best way to triage multiple inline PR review threads is to use an automated Skill that collects all review data via GraphQL pagination, numbers each thread for clear identification, and lets you interactively choose which to fix.