gh-cli

Automate GitHub operations for repositories, issues, and pull requests via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub CLI (gh) centralizes GitHub operations in your terminal, reducing context switching and speeding up daily workflows by providing a comprehensive reference and command set.

Core Features & Use Cases

  • Authentication workflows: login, token management, and multi-host configurations from the shell.
  • Repo, Issues, PRs & Projects: browse, create, edit, and manage repositories, issues, pull requests, projects, and releases without leaving the terminal.
  • Automation & Data Access: generate JSON outputs, script repetitive tasks, and integrate gh with CI pipelines.

Quick Start

Start using gh to manage a repository and issues from the command line. For example:

  • gh auth login
  • gh repo list
  • gh issue list
  • gh pr create --title "New feature" --body "Details" --repo owner/repo

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I manage GitHub repositories, issues, and pull requests from the command line?

You can manage GitHub repositories, issues, and pull requests from the command line by using GitHub CLI to browse, create, and edit resources directly within your terminal, reducing context switching.

Can I automate GitHub workflows and export repository data as JSON?

Yes, you can automate GitHub workflows and export JSON data by scripting repetitive tasks with GitHub CLI commands, enabling seamless integration with your CI pipelines and data processing scripts.

Do I need to install and authenticate GitHub CLI separately to manage repos?

Yes, you need GitHub CLI installed and authenticated to manage repos, requiring an initial login and token management setup from your shell to enable terminal-based operations.

What is the best way to handle authentication for multiple GitHub organizations in the terminal?

Handling authentication for multiple GitHub organizations in the terminal is done through GitHub CLI's multi-host configurations and token management, allowing you to switch contexts and manage access centrally.

Can I create GitHub releases and manage codespaces without leaving the terminal?

Yes, you can create GitHub releases and manage codespaces without leaving the terminal by executing specific GitHub CLI commands designed for these workflows across your organizations.