pr-comments

Fetch GitHub PR review comments for the current branch via gh CLI and outputs JSON payloads compatible with insert_code_review_comments.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/89jobrien/warpx --skill pr-comments-89jobrien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-comments
Source: https://github.com/89jobrien/warpx/tree/main/resources/bundled/skills/pr-comments
Command: npx skills add https://github.com/89jobrien/warpx --skill pr-comments-89jobrien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Surface GitHub PR review comments from the current branch to streamline code review and feedback workflows.

Core Features & Use Cases

  • Fetches PR issue comments, inline diff comments, and code reviews for the active branch.
  • Presents comments in a structured format suitable for quick review and decision making.
  • Use Case: when reviewing a feature branch, surface all comments to inform changes and responses.

Quick Start

Run the bundled script inside a git repository on a branch with an open PR to fetch and display PR comments.

Frequently Asked Questions about pr-comments

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

FAQPage Schema
How do I fetch GitHub PR review comments for my current branch?

To fetch GitHub PR review comments, run the script inside a git repository on a branch with an open PR. It uses the gh CLI to aggregate inline diff comments, issue comments, and code reviews into a structured JSON payload.

Can I surface inline diff comments and code reviews using the gh CLI?

Yes, you can surface inline diff comments and code reviews using the gh CLI. The script queries PR data for the active branch and aggregates all review comments by type for quick display.

What is the best way to view all PR comments before responding to a code review?

The best way to view all PR comments is to use an automation script that collects issue comments, inline diff comments, and code reviews. This surfaces all feedback in a structured format to inform your changes.

Do I need an open PR on the current branch to retrieve GitHub comments?

Yes, you need an open PR on the current branch. The tool relies on the gh CLI within a git repository to query and retrieve the PR-level comments associated with that specific active branch.

How to aggregate GitHub PR comments into a JSON payload for code reviews?

You can aggregate GitHub PR comments into a JSON payload by running the bundled script. It fetches PR data via the gh CLI and outputs a structured JSON format compatible with insert_code_review_comments.

Why does fetching PR comments require running the script inside a git repository?

Fetching PR comments requires running the script inside a git repository because the tool uses the gh CLI to identify the current active branch and query the corresponding open PR data for its comments.