gh-address-comments

Fetch and consolidate open PR comments and reviews via the GitHub CLI.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill gh-address-comments-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.codex/skills/gh-address-comments
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill gh-address-comments-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Address and manage open PR comments and threads on the current branch by guiding you through collecting, prioritizing, and applying fixes with the GitHub CLI.

Core Features & Use Cases

  • PR comment aggregation: fetches top-level comments, reviews, and inline threads for the active PR.
  • Guided triage: numbers review items and presents a concise summary to decide what to fix.
  • Automated follow-through: applies selected fixes and prompts re-authentication as needed.

Quick Start

Run the script to fetch comments for the current branch PR and interactively select conversations 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 consolidate GitHub PR comments and review threads for my current branch?

To consolidate GitHub PR comments, this Skill fetches top-level comments, reviews, and inline threads for the active branch's associated PR using the gh CLI. It numbers review items and presents a concise summary, enabling you to interactively decide which conversations to address and apply fixes.

What is the best way to triage PR review comments interactively using the GitHub CLI?

The best way to triage PR review comments is running this script, which aggregates open PR feedback via gh api graphql. It presents a guided, numbered summary of all review items, allowing you to interactively select which conversations to address and apply patches directly.

Do I need gh CLI authentication to collect and manage open PR review threads?

Yes, you need gh CLI authentication to collect and manage PR review threads. The Skill requires a modern Python runtime, network access, and an authenticated GitHub CLI to fetch data using gh pr view and prompt you for which items to fix.

Can I use this workflow to address inline comments on any open PR?

You can use this workflow to address inline comments when your current branch corresponds to an open PR. The Skill identifies and consolidates open PR comments, reviews, and review threads for the active branch, enabling interactive triage and patch application for that specific pull request.

Why does my PR comment aggregation fail when the current branch has no open PR?

PR comment aggregation fails because the Skill requires the current branch to correspond to an open PR. It uses gh pr view to fetch data for the active branch's associated PR, so if no open PR exists or the branch is detached, the script cannot collect review items to triage.

Does gh-address-comments work without a modern Python runtime installed?

No, gh-address-comments does not work without a modern Python runtime. The Skill requires Python to execute its scripts, alongside an authenticated GitHub CLI and network access, to fetch PR comments via gh api graphql and guide interactive triage.