gh-address-comments

Identifies GitHub PR inline comments and review threads via gh CLI GraphQL, then applies fixes and updates the PR conversation.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Mercurykz/Barretao- --skill gh-address-comments-mercurykz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/Mercurykz/Barretao-/tree/main/.cursor/skills/gh-address-comments
Command: npx skills add https://github.com/Mercurykz/Barretao- --skill gh-address-comments-mercurykz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Addresses GitHub PR review comments on the current branch using gh CLI.

Core Features & Use Cases

  • Fetches PR discussion threads, inline comments, and reviews using gh CLI.
  • Allows you to enumerate and select specific comments to address, then apply fixes without leaving the terminal.
  • Verifies gh authentication and prompts to login if not authenticated, avoiding failed runs.

Quick Start

Run the skill to fetch the open PR comments and begin addressing the selected items.

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 from the terminal?

You can address GitHub PR review comments directly from the terminal by fetching discussion threads and inline comments via the gh CLI, selecting specific items, and applying fixes to update the PR conversation.

Do I need gh authentication to fetch and resolve PR review threads?

Yes, gh authentication is required to fetch PR comments via GraphQL and update the conversation. The skill verifies your gh login status and prompts you to authenticate if needed to avoid failed runs.

Can I select specific inline comments to fix instead of resolving an entire PR?

Yes, you can enumerate fetched PR discussion threads and inline comments, then selectively choose specific comments to address and apply fixes to them individually without leaving the terminal.

What is the best way to categorize and apply fixes to PR comments without using a web browser?

Using the gh CLI to fetch PR reviews and inline comments allows you to categorize and apply fixes to GitHub PR review threads entirely from the terminal, bypassing the need for a web browser.

Why does fetching GitHub PR comments fail when running automation scripts?

Fetching GitHub PR comments fails if your gh CLI is not authenticated. The skill addresses this by verifying authentication and prompting you to login before attempting to fetch threads via GraphQL.