gh-address-comments

Fetch and triage GitHub PR comments via gh CLI.

13|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/misty-step/harness-kit --skill gh-address-comments-misty-step
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/misty-step/harness-kit/tree/main/skills/.external/openai-gh-address-comments
Command: npx skills add https://github.com/misty-step/harness-kit --skill gh-address-comments-misty-step

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Inspect the open PR for the current branch and fetch comments, reviews, and review threads.
  • Provide a guided workflow to triage comments, propose fixes, and apply changes via gh CLI.
  • Use case: A maintainer wants to quickly summarize outstanding PR comments and apply fixes to multiple threads in one session.

Quick Start

Run the PR Comment Handler on the current branch to locate and address PR review comments using gh.

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 automatically from the command line?

You can address GitHub PR comments by using the gh CLI to locate the open pull request on your current branch, fetch inline threads, and coordinate scripted fixes with guided prompts for user input.

How do I fetch and triage pull request review threads using gh CLI?

Fetch and triage pull request review threads by running a script that reads the PR context via gh CLI, aggregating top-level comments, reviews, and inline threads into a single guided workflow.

Do I need gh authentication to manage code review comments on my current branch?

Yes, you need gh authentication to manage code review comments. The workflow verifies gh auth first and prompts you to authenticate if not logged in before fetching PR context.

Can I apply fixes to multiple PR comment threads in one session with gh CLI?

Yes, you can apply fixes to multiple PR comment threads in one session. The guided workflow allows a maintainer to summarize outstanding comments and apply fixes across threads sequentially.

What types of GitHub pull request comments can I inspect and resolve with this approach?

You can inspect and resolve top-level PR comments, review summaries, and inline code review threads. The script fetches all comment types associated with the open pull request on the current branch.

What happens if gh CLI encounters an issue resolving a PR comment thread?

When resolving a PR comment thread, the workflow uses clear prompts for user input and coordinates optional comment resolution, ensuring you maintain manual control over applying changes via gh CLI safely.