gh-address-comments

Automate addressing GitHub PR comments via gh CLI calls.

167|34|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/tercumantanumut/selene --skill gh-address-comments-tercumantanumut
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-address-comments
Source: https://github.com/tercumantanumut/selene/tree/main/lib/skills/catalog/bundled/gh-address-comments
Command: npx skills add https://github.com/tercumantanumut/selene --skill gh-address-comments-tercumantanumut

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

Core Features & Use Cases

  • Inspect comments needing attention across PR conversations, reviews, and inline threads on the current branch's PR.
  • Number and summarize threads and comments, then prompt the user to select which to address.
  • Apply fixes for the selected comments while handling authentication issues and re-authentication prompts if needed.
  • Requires gh authentication; guides the user to login and retry if necessary.

Quick Start

Run the PR Comment Handler to locate the open PR for the current branch and address its comments using gh CLI.

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 comments using the gh CLI?

This skill automates addressing GitHub PR comments by orchestrating gh CLI calls to fetch conversations, reviews, and review threads on the current branch's PR. It numbers and summarizes comments, prompts you to select which to address, and applies fixes accordingly.

What is the best way to automate addressing review comments on a pull request?

Automating pull request review comments is handled by fetching outstanding conversations via gh CLI, summarizing threads for selection, and applying fixes deterministically. This approach guides you through selecting specific comments to address rather than applying broad changes blindly.

Do I need gh authentication to fetch and resolve PR comments?

Yes, gh authentication is required to fetch and resolve PR comments. The automation verifies your gh auth status first and prompts you to login and retry if you are not authenticated, ensuring access to PR conversations, reviews, and threads.

Can I select which inline PR comments to address instead of fixing all of them?

Yes, you can select which inline PR comments to address. The tool numbers and summarizes all outstanding threads and comments across conversations and reviews, then prompts you to choose specific items to fix rather than addressing everything at once.

How does this PR comment handler determine which pull request to work on?

The PR comment handler determines the target pull request by locating the open PR tied to your current Git branch. It uses gh CLI to fetch the associated conversations, reviews, and review threads without requiring manual PR number input.

What happens if gh CLI is not logged in when I try to address PR comments?

If gh CLI is not logged in, the automation detects the authentication issue and prompts you to authenticate. Once you complete the gh login process, it retries fetching PR conversations and threads so you can proceed with addressing comments.