What problem does it solve?
It helps you use the GitHub CLI in restricted or non-interactive shells without brittle parsing, interactive hangs, or runaway pagination.
Core Features & Use Cases
- Structured GitHub queries: Prefer
gh subcommands with --json/--jq/--template to extract the exact fields you need for issues, pull requests, workflow runs, and API-derived metadata.
- Safe command routing for PRs and issues: Use the right
gh issue ... vs gh pr ... surfaces, and pivot to broader API calls only when native subcommands cannot provide a clean field.
- Reliability and safety guardrails: Avoid endless pagination, fragile shell pipelines, and interactive editor prompts by validating outputs and selecting bounded fallbacks.
Quick Start
Use the gh skill to fetch pull request metadata in JSON form for a given PR number, for example: "Get PR #123 data (title, state, commits, and review decision) using GitHub CLI structured output."