Manage GitHub via GitHub CLI (gh): repos, issues, pull requests, Actions, releases, secrets/variables, projects, gists, searches, and API access. Auto-activates on: "gh", "github cli", "github...
GitHub operations via gh.
| User says | Load reference | Do |
|---|---|---|
| help / gh help / flags / options | references/cli-help.md |
show CLI help safely |
| auth / login / token | references/auth.md |
authenticate gh |
| repo / clone / fork / sync | references/repo.md |
repository operations |
| issue / issues | references/issue.md |
issue triage and management |
| pr / pull request / review | references/pr.md |
PR create/review/merge workflows |
| actions / workflow / run | references/actions.md |
GitHub Actions (workflows + runs) |
| ci / monitor ci / check ci / ci status / watch ci | references/ci-monitor.md |
monitor CI checks with live polling (if user says bare "ci", ask: monitor checks or view workflows?) |
| pr dashboard / pr overview / open prs / my prs / pr status | references/pr-dashboard.md |
PR overview with status classification |
| release / publish release | references/release.md |
releases + assets + verification |
| release strategy / release format / versioning | references/release-strategy.md |
versioning, title/description format, generation protocol |
| secrets / variables | references/secrets-vars.md |
manage secrets and variables |
| project | references/projects.md |
projects operations |
| gist | references/gists.md |
gist operations |
| search | references/search.md |
search repos/issues/prs/code |
| api | references/api.md |
gh api (advanced) |
| extension | references/extensions.md |
manage gh extensions |
| config | references/config.md |
gh config basics |
gh api as powerful: confirm before any write operation.@me unless the user explicitly names someone else.gh label list), propose the minimal set consistent with repo naming, and confirm before gh label create.Read-only commands are always OK.
Require confirmation:
gh issue create/edit/close/reopen/deletegh pr create/edit/close/merge/reviewgh repo create/edit/rename/archive/delete/syncgh release create/edit/delete, gh release upload, gh release delete-assetgh secret set/delete, gh variable set/deletegh run rerun, gh run cancelgh api calls that mutate state (POST/PATCH/PUT/DELETE)gh auth status
gh release list
gh release view <tag>
gh release view <tag> --web
gh help
gh pr checks <number> --json ...
gh run list --branch <branch> --json ...
gh run view <run-id>
gh run view <run-id> --log-failed