gh-cli

Reference gh command syntax, flags, and examples across subcommands.

1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/firstsun-dev/yao-agent-skills --skill gh-cli-firstsun-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/firstsun-dev/yao-agent-skills/tree/main/external/develop/devops/gh-cli
Command: npx skills add https://github.com/firstsun-dev/yao-agent-skills --skill gh-cli-firstsun-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub CLI gh usage can be hard to remember across dozens of commands; this Skill provides a centralized, searchable reference for gh commands and options.

Core Features & Use Cases

  • Comprehensive command taxonomy for gh, including repositories, issues, pull requests, actions, projects, releases, gists, codespaces, and organizations.
  • Quick lookups of syntax, flags, and examples to accelerate day-to-day workflows.
  • Real-world scenarios such as creating a PR, labeling issues, and scripting repetitive tasks from the CLI.

Quick Start

Ask it to display the gh pr create command with the required flags for a new pull request.

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 create a pull request from the command line?

To create a pull request with the GitHub CLI, use the `gh pr create` command and provide the required flags for your title, body, and target branch. This Skill provides quick lookups of syntax, flags, and real-world examples for this and other gh subcommands.

What gh commands are available for automating GitHub workflows and repetitive tasks?

The GitHub CLI supports automating workflows across repositories, issues, pull requests, actions, projects, releases, gists, codespaces, and organizations. This Skill provides a comprehensive command taxonomy and usage patterns to accelerate day-to-day DevOps tasks.

How can I quickly look up the syntax and flags for labeling issues using gh?

You can quickly look up syntax and flags for labeling issues using gh by referencing the complete command taxonomy in this Skill. It provides centralized, searchable examples to help developers script repetitive issue management tasks from the CLI.

Does the GitHub CLI reference cover commands for managing GitHub Actions and Codespaces?

Yes, the GitHub CLI reference covers commands for managing GitHub Actions and Codespaces. This Skill provides a centralized reference for syntax, flags, and examples across these subcommands to enable rapid task completion.

What is the best way to find the exact options needed for a specific gh command?

The best way to find exact options for a specific gh command is using this centralized reference. It maps the complete command taxonomy and usage patterns for the GitHub CLI, allowing you to quickly look up required flags and real-world examples.

Why should I use a gh command reference instead of searching documentation for syntax?

Using a gh command reference eliminates the difficulty of remembering syntax across dozens of GitHub CLI commands. It provides a searchable taxonomy of commands, flags, and examples to accelerate day-to-day developer workflows and automation scripting.