gh-address-comments

Automate addressing GitHub PR review comments via the gh CLI.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/idontcarl/landing-page --skill gh-address-comments-idontcarl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/idontcarl/landing-page/tree/main/skills/openai-skills/skills/.curated/gh-address-comments
Command: npx skills add https://github.com/idontcarl/landing-page --skill gh-address-comments-idontcarl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you address review/issue comments on the open GitHub PR for the current branch using the gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

Core Features & Use Cases

  • Inspect all PR conversation comments, reviews, and inline threads for the current branch PR.
  • Number, summarize, and apply fixes to selected comments or threads based on user input.
  • Ensure authentication before running gh commands and handle prompts to re-authenticate if needed.

Quick Start

Run fetch_comments.py and follow the prompts to review and address approved or flagged comments on the PR.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I address GitHub PR review comments from the command line?

You can address GitHub PR review comments from the command line by running a script that uses the gh CLI to retrieve your current branch's PR data, enumerate inline threads, and interactively apply fixes to selected comments.

How do I summarize and resolve actionable PR comments using gh CLI?

To summarize and resolve actionable PR comments using gh CLI, execute the fetch script to number, summarize, and interactively select outstanding review threads, then apply user-guided fixes directly to the code.

Do I need gh authentication to automate addressing PR comments?

Yes, you need gh authentication to automate addressing PR comments. The workflow verifies your gh auth status first and prompts you to authenticate if you are not already logged in before retrieving PR data.

Can I use this workflow to inspect inline PR threads for my current branch?

Yes, you can use this workflow to inspect inline PR threads for your current branch. It retrieves all PR conversation comments, reviews, and inline threads using gh pr view and gh api graphql commands.

What is the best way to manage outstanding code review comments on an open PR?

The best way to manage outstanding code review comments on an open PR is using an interactive gh CLI script that fetches, numbers, and summarizes review threads, allowing you to selectively apply fixes based on user input.

Why does fetching PR comments fail when running gh CLI automation?

Fetching PR comments fails when running gh CLI automation if your gh authentication is invalid or missing, which prevents the script from executing gh pr view or gh api graphql commands to retrieve PR data.