status_prs
Check the health of open pull requests by classifying them into statuses like needs rebase or failing CI, and get suggested actions.
Instructions
Check health of in-flight PRs (outbound PR heartbeat).
Classifies open PRs into 9 statuses: NEEDS_REBASE, CI_FAILING, STALE_REVIEW, CHANGES_REQUESTED, STALE_NO_REVIEW, BLOCKED, CLEAN, UNKNOWN, WAITING. Suggests actions for each.
Args: author: GitHub username to check PRs for repo: Repository to check (org/name) stale_days: Days without update to consider stale (default: profile or 14) save_snapshot: If True, persist the result to data/status-snapshots/ for transition detection across runs. Default False because MCP callers (Cursor, Claude Code) may poll frequently and would otherwise flood the snapshot directory.
Returns: dict with prs, ignored, summary, actions, transitions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| author | No | ||
| stale_days | No | ||
| save_snapshot | No |