gh-cli

Guide GitHub CLI commands and extensions from the terminal.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users effectively harness GitHub CLI commands and extensions directly from the terminal, reducing context switching between UI and CLI and speeding up routine tasks.

Core Features & Use Cases

  • Guided usage for common gh commands (auth, repo, issue, pr, codespace, api)
  • Extension development guidance including creating and testing gh extensions
  • Practical examples and templates to automate repetitive tasks like creating issues, pushing PRs, and querying data

Quick Start

Example: Ask for a quick start by requesting basic gh guidance, or try: gh --help to see global options and gh repo view OWNER/REPO to see a typical command usage.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I use GitHub CLI commands to automate repository and pull request workflows?

GitHub CLI commands like gh repo and gh pr automate repository workflows by executing tasks directly from the terminal. This guidance generates concrete command examples for creating issues, pushing PRs, and querying data to reduce UI context switching.

Can I develop and test custom extensions for GitHub CLI?

Yes, you can develop and test custom GitHub CLI extensions. This Skill provides extension development guidance, including creating and testing gh extensions to automate repetitive command-line tasks tailored to your specific workflow.

What is the best way to query GitHub API data using command-line automation?

The best way to query GitHub API data via command-line automation is using the gh api command. It allows precise data extraction directly from the terminal, enabling scripting and automation without switching to the web interface.

Does GitHub CLI support managing codespaces and authentication from the terminal?

Yes, GitHub CLI supports managing codespaces and authentication via gh codespace and gh auth commands. You can securely log in, manage codespace environments, and execute remote development tasks entirely from the command line.

How do I interpret GitHub CLI command syntax and options for scripting?

Interpreting GitHub CLI command syntax requires precise analysis of command options and help outputs. This guidance applies to command-line automation scenarios by generating actionable examples and templates for scripting routine GitHub operations.

When should I use GitHub CLI instead of the web interface for issue tracking?

Use GitHub CLI for issue tracking when you need to automate repetitive tasks or integrate with scripts. Commands like gh issue allow rapid creation and management directly from the terminal, significantly speeding up routine workflows.