gh-cli

Reference GitHub CLI commands, syntax, and workflows across repositories, issues, and PRs.

2|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/forgivesam168/ai-dev-workflow --skill gh-cli-forgivesam168
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/forgivesam168/ai-dev-workflow/tree/main/skills/gh-cli
Command: npx skills add https://github.com/forgivesam168/ai-dev-workflow --skill gh-cli-forgivesam168

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a concise, up-to-date reference for the GitHub CLI (gh), enabling users to quickly look up commands, syntax, and workflow usage without scouring docs.

Core Features & Use Cases

  • Comprehensive command catalog for gh covering repositories, issues, pull requests, actions, projects, releases, gists, codespaces, organizations, and extensions.
  • Quick-start examples and usage patterns for common tasks such as authentication, repository management, PR creation, and issue handling.
  • Use Case: When you need a fast, in-context reminder of how to create a PR, view a repo, or configure gh authentication in a team environment.

Quick Start

Start by running gh help to list commands and explore usage with example commands like gh repo view --help or gh issue list --help to see practical syntax.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I use the GitHub CLI to manage pull requests and issues?

The GitHub CLI provides a comprehensive command catalog for managing pull requests and issues. Use commands like gh pr create or gh issue list to handle common workflows directly from the terminal.

What is the best way to look up GitHub CLI command syntax and usage?

Run gh help to list commands and explore usage. Use specific help flags like gh repo view --help or gh issue list --help to see practical syntax and quick-start examples for GitHub CLI commands.

How do I configure GitHub CLI authentication for a team environment?

Configure GitHub CLI authentication for a team environment using the gh auth command. The CLI provides up-to-date guidance for securely managing credentials and team-based repository access across GitHub workflows.

Can I get JSON output from GitHub CLI commands for automation?

Yes, the GitHub CLI supports JSON output and templating capabilities for automation. You can format command results as structured data to integrate GitHub workflows into automated scripts and pipelines.

Does the GitHub CLI reference cover GitHub Actions and Codespaces?

Yes, the GitHub CLI reference covers GitHub Actions and Codespaces. The comprehensive command catalog includes syntax and workflows for actions, codespaces, projects, releases, gists, and organizations.