gh

Read and analyze GitHub PR comments and reviews via gh CLI.

6|2|Updated Jul 8, 2012
One-click install
npx skills add https://github.com/athal7/dotfiles --skill gh-athal7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/athal7/dotfiles/tree/main/skills/gh
Command: npx skills add https://github.com/athal7/dotfiles --skill gh-athal7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub CLI streamlines common OSS and personal repo workflows from the terminal, surfacing PRs, issues, comments, and reviews without switching context to the web UI.

Core Features & Use Cases

  • Read and compare PR/issue comments and reviews with gh pr view and gh api to surface author and state
  • Validate and coordinate cross-repo PR workflows using GraphQL queries for batch insights
  • Manage automated reviews and inline comments with guardrails to avoid unintended actions

Quick Start

Install gh and run gh pr view to inspect a PR's comments and reviews.

Frequently Asked Questions about gh

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

FAQPage Schema
How do I read and analyze pull request comments from the command line?

You can read and analyze pull request comments from the command line by using gh pr view and gh api to surface author, state, and review activity directly in your terminal.

Can I use GraphQL queries to validate cross-repo PR workflows?

Yes, you can use GraphQL queries to validate and coordinate cross-repo PR workflows, enabling batch insights and automated review coordination across multiple repositories.

Do I need the GitHub CLI installed to automate code review workflows?

Yes, you need the GitHub CLI installed to automate code review workflows, as it relies on gh commands and GraphQL queries to collect data and manage review status checks.

What is the best way to extract issue and PR activity for OSS workflows?

The best way to extract issue and PR activity for OSS workflows is using gh api and GraphQL queries to collect comments, reviews, and related activity with guardrails against unintended actions.

Are there limitations when managing automated reviews with gh CLI?

Limitations when managing automated reviews with gh CLI include avoiding unintended unsafe actions, requiring explicit guidance on command forms to prevent destructive operations during coordination.