gh-cli

Reference gh CLI commands for GitHub repository, issue, and PR operations.

7|1|Updated Mar 30, 2024
One-click install
npx skills add https://github.com/Lionad-Morotar/simple-local-llm-server --skill gh-cli-lionad-morotar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/Lionad-Morotar/simple-local-llm-server/tree/main/local-link/skills/gh-cli
Command: npx skills add https://github.com/Lionad-Morotar/simple-local-llm-server --skill gh-cli-lionad-morotar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub CLI (gh) provides a centralized, command-line reference that consolidates all GitHub operations across repositories, issues, PRs, actions, and more into a single, easy-to-navigate resource.

Core Features & Use Cases

  • Comprehensive coverage of gh commands from root to subcommands (repos, issues, PRs, actions, projects, releases, gists, codespaces, organizations, extensions) for quick reference.
  • Real-world workflows: create and manage issues/PRs, automate deployments, inspect workflows, and navigate organizations from the terminal.
  • Use Case: when you need to perform multiple GitHub tasks without leaving your terminal, this guide maps commands to typical workflows.

Quick Start

Install gh and start managing repositories, issues, and PRs directly from your terminal.

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 and PRs from the command line?

You can manage GitHub repositories and PRs from the command line by using the gh CLI, which provides a comprehensive reference for creating issues, managing pull requests, and automating deployments directly from your terminal.

What is the best way to automate GitHub workflows without leaving the terminal?

Automating GitHub workflows from the terminal is best done using gh CLI, which maps real-world commands to typical workflows for inspecting actions, navigating organizations, and managing releases without leaving your command prompt.

Can I use gh CLI to manage issues and actions across team organizations?

Yes, you can use gh CLI to manage issues and actions across team organizations, as it consolidates operations for projects, codespaces, and organizations into a single, easy-to-navigate command-line reference resource.

Does gh CLI require any special dependencies to start running GitHub operations?

Starting gh CLI requires no special dependencies; you simply install the GitHub CLI application to begin managing repositories, issues, PRs, and workflows directly from your terminal environment.

Why use GitHub CLI instead of the web interface for repository management?

Using GitHub CLI for repository management centralizes all operations into a single command-line resource, allowing developers and sysadmins to perform multiple tasks and automate deployments efficiently without switching contexts.

What gh commands are available for managing gists and codespaces?

The gh CLI provides comprehensive command coverage from root to subcommands, specifically including dedicated sections for managing gists and codespaces alongside core repository and PR management operations.