What problem does it solve?
This Skill provides a structured mental model and practical command references for GitHub CLI (gh). It helps developers, operators, and CI engineers work with PRs, issues, releases, and GitHub automation without leaving the terminal, reducing context switching and speed up workflows.
Core Features & Use Cases
- Mental Model & Command Structure: Understand gh's three-layer approach (porcelain commands, API access, Git integration) and how they map to real-world workflows.
- Unified Workflow Guidance: Guidance for PR operations (
gh pr), issues (gh issue), repository tasks (gh repo), and releases.
- Automation & API Access: How to use
gh api for REST/GraphQL calls and how to integrate with erk for worktree patterns.
- Reference-Loaded Loading Strategy: When to load the comprehensive
references/gh.md and references/graphql.md for advanced graph queries and integration.
- Use case examples: a daily PR triage, authenticating and configuring gh, and automating 1-click PR creation.
Quick Start
Install and configure GitHub CLI, authenticate, set defaults, and try a simple PR operation like listing open PRs in your current repo.