gh-cli-flow
Installation
SKILL.md
GitHub CLI Coding Flow
Use gh subcommands for all GitHub operations. Subcommands handle pagination, error formatting, and repo detection automatically.
When to Use
- Working with GitHub pull requests (create, review, merge, comment)
- Managing issues (create, view, comment, close, link to PRs)
- Checking CI/Actions status (runs, checks, workflow monitoring)
- Discovering workflows, searching code/commits, managing labels
Critical Rule
Prefer gh subcommands over raw gh api when a subcommand exists. Subcommands handle pagination, error formatting, and repo detection automatically. Only use gh api for operations not covered by subcommands (line-specific PR comments, review thread resolution, GraphQL queries).
Read-Only Operations
Related skills