gh-address-comments

Retrieve and organize GitHub PR review comments and threads via gh CLI and GraphQL API.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/wyhlovecpp/my-codex-settings --skill gh-address-comments-wyhlovecpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/wyhlovecpp/my-codex-settings/tree/main/skills/by-category/git-github/pr-automation/gh-address-comments
Command: npx skills add https://github.com/wyhlovecpp/my-codex-settings --skill gh-address-comments-wyhlovecpp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers and reviewers efficiently manage and respond to comments on GitHub pull requests, reducing manual effort and communication delays.

Core Features & Use Cases

  • Fetch all PR comments and review threads: Retrieves inline and general comments, review statuses, and thread information from the current pull request.
  • Organize and summarize review feedback: Provides a comprehensive view of outstanding issues and discussions needing resolution.
  • Use Case: A team reviewing a PR can quickly gather all comments, identify critical issues, and decide which comments to address first to streamline the review cycle.

Quick Start

Run the Python script fetch_comments.py to extract all comments and review data from the current PR for review and action planning.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I retrieve all GitHub PR review comments and threads efficiently?

To retrieve GitHub PR review comments and threads efficiently, you can run a Python script that uses the gh CLI and GraphQL API to fetch inline comments, general comments, and review statuses from your current open pull request.

What is the best way to organize and summarize pull request feedback for review?

Organizing pull request feedback is done by extracting all comments and review data into a comprehensive view, allowing you to identify outstanding issues and decide which comments to address first to streamline the review cycle.

Do I need prior GitHub authentication to fetch pull request comments using the gh CLI?

Yes, you need prior GitHub authentication to fetch pull request comments, as the script relies on the gh CLI and GraphQL API to access your repository and extract review data from the current open pull request.

Can I collect inline code review comments and general PR threads at the same time?

You can collect inline code review comments and general PR threads simultaneously, as the retrieval process automatically extracts both types of feedback along with thread information and review statuses from the pull request.

Why does my GitHub PR comment extraction script require an open pull request context?

The GitHub PR comment extraction script requires an open pull request context because it specifically targets the active review workflow, using the current PR to query review statuses, inline comments, and discussion threads via the GraphQL API.