gh-address-comments

Manages GitHub PR review comments for the current branch via gh CLI.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/brian861105/codex-skills --skill gh-address-comments-brian861105
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/brian861105/codex-skills/tree/main/gh-address-comments
Command: npx skills add https://github.com/brian861105/codex-skills --skill gh-address-comments-brian861105

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Addresses the tedious process of locating and addressing comments on the open GitHub PR for the current branch by guiding you to fetch, review, and apply fixes via the gh CLI after ensuring authentication.

Core Features & Use Cases

  • Fetches all PR comments, reviews, and inline threads for the current branch PR using gh; lists actionable items.
  • Guides you to annotate or fix issues by prompting for which comments to address and apply changes.
  • Ideal for maintainers who want to streamline PR feedback without manual context switching.

Quick Start

Address all actionable PR comments on the current branch's open PR using gh CLI after authenticating.

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 comments using the gh CLI?

To address GitHub PR comments, this workflow fetches open pull request review threads and inline comments via the gh CLI, then interactively prompts you to select and apply fixes directly to your current branch.

How can I fetch and manage all pull request review threads for my current branch?

You can fetch pull request review threads by using gh pr view and gh api graphql commands to extract reviews and inline comments linked to your current branch. This aggregates actionable items into a single interactive list.

Do I need gh authentication to extract and resolve actionable PR comments?

Yes, you need gh authentication to extract and resolve actionable PR comments. The workflow relies on authenticated gh CLI access to query the GitHub API for pull request data and manage the interactive addressing process.

What is the best way to streamline PR feedback without manual context switching?

The best way to streamline PR feedback is to use a guided workflow that aggregates all open pull request comments and inline threads, prompting you to select which items to address and automatically applying the necessary code changes.

Can I extract inline code review threads from an open PR using gh?

Yes, you can extract inline code review threads from an open pull request using the gh api graphql command. The workflow queries the GitHub API to pull all inline threads and standard comments associated with the current branch.