gh-address-comments

Fetch and display GitHub Pull Request comments and reviews via gh api graphql.

2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/zapabob/Skills --skill gh-address-comments-zapabob
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/zapabob/Skills/tree/main/registry/skills/gh-address-comments/variants/codex
Command: npx skills add https://github.com/zapabob/Skills --skill gh-address-comments-zapabob

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you efficiently address comments and review feedback on GitHub Pull Requests directly from your local development environment, streamlining the code review process.

Core Features & Use Cases

  • Comment Fetching: Retrieves all conversation comments, reviews, and inline review threads for the current branch's PR.
  • User Clarification: Presents comments with summaries and prompts the user to select which ones to address.
  • Automated Fixes: Applies fixes for selected comments using the gh CLI.
  • Use Case: After receiving feedback on a Pull Request, you can use this Skill to quickly see all the comments, choose which ones to act on, and have the Skill help you implement the necessary code changes.

Quick Start

Use the gh-address-comments skill to fetch and display all comments on the current PR.

Frequently Asked Questions about gh-address-comments

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

FAQPage Schema
How do I fetch and address GitHub PR comments locally?

To fetch and address GitHub PR comments, you can use a tool that retrieves all conversation comments, reviews, and inline review threads for your current git branch's PR. This requires the GitHub CLI to be authenticated and the current branch to have an open PR. The tool then prompts you to select which comments to address and helps apply fixes directly.

Can I retrieve inline code review threads for a pull request using the gh cli?

Yes, you can retrieve inline code review threads for a pull request using the gh cli. By running a tool that executes the `gh api graphql` command, you can fetch and display all review threads, conversation comments, and reviews associated with the current branch's open PR directly from your local environment.

Do I need an open PR to fetch and address pull request comments?

Yes, you need an open PR to fetch and address pull request comments. The functionality requires the current git branch to have an active, open Pull Request on GitHub. Additionally, the GitHub CLI must be properly authenticated to access the PR's review threads and conversation comments.

What is the best way to manage GitHub pull request review feedback from the command line?

The best way to manage GitHub pull request review feedback from the command line is using a tool that fetches all comments, reviews, and review threads via the `gh api graphql` command. It presents summaries of the feedback, allows you to choose which comments to address, and helps implement the necessary code changes locally.

Why does fetching PR comments fail when my branch has no open pull request?

Fetching PR comments fails when your branch has no open pull request because the tool relies on the GitHub CLI to query an active PR associated with the current git branch. Without an open PR, there is no endpoint to retrieve review threads, conversation comments, or reviews.