Overview
High-value workflow commands that go beyond basic gh pr.
Commands
pr ready
Mark PR as ready and request reviews in one command.
pr ready 123 # Mark ready for review
pr ready 123 --reviewer @alice # Ready + request review
pr ready 123 --team engineering # Ready + team review
pr stack
Manage stacked PRs (dependent PRs).
pr stack # Show current stack
pr stack --create # Create next PR in stack
pr stack --rebase # Rebase entire stack
pr stack --merge # Merge stack in order
pr dashboard
Quick overview of PR status.
pr dashboard # All my PRs + review requests
pr dashboard --team # Team PRs
pr dashboard --json # For scripting
Output:
┌─────────────────────────────────────────────────┐
│ My PRs (3 open) │
├─────────────────────────────────────────────────┤
│ #123 feat: add auth ✅ Checks 🔄 Review │
│ #124 fix: login bug ❌ Checks - │
│ #125 docs: readme ✅ Checks ✅ Approved │
├─────────────────────────────────────────────────┤
│ Review Requested (2) │
├─────────────────────────────────────────────────┤
│ #200 refactor: api @alice 2h ago │
│ #201 feat: webhooks @bob 1d ago │
└─────────────────────────────────────────────────┘
pr link
Link PR to issues.
pr link 123 --issue 456 # Link to issue
pr link 123 --closes 456 # Auto-close issue on merge
pr link 123 --relates 456,457 # Related issues
Implementation
- Use
gh api for advanced queries
- Cache for speed
- Rich terminal output with tables
Overview
High-value workflow commands that go beyond basic gh pr.
Commands
pr readyMark PR as ready and request reviews in one command.
pr stackManage stacked PRs (dependent PRs).
pr dashboardQuick overview of PR status.
Output:
pr linkLink PR to issues.
Implementation
gh apifor advanced queries