gh-cli
FreeRuns bundled scriptsNot checkedStandardize all GitHub work via `gh` CLI (repos, issues, PRs, reviews, Actions, labels, releases). Trigger on any GitHub URL (incl. deep links like /pull/123…
by devon-systems★ 250 GitHub starsAbout this skill
GitHub gh CLI
Use gh for all GitHub work. Discover flags and --json fields with gh <command> --help and gh help formatting instead of guessing or loading a cookbook. Verify auth once per session, or when debugging it, with gh auth status.
Operating rules (do not skip)
- First-class commands first. Use
gh issue,gh pr,gh repo,gh run,gh workflow,gh release, and so on. Usegh apionly when no dedicated command exists, and say which endpoint and why. - Machine-readable output. Use
--json <fields> -q '<jq>'instead of parsing table output. Return only the value asked for, not the full blob. - Explicit repo targeting. Prefer
-R OWNER/REPOoutside a known checkout. If you infer the repo from the directory, confirm it withgh repo view --json nameWithOwner -q .nameWithOwner. For repeated work in one checkout,gh repo set-default OWNER/REPO. - Confirm state changes. Ask before destructive or hard-to-reverse changes: closing, merging, deleting, resolving or unresolving review threads, branch protections, permissions. Routine reversible output (review reply, comment,
gh pr checkout) needs no extra gate. Keep settings changes small and reversible.
PR review feedback
Inline review comments and thread resolution state need gh api, not first-class commands. Load references/gh-commands.md only for that workflow or for gh api REST and GraphQL fallbacks.
Tooling
Scripts live in scripts/ relative to this skill.
scripts/gh_context.sh # gh version/auth + active repo, for debugging targeting
scripts/pr_feedback.sh -R OWNER/REPO PR_NUMBER > pr-feedback.json
Reply to review feedback:
# Inline review comment (REST)
scripts/pr_review_comment_reply.sh -R OWNER/REPO PR_NUMBER COMMENT_ID --body "..."
# Review thread (GraphQL)
scripts/pr_review_thread_reply.sh PRRT_... --body "..."
# Resolve a review thread (state change; --yes required)
scripts/pr_review_thread_resolve.sh --yes PRRT_...
# Reopen a resolved thread (state change; --yes required)
scripts/pr_review_thread_unresolve.sh --yes PRRT_...
Install gh-cli in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the gh-cli skill do?
Standardize all GitHub work via `gh` CLI (repos, issues, PRs, reviews, Actions, labels, releases). Trigger on any GitHub URL (incl. deep links like /pull/123, /issues/123,
How do I install the gh-cli skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the gh-cli skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic