gh-address-comments

Address open GitHub PR review comments on the current branch via gh CLI.

6|1|Updated Dec 8, 2009
One-click install
npx skills add https://github.com/jey3dayo/dotfiles --skill gh-address-comments-jey3dayo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/jey3dayo/dotfiles/tree/main/agents/skills/gh-address-comments
Command: npx skills add https://github.com/jey3dayo/dotfiles --skill gh-address-comments-jey3dayo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Address review and issue comments on the open GitHub pull request for your current branch by guiding you through identifying, clarifying, and applying fixes via the gh CLI, with authentication prompts if needed.

Core Features & Use Cases

  • Locate the PR associated with the current branch and fetch all top-level comments, reviews, and inline threads.
  • List comments in a structured, numbered format, summarize required actions, and let you select which threads to address.
  • Apply the chosen responses or fixes using gh commands, with re-authentication prompts if gh is not authenticated or if permissions are insufficient.

Quick Start

Scan the current branch for the open PR and guide the user to address its 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 pull request review comments using the gh CLI?

To address pull request review comments using the gh CLI, locate the PR for your current branch, fetch all inline threads and reviews, then apply user-selected fixes or responses to resolve them.

What's the best way to group and resolve inline PR comments on a current branch?

Grouping and resolving inline PR comments involves fetching top-level reviews and threads on your current branch, listing them in a structured numbered format, and selecting specific threads to apply fixes.

Do I need gh authentication to manage GitHub PR comments?

Yes, gh authentication is required to manage GitHub PR comments. The process prompts for login when needed and handles permission escalation if your current token lacks sufficient repository access.

Can I select specific review threads to respond to instead of addressing all PR comments?

You can select specific review threads to respond to by listing all open PR comments in a structured format, summarizing required actions, and choosing exactly which threads to address via gh commands.

How does comment management handle permission issues when applying fixes to a pull request?

Comment management handles permission issues by detecting insufficient access during fix application, triggering re-authentication prompts via gh, and escalating permissions as necessary to post responses.

Why does my gh CLI fail to fetch pull request comments for my current branch?

Your gh CLI fails to fetch pull request comments for your current branch if gh is not authenticated or has insufficient permissions, triggering a login prompt to restore access.