gh-cli

Automate GitHub operations using the GitHub CLI command reference.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Hanseooo/hanseo-opencode-workflows --skill gh-cli-hanseooo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/Hanseooo/hanseo-opencode-workflows/tree/main/skills/gh-cli
Command: npx skills add https://github.com/Hanseooo/hanseo-opencode-workflows --skill gh-cli-hanseooo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub CLI (gh) is a powerful tool for managing GitHub resources from the terminal; this skill provides a complete reference with commands, examples, and usage patterns to reduce context switching.

Core Features & Use Cases

  • Comprehensive reference of gh subcommands, flags, and authentication flows for repositories, issues, PRs, workflows, codespaces, and more.
  • Quick start-oriented guidance for common workflows like creating PRs, managing issues, reviewing code, and automating repetitive tasks.
  • Real-world scenarios and examples to accelerate day-to-day GitHub operations from the command line.

Quick Start

Install gh and start managing GitHub repositories, issues, and PRs from the command line.

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?

The GitHub CLI (gh) provides subcommands and flags to handle repository management, create pull requests, and manage issues directly from the command line without context switching.

What is the GitHub CLI used for in repository management?

The GitHub CLI is used for repository management, issue and pull request handling, code reviews, and workflow operations across personal and team projects directly from the terminal.

How do I authenticate with GitHub CLI to start managing repositories?

You authenticate with GitHub CLI using built-in authentication flows to securely connect your account, enabling you to start managing repositories, issues, and pull requests from the command line.

Can I automate GitHub workflows and code reviews using gh commands?

Yes, you can automate GitHub workflows and code reviews using gh commands, applying subcommands and practical examples to accelerate repetitive daily operations and team project tasks.

Does GitHub CLI support managing codespaces and workflows for team projects?

GitHub CLI supports managing codespaces and workflows for team projects, offering a comprehensive reference of subcommands and flags for these resources across personal and collaborative environments.

What is the best way to reduce context switching when working with GitHub repositories?

The best way to reduce context switching when working with GitHub repositories is using the GitHub CLI to handle repository management, code reviews, and workflow operations entirely from the command line.