GitHub workflow automation — PRs, issues, Actions, repo management. Use when working with GitHub pull requests, issues, CI/CD pipelines, or repository operations.
npx claudepluginhub francoisbgdw/claude-skillsThis skill is limited to using the following tools:
You have full access to the `gh` CLI. Use it for all GitHub operations. The user is authenticated via `gh auth login`.
Guides safe GitHub CLI (gh) operations for pull requests, issues, repo info, searches, workflows, codespaces, and automation from the terminal.
Executes GitHub CLI (gh) commands for PR status/checks/merges, issue listing/creation/viewing, repo viewing, and more. Requires gh installed/authenticated in GitHub repos.
Share bugs, ideas, or general feedback.
You have full access to the gh CLI. Use it for all GitHub operations. The user is authenticated via gh auth login.
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "not a git repo"gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "no repo detected"gh pr view --json number,title,state -q '"\(.number): \(.title) [\(.state)]"' 2>/dev/null || echo "no PR on this branch"# List open PRs
gh pr list
# View PR details with diff
gh pr view <number>
gh pr diff <number>
# View PR checks and review status
gh pr checks <number>
gh pr view <number> --json reviews,statusCheckRollup
# View PR comments and review comments
gh api repos/{owner}/{repo}/pulls/<number>/comments
gh pr view <number> --comments
# Create PR from current branch
gh pr create --title "title" --body "description"
# Create draft PR
gh pr create --draft --title "title" --body "description"
# Merge PR (prefer squash for clean history)
gh pr merge <number> --squash --delete-branch
# Request review
gh pr edit <number> --add-reviewer <username>
When reviewing a PR:
gh pr view <number>gh pr diff <number>gh pr diff <number> --name-onlygh pr checks <number>gh pr review <number> --approve or --request-changes --body "feedback"# List issues (with filters)
gh issue list
gh issue list --label "bug" --assignee "@me"
# Create issue
gh issue create --title "title" --body "description" --label "bug"
# Close issue with comment
gh issue close <number> --comment "Fixed in PR #123"
# Link issue to PR (in PR body, use "Closes #123" or "Fixes #123")
# List recent workflow runs
gh run list
# View a specific run
gh run view <run-id>
# View failed run logs
gh run view <run-id> --log-failed
# Re-run failed jobs
gh run rerun <run-id> --failed
# Watch a running workflow
gh run watch <run-id>
# List workflows
gh workflow list
# Trigger a workflow manually
gh workflow run <workflow-name>
# Search code in the repo
gh api search/code -X GET -f q="<query> repo:{owner}/{repo}"
# View releases
gh release list
gh release view <tag>
# Compare branches
gh api repos/{owner}/{repo}/compare/<base>...<head>
# View repo stats
gh repo view --json description,stargazerCount,forkCount,primaryLanguage