gh-cli

Reference gh CLI commands for GitHub repository and workflow management.

3|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/tfsugjp/csharptemplate --skill gh-cli-tfsugjp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/tfsugjp/csharptemplate/tree/main/.github/skills/gh-cli
Command: npx skills add https://github.com/tfsugjp/csharptemplate --skill gh-cli-tfsugjp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub operations are often cumbersome through the web UI; this Skill provides a comprehensive gh CLI reference to streamline tasks from the terminal.

Core Features & Use Cases

  • Comprehensive gh command reference spanning auth, repo, issue, pr, workflow, codespace, and more.
  • Use cases include scripting automation, CI/CD workflows, and rapid project management from the command line.
  • Ambitious workflows: manage repositories, issues, PRs, and actions directly from scripts.

Quick Start

Run gh help to see available commands and then try gh repo view owner/repo to explore a repository.

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

The gh CLI streamlines GitHub management from the terminal by providing commands to view, create, and manage repositories, issues, and pull requests, replacing cumbersome web UI operations with rapid command-line execution.

Can I use gh CLI commands for scripting automation and CI/CD workflows?

Yes, gh CLI commands support scripting automation and CI/CD workflows by providing a full command reference that enables rapid project management and workflow automation directly from scripts.

What is the best way to explore a GitHub repository using gh?

The best way to explore a GitHub repository using gh is to run `gh repo view owner/repo`, which allows you to quickly inspect repository details and metadata directly from your terminal.

Does GitHub command-line interface support managing actions and workflows?

Yes, the GitHub command-line interface supports managing actions and workflows. The gh CLI covers a comprehensive command hierarchy including workflow and codespace management for everyday developer tasks.

How do I get started with the gh command hierarchy for everyday tasks?

To get started with the gh command hierarchy, run `gh help` to see available commands. This displays the full list of subcommands and options for managing auth, repositories, issues, and pull requests.