cmd-gh-comments

Triage GitHub PR comments into categories and execute approved fixes.

8|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Olshansk/agent-skills --skill cmd-gh-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-gh-comments
Source: https://github.com/Olshansk/agent-skills/tree/main/skills/cmd-gh-comments
Command: npx skills add https://github.com/Olshansk/agent-skills --skill cmd-gh-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of addressing feedback on GitHub Pull Requests by automatically triaging, categorizing, and executing necessary code changes or discussions.

Core Features & Use Cases

  • Automated Comment Triage: Fetches and categorizes all review comments (inline, review-level, conversation) on a PR.
  • Actionable Plan Generation: Presents a clear, categorized plan (Fix, Investigate, Discuss, Acknowledge, Outdated) for user approval.
  • Guided Execution: Executes the approved plan, prioritizing fixes, then investigations, and finally discussions.
  • Automated Resolution: Commits changes, pushes to remote, and resolves addressed comment threads on GitHub.
  • Use Case: After receiving feedback on a feature branch, use this skill to quickly understand all comments, get approval on a plan to address them, and have the changes committed and PR comments resolved automatically.

Quick Start

Use the cmd-gh-comments skill to triage and address all comments on the current GitHub pull request.

Frequently Asked Questions about cmd-gh-comments

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

FAQPage Schema
How do I automate triaging and resolving GitHub PR comments?

Automate GitHub PR comment triage by fetching all review feedback, categorizing items into Fix, Investigate, Discuss, Acknowledge, or Outdated, and executing an approved plan to resolve threads. This streamlines addressing feedback on feature branches.

Can I automatically categorize pull request review comments by action type?

Yes, pull request review comments can be automatically categorized by action type. The tool fetches inline, review-level, and conversation comments, then groups them into Fix, Investigate, Discuss, Acknowledge, or Outdated categories for structured resolution.

Do I need GitHub CLI authentication to resolve PR comment threads?

Yes, you need GitHub CLI authentication to resolve PR comment threads. The process requires the gh dependency to fetch comments, push code changes to the remote branch, and automatically resolve addressed conversation threads on GitHub.

What is the best way to address code review feedback on a feature branch?

The best way to address code review feedback is to generate an actionable plan from categorized comments, prioritize fixes, then investigations and discussions, and finally commit changes to automatically resolve the corresponding GitHub PR threads.

Does this PR comment triage approach work without an open pull request?

No, this PR comment triage approach requires a current branch with an open pull request. It relies on the open PR context to fetch review comments, generate an execution plan, and resolve threads via GitHub CLI commands.