github-pr-triage
Installation
SKILL.md
GitHub PR Triage
Turns a sprawling list of open PRs into a report grouped by required action, and
optionally executes that action. The core pattern is
enumerate → enrich → classify → report → (optionally) act, using
gh search prs / gh pr view for data and deterministic jq rules for the
classification — no code archaeology needed, unlike issue triage.
Three deterministic scripts do the mechanical work, so most of this skill is about reading their output correctly and knowing when to escalate to judgment:
| Script | Purpose |
|---|---|
scripts/fetch-prs.sh |
Enumerate open PRs by author across an org |
scripts/enrich-prs.sh |
Fetch review/check/mergeability detail per PR, in parallel |
scripts/classify-prs.sh |
Bucket the enriched PRs by required action |
Action scripts (used only after explicit per-PR confirmation — see Phase 5):