gh-address-comments

Fetch GitHub pull request comments, reviews, and threads for the current branch.

5.0k|454|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/tech-leads-club/agent-skills --skill gh-address-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/%28development%29/gh-address-comments
Command: npx skills add https://github.com/tech-leads-club/agent-skills --skill gh-address-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Skill automates the tedious process of managing GitHub Pull Request discussions by locating the PR tied to the current branch, and fetching all comments, reviews, and inline threads for efficient triage.

Core Features & Use Cases

  • PR discovery and data collection: Identify the PR associated with the active branch and retrieve comments, reviews, and review threads.
  • Triage and prioritization: Surface actionable items and help decide which comments to address.
  • Authentication guidance: Prompts the user to authenticate with gh if not logged in and can re-authenticate as needed.
  • Use Case: When collaborating on a PR, your agent can prepare a summary of outstanding issues to guide developers.

Quick Start

Run the PR comment handler to fetch and inspect the PR conversation for the current branch. Example: python scripts/fetch_comments.py > pr_comments.json

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 pull request comments for the current branch using gh CLI?

Fetch pull request comments by running the script to identify the PR tied to your active branch and retrieve all related conversations, reviews, and inline threads. This automation surfaces actionable items for triage and remediation across collaboration workflows.

What is the best way to automate GitHub PR triage and code review comment collection?

Automate GitHub PR triage by using this Skill to locate the associated pull request and gather all review comments and threads. It surfaces actionable items to help developers decide which discussions to address during code review.

Do I need to install and authenticate the GitHub CLI to automate PR review comment retrieval?

Yes, you need the GitHub CLI installed and authenticated to automate PR review comment retrieval. The Skill checks your authentication status and prompts you to log in or re-authenticate with gh if necessary before fetching data.

Can I use Python standard libraries to extract and triage pull request conversations without external dependencies?

Yes, you can use Python standard libraries to extract and triage pull request conversations as the Skill has no external dependencies. It relies solely on built-in Python modules while requiring the gh CLI for data access.

How does PR conversation triage work for managing outstanding code review issues?

PR conversation triage works by collecting all comments, reviews, and threads from the pull request linked to your branch, then surfacing actionable items. This guides developers by summarizing outstanding issues for prioritized remediation.

Why does my GitHub PR comment fetch script fail to retrieve review threads?

Your GitHub PR comment fetch script fails if the GitHub CLI is not installed or authenticated. The Skill requires valid gh authentication to access pull request data and will prompt you to authenticate to resolve the issue.