gh-address-comments

Fetch and organize GitHub pull request review comments via gh CLI.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/d3ming/dot-agents --skill gh-address-comments-d3ming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/d3ming/dot-agents/tree/main/master/skills/gh-address-comments
Command: npx skills add https://github.com/d3ming/dot-agents --skill gh-address-comments-d3ming

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill finds the open pull request for the current git branch and aggregates conversation comments, review submissions, and inline review threads so you don't have to manually run GraphQL queries or sift through scattered feedback.

Core Features & Use Cases

  • Fetch PR Comments: Uses the GitHub CLI and a helper Python script to collect top-level PR comments, review submissions, and grouped inline review threads as structured JSON.
  • Prioritize & Clarify: Summarizes threads and prompts the user to choose which numbered comments to address, enabling focused fixes or responses.
  • Use Case: When working on a feature branch with active review, gather all actionable reviewer feedback, decide which items to fix, and iterate with concise guidance.

Quick Start

Ensure gh is authenticated, run the included fetch_comments.py helper to produce structured PR comment data, and then tell the assistant which numbered comments 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 fetch and resolve GitHub PR review comments for my current branch?

To fetch and resolve GitHub PR review comments, you can use a helper script that aggregates conversation comments, review submissions, and inline review threads into structured JSON. This allows you to select specific numbered comments to address directly from your terminal.

Can I collect inline pull request review threads using the GitHub CLI?

Yes, you can collect inline pull request review threads using the GitHub CLI. A Python helper script runs GraphQL queries via the gh api to gather and group top-level PR comments and inline review threads into structured output.

Do I need GitHub CLI authentication to fetch pull request comments?

Yes, you need GitHub CLI authentication with sufficient repository and workflow scopes to fetch pull request comments. Network access is also required to execute gh pr view and gh api graphql commands successfully.

What is the best way to organize scattered PR review feedback for code review?

The best way to organize scattered PR review feedback is to aggregate conversation comments, review submissions, and inline review threads into a single structured JSON file. This summarizes all actionable reviewer feedback for focused iteration.

How to address specific GitHub pull request review comments programmatically?

To address specific GitHub pull request review comments programmatically, run a fetch script to output numbered conversation threads, then prompt the assistant with the chosen numbers to apply guided fixes or responses to the active branch.