view-pr-comments

Fetch GitHub PR details, comments, and reviews via gh CLI.

1|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/gmliao/swift-state-tree --skill view-pr-comments
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: view-pr-comments
Source: https://github.com/gmliao/swift-state-tree/tree/main/.agent/skills/SwiftStateTree/view-pr-comments
Command: npx skills add https://github.com/gmliao/swift-state-tree --skill view-pr-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you quickly retrieve GitHub PR details, comments, and reviews, enabling faster triage and decision-making.

Core Features & Use Cases

  • Retrieve PR meta information (title, status, author)
  • Pull all comments and review notes for a PR
  • Use in chat or automation to summarize PR activity

Quick Start

Ask the system to view a PR's details and discussion by running gh pr view --comments; for more granular data, fetch JSON with gh pr view --json comments,reviews and gh api to list comments.

Frequently Asked Questions about view-pr-comments

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

FAQPage Schema
How do I fetch GitHub PR comments and reviews using gh CLI?▼

Fetch GitHub PR comments and reviews by running `gh pr view --comments` to retrieve a readable discussion view, or use `gh pr view --json comments,reviews` and `gh api` for granular JSON data collection.

What is the best way to consolidate pull request details and review feedback across repositories?▼

Consolidate pull request details and review feedback across repositories by applying a skill that uses `gh pr view` and `gh api` to collect metadata, comments, and reviews into a single readable format for faster triage.

Can I retrieve PR meta information like title, status, and author in a single command?▼

Retrieve PR meta information like title, status, and author by running `gh pr view --json` to pull structured data directly from GitHub, allowing you to collect metadata alongside comments and reviews.

How do I get a quick consolidated view of a PR's discussion and status?▼

Get a quick consolidated view of a PR's discussion and status by using `gh pr view --comments` to fetch review notes and conversation threads, presenting the feedback in a readable format for decision-making.

Does this skill require any external dependencies to fetch pull request data?▼

Fetching pull request data requires no external dependencies beyond the GitHub CLI, utilizing built-in commands like `gh pr view` and `gh api` to retrieve details, comments, and reviews directly from repositories.