GitHub workflow automation — PRs, issues, Actions, repo management. Use when working with GitHub pull requests, issues, CI/CD pipelines, or repository operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/data-engineering-skills:githubThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You have full access to the `gh` CLI. Use it for all GitHub operations. The user is authenticated via `gh auth login`.
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
npx claudepluginhub francoisbgdw/claude-skillsGitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation.
Displays GitHub PR dashboard in terminal with status, CI/CD progress bars, bot comments, file changes, and merge options including squash/rebase.