gh-cli

Reference GitHub CLI commands for managing PRs, issues, commits, and repositories.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/meganide/claude --skill gh-cli-meganide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/meganide/claude/tree/main/skills/gh-cli
Command: npx skills add https://github.com/meganide/claude --skill gh-cli-meganide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The gh-cli skill provides a concise, in-context reference for using the GitHub CLI to manage PRs, issues, commits, and repositories from the terminal, reducing context-switching and speeding up common workflows.

Core Features & Use Cases

  • Command reference: Quick access to gh pr, gh issue, gh repo, and gh api commands with common flags.
  • Workflow acceleration: Simplifies local development tasks like listing PRs, creating issues, and inspecting commits from the terminal.
  • Use Case: A developer can run gh pr list to surface open PRs in the current repo and gh issue view to review issues without leaving the terminal.

Quick Start

Try: gh pr list to show open pull requests in the current repository; then gh issue list --state open to review issues.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I list open pull requests from the terminal using GitHub CLI?

GitHub CLI lists open pull requests from the terminal using the gh pr list command. This surfaces all active PRs in your current repository, enabling quick in-terminal review without context switching to a web browser.

What is the best way to view GitHub issues locally during development?

The best way to view GitHub issues locally is using the gh issue view or gh issue list commands. GitHub CLI fetches issue details directly in your terminal, reducing context switching and accelerating local development workflows.

Can I manage GitHub commits and repositories without leaving the terminal?

Yes, you can manage GitHub commits and repositories without leaving the terminal. GitHub CLI supports inspecting commits and browsing repositories through gh repo commands, enabling efficient in-terminal actions during development.

Does GitHub CLI work for managing repository workflows and API requests?

GitHub CLI works for managing repository workflows and API requests via the gh api command. It aligns with gh command syntax and flags, guiding users to invoke repository and API commands efficiently for common development tasks.

Do I need any special dependencies to use gh commands for PRs and issues?

You do not need special dependencies to use gh commands for PRs and issues. GitHub CLI operates as a standalone terminal reference, requiring only the base gh installation to manage pull requests, issues, and commits efficiently.