gh-get-review-comments

Retrieve GitHub pull request review comments via the GitHub API.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/mvillmow/ml-odyssey --skill gh-get-review-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-get-review-comments
Source: https://github.com/mvillmow/ml-odyssey/tree/main/.claude/skills/gh-get-review-comments
Command: npx skills add https://github.com/mvillmow/ml-odyssey --skill gh-get-review-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github-cli, jq, and includes scripts (resource) components.

What problem does it solve? This Skill quickly fetches all open review comments from a GitHub pull request, allowing developers to see feedback at a glance and prioritize fixes without navigating the web UI. It automates comment retrieval, saving valuable time.

Core Features & Use Cases:

  • Comment Retrieval: Gets all review comments for a specified PR, providing a consolidated view of feedback.
  • Filtering Options: Filter comments by reviewer or retrieve only unresolved comments for focused action.
  • Use Case: Before addressing feedback on your pull request, use this skill to get a concise list of all review comments. This helps you prioritize and respond efficiently, streamlining the code review process.

Quick Start: Use the gh-get-review-comments skill to retrieve all review comments for pull request number 42.

Frequently Asked Questions about gh-get-review-comments

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

FAQPage Schema
How do I retrieve review comments from a GitHub pull request?

Retrieve review comments using the gh-get-review-comments Skill, which fetches all feedback from a specified PR via GitHub CLI and the GitHub API. It returns consolidated comment data including ID, path, line number, body, reviewer, and reply chain information for quick analysis without navigating the web UI.

Can I filter review comments by reviewer or resolution status?

Yes, the Skill supports filtering review comments by specific reviewers and retrieving only unresolved comments. This lets you focus on actionable feedback and prioritize responses based on who reviewed and whether issues remain open.

What do I need to use this Skill to get PR comments?

You need GitHub CLI installed, active GH authentication, and jq for output formatting. The Skill operates on repositories you can access via GitHub CLI and requires a valid pull request number in your target repository.

How do I automate pulling feedback from multiple pull requests?

Use the Skill's PR-specific comment retrieval within a script loop to extract review comments across multiple pull requests. You can then process, filter, and export the consolidated feedback for bulk analysis or reporting.

What happens if authentication fails or a PR doesn't exist?

The Skill includes error handling for missing pull requests and authentication failures. It will return an error message indicating whether the issue is invalid credentials, missing GH CLI setup, or a nonexistent PR number.