From github-cli
REQUIRED for ANY GitHub repository operations via the gh CLI. Use when the user asks to "create an issue", "list issues", "create PR", "search issues", "create release", "view PR comments", "check CI status", "manage labels", "set secret", "set variable", "create discussion", or any gh CLI operation. Triggers: issue, PR, pull request, release, GitHub, gh command, repository, milestone, label, assignee, workflow, actions, gist, secret, variable, discussion, sub-issue, parent issue, issue type. When this skill is invoked, use the gh CLI to execute the requested operation. Always use --json flag for structured output when parsing is needed. For multi-line content (issue/PR bodies), use HEREDOC syntax.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-cli:github-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform GitHub repository operations using the `gh` CLI.
Perform GitHub repository operations using the gh CLI.
ALWAYS invoke this skill when the user's request involves ANY of these:
Scope boundary: For GitHub Projects v2 (project boards, phases, cross-repo backlogs), use the project-management:project-management skill instead.
Each gh subcommand has detailed documentation in its reference file:
| Command | Operations | Reference |
|---|---|---|
gh issue | Create, list, search, view, edit, close | issue.md |
gh pr | Create, list, view, review, merge, status, ready, reopen | pr.md |
gh release | Create, list, view, delete | release.md |
gh search | Search issues, PRs, code across repos | search.md |
gh workflow / gh run | List, view, trigger, watch, download artifacts | workflow.md |
gh api | REST and GraphQL API calls | api.md |
gh gist | Create, list, view gists | gist.md |
gh label | Create, list, edit, delete, clone labels | label.md |
| Discussions | Create, list, view, update, close, comment (via GraphQL) | discussion.md |
| Sub-issues | Add, list, remove, reprioritize sub-issues (via GraphQL) | sub-issue.md |
| Issue types | List, create, update, delete, assign types (via GraphQL) | issue-type.md |
gh secret | Set, list, delete secrets (repo, env, org) | secret.md |
gh variable | Set, get, list, delete variables (repo, env, org) | variable.md |
--json flag when you need to parse or filter resultsgh auto-detects the repo from the current git directory--limit to control result counts for search/list operations--web flag to open in browser when CLI output is insufficient--label multiple times or comma-separated for multiple labels-R owner/repo to target a different repository-e, -o flagsCommon HTTP errors when using gh api or other subcommands:
GitHub enforces rate limits on API requests. When you encounter rate-limit errors:
# Check current rate limit status
gh api rate_limit --jq '.resources.core'
# Check GraphQL rate limit
gh api rate_limit --jq '.resources.graphql'
If rate-limited, wait for the reset window indicated in the response. For automated scripts, use the Retry-After header value returned by the API to determine how long to wait before retrying.
If commands fail with authentication errors:
# Check current auth status
gh auth status
# Re-authenticate if needed
gh auth login
# Verify token scopes are sufficient for the operation
gh auth status -t
Common causes: expired token, missing scopes (e.g., repo, workflow, admin:org), or SSO authorization required for organization repositories.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub tailored-agentic-units/tau-marketplace --plugin github-cli