pr-comments

Fetch GitHub PR review comments and output them as structured JSON.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill fetches and displays GitHub PR review comments (issues, reviews, and diff comments) for the current branch's open PR, streamlining code-review visibility in-context.

Core Features & Use Cases

  • Aggregates PR-level comments, inline diff comments, and code-review notes into a single structured payload.
  • Enables quick auditing of modern pull requests without leaving the terminal or your toolchain.
  • Useful for CI dashboards, developer handoffs, and automated review summaries.

Quick Start

Run the bundled script from the skill directory inside a git repository with an open PR to fetch and print the review comments in JSON.

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 in JSON format?

You can fetch GitHub PR review comments in JSON format by running a script within your git repository that aggregates PR-level, diff, and review comments for the current branch's open pull request into a structured payload.

Can I get inline diff comments and code review notes from a pull request?

Yes, you can get inline diff comments alongside PR-level comments and code review notes. The tool aggregates all these comment types into a single JSON array containing author, body, and location metadata.

How do I automate pulling code review comments for CI dashboards?

To automate pulling code review comments for CI dashboards, execute the bundled script from your git repository. It automatically detects the current branch's open PR and outputs a structured JSON payload suitable for automated review summaries.

What data fields are included when fetching GitHub PR comments?

Fetching GitHub PR comments produces a JSON schema including local_repository_path, base_branch, and a comments array. Each comment contains comment_id, author, last_modified_timestamp, comment_body, html_url, and optional location or reply metadata.

Do I need an open PR on the current branch to fetch review comments?

Yes, you need an open pull request on the current branch within a git repository. The tool operates by detecting the active PR for the current branch to aggregate and return the associated review comments.