gh-address-comments

Fetch and address GitHub PR review comments using the gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Addresses the tedious process of triaging and responding to GitHub PR review comments by orchestrating gh CLI actions, enabling faster feedback loops and cleaner PRs.

Core Features & Use Cases

  • Fetch all PR conversations, reviews, and inline threads for the current branch using the included fetch_comments.py script.
  • Enumerate and summarize issues from comments and threads, identify actionable items, and propose or apply fixes.
  • Resolve or respond to threads in the GitHub UI and push changes with clear PR updates; supports prompting authentication when needed.
  • Run autonomously with minimal user interaction, falling back to user prompts only for ambiguous decisions.

Quick Start

Run the gh-address-comments skill on a branch with an open PR to automatically fetch, enumerate, and address review comments using gh CLI.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I automate addressing GitHub PR review comments?

You can automate addressing PR review comments using the gh CLI to fetch conversations and apply fixes. This skill orchestrates gh CLI actions to identify actionable feedback, run checks, and push changes for faster feedback loops.

What's the best way to fetch and triage GitHub pull request review threads?

The best way to fetch and triage review threads is using a Python script that calls gh CLI. It retrieves top-level comments, reviews, and inline threads for the current branch, summarizes issues, and identifies actionable items for resolution.

Do I need authenticated gh CLI to resolve inline PR review comments?

Yes, authenticated gh CLI is required to resolve inline PR review comments. The automation requires a local branch linked to an open PR and will prompt for authentication when needed to fetch threads and push updates.

Can I automatically resolve GitHub PR threads and push code fixes?

Yes, you can automatically resolve GitHub PR threads and push code fixes. The skill enumerates issues from comments, proposes or applies fixes, and pushes changes with clear PR updates while running autonomously with minimal interaction.

What types of GitHub PR comments can be addressed using gh CLI?

Using gh CLI, you can address top-level comments, full reviews, and inline review threads. The skill fetches all PR conversations for the current branch to surface issues and apply fixes across these different comment types.

Why does PR comment automation fall back to user prompts during code review fixes?

PR comment automation falls back to user prompts when it encounters ambiguous decisions during code review fixes. It runs autonomously but requires user input only for issues that cannot be resolved automatically.