← ClaudeAtlas

github-clilisted

Encourages proactive use of GitHub CLI (gh) for gathering context on PRs, issues, comments, and repository information when working with GitHub-related tasks.
aiskillstore/marketplace · ★ 329 · Code & Development · score 79
Install: claude install-skill aiskillstore/marketplace
# GitHub CLI Context Gathering This skill encourages proactive use of the GitHub CLI (`gh`) to gather rich context when working with GitHub-related tasks. ## Core Philosophy When the user mentions **PRs, issues, branches, code reviews, comments, or anything GitHub-related**, proactively use `gh` commands to gather context rather than relying solely on local git commands. **Local git** tells you about commits and branches. **GitHub CLI** tells you about the *conversation* around those changes — PR descriptions, review comments, issue discussions, CI status, and more. ## When to Use gh Proactively Use `gh` commands when the user mentions or asks about: - **PRs / Pull Requests** — view, diff, comments, reviews, checks - **Issues** — view, comments, labels, assignees - **Code reviews** — review comments, requested changes - **CI/CD status** — check runs, workflow status - **Repository information** — branches, releases, collaborators - **GitHub links** — any `github.com` URL can be inspected via `gh` ## Key Commands Reference ### Pull Requests ```bash # View PR details (description, status, checks) gh pr view PR_NUMBER # View PR diff gh pr diff PR_NUMBER # List PR comments gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments # List review comments (inline code comments) gh api repos/OWNER/REPO/pulls/PR_NUMBER/reviews # Check PR status and CI checks gh pr checks PR_NUMBER # List open PRs gh pr list # List PRs by author gh pr list --author USERNAME ``` ### Issues ```b