github-cli

Solid

Advanced GitHub CLI workflows for PR review, CI/CD debugging, Actions management, API queries, and code search. Use when the user needs to review PRs, debug failing checks, manage workflows, search across repos, or make complex gh API calls. Not needed for basic gh commands the agent already knows.

Code & Development 183 stars 39 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
75
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
99
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# GitHub CLI Workflows Advanced reference for GitHub CLI operations. Requires `gh` to be installed and authenticated. **Documentation:** https://cli.github.com/manual/ For basic commands (create/list/view PRs, issues, repos, releases), see `references/basic-commands.md`. ## Prerequisites If `gh` is not installed or not authenticated, instruct the user to run: ```bash # Install: brew install gh (macOS) or see https://github.com/cli/cli/blob/trunk/docs/install_linux.md gh auth login gh auth status ``` ## PR Review & Inspection ```bash # Review actions gh pr review 123 --approve gh pr review 123 --request-changes --body "Please fix..." gh pr review 123 --comment --body "Looks good but..." # Merge gh pr merge 123 --squash --delete-branch # Checks, diff, comments gh pr checks 123 gh pr diff 123 gh api repos/{owner}/{repo}/pulls/123/comments ``` ## Actions / Workflows ```bash # List runs (optionally filter by workflow) gh run list gh run list --workflow build.yml # Inspect a run gh run view 12345 gh run view 12345 --log # Re-run failures gh run rerun 12345 --failed # Watch a running workflow gh run watch 12345 ``` ## API Access ```bash # REST gh api repos/{owner}/{repo} gh api repos/{owner}/{repo}/issues --method POST --field title="New issue" --field body="Description" # GraphQL gh api graphql -f query='{ viewer { login } }' # Pagination gh api repos/{owner}/{repo}/pulls --paginate ``` ## Search ```bash gh search code "function_name" --repo owner/repo gh searc...

Details

Author
majiayu000
Repository
majiayu000/claude-skill-registry
Created
5 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category