gh-cli

Manage GitHub repositories, issues, pull requests, and workflows via gh CLI.

Updated Aug 18, 2025
One-click install
npx skills add https://github.com/hdicko/leidimen --skill gh-cli-hdicko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/hdicko/leidimen/tree/main/.github/skills/gh-cli
Command: npx skills add https://github.com/hdicko/leidimen --skill gh-cli-hdicko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a concise, actionable command-line reference and usage guidance so developers and maintainers can manage GitHub repositories, issues, pull requests, Actions, releases, gists, codespaces and projects without leaving the terminal.

Core Features & Use Cases

  • Authentication & Setup: Interactive and token-based login, manage hosts, and configure git credential helpers.
  • Repository Operations: Create, clone, fork, edit, rename, archive, sync, and view repositories with scripting-friendly outputs.
  • Issues & Pull Requests: Create, list, view, comment, review, checkout, merge, and manage PR lifecycle and issue workflows.
  • CI/CD and Actions: List and inspect workflow runs, view logs, rerun or cancel runs, manage secrets, caches, and run workflows manually.
  • Codespaces, Releases & Gists: Create and manage codespaces, publish and download releases with assets, and create or edit gists.
  • Use Case: A maintainer can authenticate, list failing workflow runs, reopen a branch, create a pull request, and merge it using scripted gh commands for CI troubleshooting and release preparation.

Quick Start

Use the gh-cli skill to authenticate to GitHub, list open pull requests in the current repository, and show their status.

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 pull requests and issues from the command line?

You can manage GitHub pull requests and issues from the command line by using the gh CLI to create, list, view, comment, review, checkout, and merge them directly within your terminal workflow.

Can I use the gh CLI to troubleshoot failing CI/CD workflow runs?

Yes, you can use the gh CLI to troubleshoot CI/CD workflows by listing and inspecting workflow runs, viewing logs, rerunning or canceling runs, and managing secrets or caches directly from your terminal.

What do I need to authenticate with GitHub via the terminal for automation scripts?

To authenticate with GitHub via the terminal for automation scripts, you need an installed gh CLI, an authenticated account or token, and JSON output support configured for scripting and CI/CD integration.

How do I automate repository management tasks like cloning and archiving without leaving the terminal?

You can automate repository management tasks like cloning and archiving without leaving the terminal by executing gh CLI commands to create, fork, edit, rename, archive, and sync repositories with scripting-friendly outputs.

Does the gh CLI support managing codespaces, releases, and gists?

Yes, the gh CLI supports managing codespaces, releases, and gists by allowing you to create and manage codespaces, publish and download releases with assets, and create or edit gists directly from the command line.