pr-comments

Fetch and display GitHub PR review comments for the current branch.

88|19|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/Heartcoolman/warp-cn --skill pr-comments-heartcoolman
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: pr-comments
Source: https://github.com/Heartcoolman/warp-cn/tree/main/resources/bundled/skills/pr-comments
Command: npx skills add https://github.com/Heartcoolman/warp-cn --skill pr-comments-heartcoolman

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of fetching and displaying GitHub PR review comments for the current branch, saving time on manual comment retrieval and review.

Core Features & Use Cases

  • Automated PR Comment Retrieval: Fetches review comments from the current branch's GitHub PR and displays them.
  • Customizable User Interaction: Allows users to decide how to proceed with the comments, such as accepting or rejecting them.
  • Use Case: When working on a PR and want to see the comments and review without manually going to GitHub, this skill provides an efficient way to view and interact with them.

Quick Start

Use the pr-comments skill to fetch and display comments for the current branch's GitHub PR.

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 for your current branch, you can use a skill that automates retrieving PR-level, issue, and diff comments via the gh CLI. It requires an open PR on your current branch and an authenticated gh CLI.

Do I need the gh CLI to view GitHub PR comments locally?โ–ผ

Yes, you need the gh CLI to view GitHub PR comments locally, as the retrieval process depends on it for repository access. The gh CLI must be properly authenticated, and Python 3 is also required to execute the fetching scripts.

What is the best way to automate code review comment retrieval without going to GitHub?โ–ผ

Automating code review comment retrieval without visiting GitHub is best achieved by using a script that fetches and displays PR comments directly in your local environment. This approach centralizes PR-level, issue, and diff comments for efficient review.

Can I fetch all types of GitHub PR comments including diff and review comments?โ–ผ

Yes, you can fetch all types of GitHub PR comments, including PR-level comments, issue comments, diff comments, and reviews. The retrieval process aggregates these comment types so you can interact with them directly in your workflow.

Why does fetching GitHub PR comments fail if my branch has no open PR?โ–ผ

Fetching GitHub PR comments fails if your branch has no open PR because the retrieval mechanism specifically targets the active PR associated with the current branch. An open PR is a mandatory prerequisite for the comment fetching scripts to succeed.

How do I display and interact with GitHub PR review comments in my local environment?โ–ผ

To display and interact with GitHub PR review comments locally, use a fetching skill that pulls the comments and presents them for your decision. You can then choose how to proceed with the comments, such as accepting or rejecting the suggested changes.