gh-address-comments

Fetch review comments and inline threads from the open GitHub pull request.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/marcius-llmus/skills --skill gh-address-comments-marcius-llmus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/marcius-llmus/skills/tree/main/%28development%29/gh-address-comments
Command: npx skills add https://github.com/marcius-llmus/skills --skill gh-address-comments-marcius-llmus

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers locate and address review and issue comments on the open GitHub pull request associated with the current branch, reducing manual searching and context switching.

Core Features & Use Cases

  • Fetch PR comments and review threads: Uses the GitHub CLI GraphQL API to retrieve conversation comments, review submissions, and inline review threads with pagination.
  • Authentication check and guidance: Verifies gh CLI authentication and prompts the user to run gh auth login if not authenticated.
  • Use Case: A developer preparing to merge a feature branch can enumerate all feedback, summarize threads, select comments to address, and apply fixes guided by the skill.

Quick Start

Find the open PR for my current branch, list and summarize its review threads, and propose concrete fixes for selected comments.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I fetch all review comments and inline threads for an open GitHub pull request?

To fetch GitHub PR review comments and inline threads, the skill uses the gh CLI GraphQL API with pagination to retrieve conversation comments, review submissions, and grouped threads for the open PR associated with your current branch, outputting structured JSON.

Do I need to authenticate with gh CLI before fetching PR review threads?

Yes, you need an authenticated GitHub CLI session to fetch PR review threads. The skill verifies gh CLI authentication and prompts you to run gh auth login if the session is not currently authenticated.

What's the best way to triage GitHub PR feedback and prepare changes for unresolved comments?

The best way to triage GitHub PR feedback is to enumerate all review submissions and inline threads via the gh API, output structured JSON, then summarize threads and select specific comments to address with concrete fixes.

Can I get structured JSON output from gh CLI for downstream PR comment summarization?

Yes, you can get structured JSON output from gh CLI for PR comment summarization. The skill queries the GitHub GraphQL API with pagination and returns structured JSON containing conversation comments and review threads for downstream automated fixes.

Does gh CLI pagination work for retrieving large numbers of inline review threads on a pull request?

Yes, gh CLI pagination works for retrieving inline review threads on a pull request. The skill uses gh api graphql with pagination to ensure all conversation comments and review submissions are fetched without truncation.

Why does my gh CLI command fail when trying to list PR comments on my current branch?

Your gh CLI command may fail listing PR comments if your session is not authenticated. The skill checks authentication status and guides you to run gh auth login to establish a valid GitHub CLI connection before fetching review threads.