plugins/gh-cli/skills/pr/SKILL.md
Pull request operations using GitHub CLI. Trigger when user wants to list PRs ("show open PRs"), view PR details ("view PR 123"), create PRs ("create a pull request"), review/merge PRs ("merge PR", "approve PR"), or view PR diffs ("show PR diff", "what files changed in PR").
npx skillsauth add robbyt/claude-skills prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage pull requests with the gh CLI.
GitHub CLI must be installed and authenticated:
gh auth status
gh pr list # List open PRs
gh pr view 123 # View PR details
gh pr create --fill # Create PR from commits
gh pr merge 123 --squash # Merge PR
gh pr diff 123 # View diff
gh pr list --state open
gh pr list --author @me
gh pr list --label "needs-review"
gh pr view 123
gh pr view 123 --json title,body,state,files
gh pr create --title "Feature" --body "Description"
gh pr create --fill # Use commit messages
gh pr review 123 --approve
gh pr review 123 --approve --body "LGTM"
gh pr merge 123 --squash
gh pr merge 123 --merge
gh pr diff 123
gh pr diff 123 -- path/to/file.go # Specific file
List or view files changed in a PR:
# List changed files
python3 scripts/view_pr_files.py 123 --list
python3 scripts/view_pr_files.py https://github.com/user/repo/pull/123 --list
# View full diff
python3 scripts/view_pr_files.py 123 --diff
# View specific file content from PR branch
python3 scripts/view_pr_files.py 123 --file path/to/file.go
# List changed files
gh pr view 123 --json files --jq '.files[].path'
# View diff
gh pr diff 123
# Get file content from PR branch
gh pr view 123 --json headRefName --jq '.headRefName'
gh api repos/{owner}/{repo}/contents/{path}?ref={head_ref} --jq '.content' | base64 --decode
tools
Real-time web research using Google Search via Google's Antigravity (`agy`) CLI — the replacement for the deprecated `gemini-cli`. Trigger when user needs current information ("search with agy", "search with Google Antigravity", "find current info about X with agy", "what's the latest on Y"), library/API research, security vulnerability lookups, or comparisons requiring recent data.
tools
Get Google Antigravity's (`agy`) review of Claude's implementation plans. Trigger when user wants a second opinion on a plan ("have agy review this plan", "get a second opinion from Google Antigravity", "critique this plan with agy"), or after Claude creates a plan file that needs validation before implementation. Replaces the deprecated gemini-cli plan-review workflow.
tools
Get Google Antigravity's (`agy`) code review of git changes after Claude makes edits. Trigger when user wants a second opinion on code changes ("have agy review my changes", "get code review from Google Antigravity", "review this diff with agy"), or as a final check before committing. Replaces the deprecated gemini-cli diff-review workflow.
tools
Deep architectural analysis of the current workspace using Google Antigravity (`agy`). Trigger when the user needs an architecture overview ("analyze this codebase with agy", "map dependencies with Google Antigravity"), is onboarding to unfamiliar code, exploring legacy systems, or hunting technical debt. Replaces the deprecated gemini-cli `codebase_investigator` workflow.