gh-cli

Automate GitHub repository, issue, PR, and release tasks from the command line.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/dipandhali2021/shipwright --skill gh-cli-dipandhali2021
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/dipandhali2021/shipwright/tree/main/skills/gh-cli
Command: npx skills add https://github.com/dipandhali2021/shipwright --skill gh-cli-dipandhali2021

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub operations and workflows are often tedious and error-prone when done interactively. gh-cli provides a cohesive, scriptable command-line interface to manage repositories, issues, pull requests, releases, codespaces, gists, and more directly from your terminal.

Core Features & Use Cases

  • Unified command-line access to GitHub features (auth, repo, issue, pr, release, workflow, gist, codespace, project, etc.).
  • Rich output formats (JSON, table) and scripting-friendly, automatable workflows.
  • Use cases include bulk repository maintenance, automated PR reviews, release automation, and CI/CD coordination from CI agents or shells.

Quick Start

Install gh, authenticate to GitHub, and start performing common tasks from the terminal.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I automate GitHub repository tasks from the command line?โ–ผ

Automating GitHub repository tasks from the command line involves using a scriptable interface to manage repos, issues, and pull requests without leaving the terminal. This Skill provides command-line access for bulk repository maintenance and automated workflows.

Can I manage pull requests and issues without leaving the terminal?โ–ผ

Yes, you can manage pull requests and issues directly in the terminal. The Skill supports unified command-line access to GitHub features, allowing software engineers to handle PR workflows, issue tracking, and release automation efficiently.

What do I need to set up before using GitHub CLI for automation?โ–ผ

Before using GitHub CLI for automation, you need the GitHub CLI installed and authenticated to your account. Once installed, you can start performing common repository management and DevOps tasks from your shell.

Does GitHub CLI support JSON output for scripting and CI/CD automation?โ–ผ

Yes, GitHub CLI supports JSON output for scripting and CI/CD automation. It offers rich output formats including JSON and table views, making it scriptable for automated PR reviews and CI/CD coordination from agents or shells.

What is the best way to coordinate CI/CD workflows from a shell?โ–ผ

The best way to coordinate CI/CD workflows from a shell is using a scriptable command-line interface to trigger and manage GitHub workflows. This approach allows DevOps teams to automate releases and handle bulk operations programmatically.

Are there limitations when managing GitHub releases and codespaces from the CLI?โ–ผ

Managing GitHub releases and codespaces from the CLI requires the underlying GitHub CLI tool to be installed and properly authenticated. Operations are scriptable, but complex interactive workflows may still require the web interface for full functionality.