| name | pr-pass |
| description | Triage open GitHub pull requests for actionable feedback, unresolved review threads, requested changes, CI or merge blockers, and ready-to-merge links. Use when the user asks for a PR pass, review/mergeability sweep, status check across their open PRs, a filtered PR cohort, or asks which PRs need action versus can be merged. |
PR Pass
Overview
Run a focused GitHub PR sweep. Report only what needs action and which PRs are ready to merge; avoid long status dumps.
Do not merge, assign reviewers, post comments, or push changes unless the user explicitly asks for that write action.
Workflow
-
Resolve scope.
- If the user names repos, orgs, authors, PR URLs, branches, labels, base branches, or a provenance filter, use that scope.
- If the user says "my PRs", identify the authenticated GitHub user with
gh api user.
- If the user names a cohort like "auth PRs", "release PRs", "generated-code PRs", or "go-analysis PRs", infer matching title, branch, body, label, and repo markers; keep the filter conservative and say what was included.
- Exclude unrelated stacks or cohorts unless the user explicitly includes them.
-
Fetch current PR state.
- Prefer GitHub structured data through
gh api graphql or gh pr view --json.
- Fetch at least: title, URL, state, draft status, head branch, body, labels, review decision, merge state, mergeability, latest check state, issue comments, reviews, and review threads.
- When GraphQL reports
UNKNOWN mergeability for an otherwise likely-ready PR, refresh with REST:
gh api repos/OWNER/REPO/pulls/NUMBER --jq '{number, mergeable, mergeable_state, draft}'
-
Classify actionable feedback.