gh-address-comments

Fetch and organize GitHub PR review comments for the current branch.

16|2|Updated Mar 29, 2018
One-click install
npx skills add https://github.com/khoi/dotfiles --skill gh-address-comments-khoi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/khoi/dotfiles/tree/main/chezmoi/dot_agents/skills/gh-address-comments
Command: npx skills add https://github.com/khoi/dotfiles --skill gh-address-comments-khoi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Addressing GitHub PR review comments can be tedious and error-prone; this skill streamlines locating, prioritizing, and guiding the user to address comments on the current branch using gh CLI.

Core Features & Use Cases

  • Fetches all PR conversation comments, reviews, and inline threads associated with the active branch.
  • Provides an actionable plan listing which comments to address, then applies or documents fixes.
  • Use Case: a developer wants to systematically respond to feedback across multiple threads in one session.

Quick Start

Run this skill to scan the open PR for the current branch and prepare an action plan for addressing 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 review comments systematically from the command line?

Address GitHub PR review comments by fetching and organizing them for remediation using the gh CLI. This skill scans the open PR linked to your current branch, retrieves all conversation threads and inline comments, and provides a deterministic workflow with guided steps to resolve them sequentially.

How do I list and organize all pull request comments on my current branch?

List and organize pull request comments by running this skill to fetch PR conversation data, reviews, and inline threads associated with the active branch. It generates an actionable plan detailing which comments to address, enabling you to tackle multiple threads in one session.

Can I use gh CLI to systematically resolve multiple PR comment threads at once?

Yes, you can use gh CLI to systematically resolve multiple PR comment threads. This skill fetches all review feedback on the open PR, organizes the comments into an actionable plan, and guides you through addressing each thread sequentially with proper error handling.

Do I need gh CLI authentication to fetch and address PR comments?

Yes, you need gh CLI authentication to fetch and address PR comments. The skill uses gh to retrieve pull request data and includes authentication prompts and error handling to ensure secure access to your repository's conversation threads and review feedback.

What is the best way to automate the remediation of actionable GitHub PR comments?

The best way to automate remediation of actionable GitHub PR comments is using a deterministic workflow that fetches, prioritizes, and guides fixes. This skill leverages gh CLI to organize feedback from open PRs into an actionable plan for sequential addressing.

Why does fetching PR comments fail when there is no open pull request on the current branch?

Fetching PR comments fails because this skill specifically targets open PRs linked to the current branch. Without an active pull request, there are no conversation threads, reviews, or inline comments to retrieve, organize, and address using the gh CLI workflow.