Pi-GH
The pi-gh skill helps you stay on top of GitHub pull requests without leaving the terminal. It provides a script that lists all open PRs needing your attention — both PRs where you’re a reviewer and PRs you authored.
Installation
Section titled “Installation”The skill lives under .pi/agent/skills/pi-gh/. It requires the GitHub CLI:
gh auth statusIf not authenticated:
gh auth loginScript: list-prs.sh
Section titled “Script: list-prs.sh”Lists all open PRs in two sections:
- Requested as Reviewer — PRs where you’ve been asked to review
- Created by You — PRs you authored that are still open
bash "$HOME/.pi/agent/skills/pi-gh/scripts/list-prs.sh"Output includes the PR title, author, repository, and creation date — everything you need to triage your queue at a glance.
Typical workflow
Section titled “Typical workflow”# See what needs your attentionbash ~/.pi/agent/skills/pi-gh/scripts/list-prs.sh
# Create a new PRgit add -A && gh pr create --base main --title "My change" --body "Summary of changes"
# Open a PR to reviewgh pr view 123
# Review and mergegh pr review 123 --approvegh pr merge 123Rate limits
Section titled “Rate limits”GitHub’s API allows 5,000 requests per hour for authenticated users. The list-prs.sh script makes a single query, so rate limits are rarely hit in normal use.