gh-cli

Reference gh CLI commands for managing repositories, issues, PRs, and workflows.

1|Updated Feb 11, 2019
One-click install
npx skills add https://github.com/ddieppa/dotfiles --skill gh-cli-ddieppa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/ddieppa/dotfiles/tree/main/.agents/skills/gh-cli
Command: npx skills add https://github.com/ddieppa/dotfiles --skill gh-cli-ddieppa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub operations can be complex and scattered across commands; this skill provides a concise, centralized reference for using the gh CLI to manage repositories, issues, pull requests, actions, and more from the terminal.

Core Features & Use Cases

  • Comprehensive command overview for gh across core areas like authentication, repository management, issues, pull requests, workflows, and codespaces.
  • Quick-start references and command patterns to accelerate day-to-day GitHub automation from the CLI.
  • Use Case: A developer needs to create a PR from a feature branch and assign reviewers without leaving the terminal.

Quick Start

Consult this guide to quickly reference gh commands for common GitHub workflows.

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 terminal?

The gh CLI provides a comprehensive command reference to manage GitHub pull requests, issues, and repository operations directly from the terminal across different platforms.

What is the gh command-line interface used for in repository management?

The gh command-line interface is a centralized reference for repository management, allowing developers to execute commands for authentication, repository browsing, workflow management, and codespace creation from the terminal.

Can I create a GitHub pull request and assign reviewers using command-line tools?

Yes, the gh CLI allows you to create pull requests from feature branches and assign reviewers using specific command patterns, enabling complete PR automation from the terminal.

Does the gh CLI work across different platforms for managing GitHub workflows?

Yes, the gh CLI operates across platforms to manage GitHub workflows, providing developers and ops teams with terminal commands to monitor and execute Actions runs.

What GitHub CLI commands are available for managing codespaces and gists?

The gh command tree includes dedicated commands for managing codespaces and gists, allowing users to discover and execute operations for these resources directly from the terminal.

Why use command-line tools instead of the web interface for GitHub repository operations?

Using command-line tools for GitHub repository operations centralizes scattered tasks into a concise reference, accelerating daily automation workflows for developers and release engineers managing complex operations.