GitHub CLI Operations
Installation
SKILL.md
GitHub CLI Operations
Use GitHub CLI (gh) to interact with GitHub repositories, pull requests, issues, and workflows.
Prerequisites
- GitHub CLI installed:
brew install gh(macOS) or see cli.github.com - Authenticated:
gh auth login(one-time setup) - Repository context: Run commands from within a git repository or specify
--repo owner/repo
Quick Start
Get PR details:
gh pr view <pr-number> --json title,body,author,state