gh

Automate GitHub workflows using gh CLI commands and API access.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/KIM-KYOUNG-OH/dotfiles --skill gh-kim-kyoung-oh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/KIM-KYOUNG-OH/dotfiles/tree/main/.claude/skills/gh
Command: npx skills add https://github.com/KIM-KYOUNG-OH/dotfiles --skill gh-kim-kyoung-oh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub operations such as creating PRs, reviewing issues, and managing repositories require context switching between terminal and browser; this skill consolidates guidance and mental models to perform these tasks entirely from the command line.

Core Features & Use Cases

  • Comprehensive mental model of gh command structure (pr, issue, repo) to guide daily workflows
  • API access via gh api for REST and GraphQL interactions
  • Authentication, configuration, and repository context resolution for frictionless automation
  • Practical workflow patterns and examples for day-to-day development and release tasks

Quick Start

Install GitHub CLI, authenticate, and start managing PRs, issues, and repos from the terminal.

Frequently Asked Questions about gh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub workflows from the command line?

The gh CLI automates GitHub workflows by formalizing porcelain commands for PR management, issue handling, and repository operations directly from the terminal. It enables scriptable automation to eliminate browser context switching.

Can I access GitHub REST and GraphQL APIs using gh?

Yes, the gh api command provides direct access to both REST and GraphQL endpoints for custom GitHub automation. This allows scriptable API interactions beyond standard porcelain commands for complex repository operations.

What is the best way to manage pull requests across multiple repositories?

Using gh pr porcelain commands enables managing pull requests across single and multi-repo contexts from the terminal. The skill formalizes these commands with practical workflow patterns for scriptable multi-repo automation.

Do I need to configure authentication before using gh CLI for issue handling?

Yes, authentication and configuration setup are required before handling issues via gh issue commands. The skill provides authentication patterns and repository context resolution to ensure frictionless, scriptable issue automation.

How does gh CLI handle repository context resolution for scriptable usage?

The gh CLI resolves repository context to enable frictionless automation across single and multi-repo environments. This skill details configuration patterns ensuring robust, scriptable repository operations without manual context switching.