lib/pocketrb/skills/builtin/github/SKILL.md
Interact with GitHub using the `gh` CLI
npx skillsauth add mensfeld/pocketrb githubInstall 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.
Use the gh CLI for GitHub operations. This skill provides guidance on common GitHub workflows.
The gh CLI must be installed and authenticated:
# Install (macOS)
brew install gh
# Install (Linux)
# See https://github.com/cli/cli/blob/trunk/docs/install_linux.md
# Authenticate
gh auth login
# List PRs
gh pr list --repo owner/repo
# View PR details
gh pr view 55 --repo owner/repo
# Check PR status/checks
gh pr checks 55 --repo owner/repo
# Create PR
gh pr create --title "Title" --body "Description"
# Merge PR
gh pr merge 55 --squash --delete-branch
# Review PR
gh pr diff 55 --repo owner/repo
# List issues
gh issue list --repo owner/repo
# View issue
gh issue view 123 --repo owner/repo
# Create issue
gh issue create --title "Bug" --body "Description"
# Close issue
gh issue close 123
# List workflow runs
gh run list --repo owner/repo --limit 10
# View run details
gh run view 12345 --repo owner/repo
# Watch a run
gh run watch 12345 --repo owner/repo
# Rerun failed jobs
gh run rerun 12345 --failed
# Get PR info as JSON
gh api repos/owner/repo/pulls/55 --jq '.title'
# Get issue comments
gh api repos/owner/repo/issues/123/comments
# Create a comment
gh api repos/owner/repo/issues/123/comments -f body="Comment text"
--repo owner/repo or -R owner/repo to specify repository--json field1,field2 to get specific fields as JSON--jq '.field' to filter JSON output--web to open in browserdevelopment
Get weather forecasts using wttr.in (no API key required)
tools
Remote-control tmux sessions for interactive CLIs
development
Periodic self-assessment, goal tracking, and proactive improvement
testing
Be proactive - schedule follow-ups, reminders, and check-ins