gh-address-comments

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Quick and reliable addressing of actionable review comments on an open GitHub PR for the current branch by using the gh CLI, reducing back-and-forth and speeding resolution.

Core Features & Use Cases

  • Fetch and enumerate PR conversation comments, reviews, and inline threads for the current branch.
  • Prompt you to inspect, summarize, and apply fixes to selected comments with guided steps.
  • Re-authenticate and retry guidance if gh authentication issues arise during execution.

Quick Start

Run scripts/fetch_comments.py to enumerate PR comments and review threads for the current branch PR, then select which items to address.

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 directly from my branch?

To address GitHub PR review comments, run scripts/fetch_comments.py to enumerate conversation threads for the open PR on your current branch, then select items to inspect, summarize, and apply fixes to with guided steps.

What is the best way to fetch and summarize actionable GitHub PR comments?

Fetching and summarizing actionable GitHub PR comments is done by using gh pr view and gh api graphql to pull conversation threads, reviews, and inline comments for the open PR associated with your current branch.

How does gh CLI handle PR comment retrieval for the current branch?

Gh CLI handles PR comment retrieval by using gh pr view and gh api graphql to fetch review threads, conversation comments, and inline data for the open PR associated with your current working branch.

Do I need gh authentication to enumerate pull request review threads?

Yes, you need gh authentication to enumerate pull request review threads, and the workflow provides re-authentication and retry guidance if gh authentication issues arise during execution.

What are the limitations of using gh CLI for addressing pull request comments?

The workflow is limited to operating on the open GitHub PR associated with the current branch, meaning it cannot fetch comments for closed PRs, merged branches, or unrelated pull requests.