assign-prs
Assign PRs
Groom the team review queues by getting a human reviewer onto every PR that needs one. Route by area ownership, balance by current review load, and request only the shortfall. The default operation is read-only. Never request a review until the user explicitly approves the plan.
This skill does one thing. It does not approve, merge, close, or comment on anything — for Dependabot updates use /dependabot-rollup, which combines compatible updates into a single reviewable branch.
Defaults
| Argument | Default | Purpose |
|---|---|---|
--repo |
All four configured repositories | Repository to read; repeat to select a subset |
--team |
Queues in each repository profile | Queue to read; repeat for a single repo to select a subset |
--account |
Active gh account |
GitHub account the run acts as |
--reviewers |
1 |
Reviewers to assign per PR, minimum 1 |
--stale-days |
90 |
Age past which a PR is reported but never assigned |
Parse overrides from $ARGUMENTS. Reject an invalid repository name, a --reviewers value below 1, a non-integer --stale-days, or unknown arguments instead of guessing. --repo is repeatable. Without it, plan all four repositories in reviewers.json and profiles/*.json beside this file. Reject unknown repositories instead of reading an arbitrary repo with the wrong profile.
--team is repeatable but requires exactly one --repo, and selects only a subset of that repository's configured queues: passing it once reads exactly one queue rather than adding another. Collect the validated values into TEAMS, each as org/slug. Note that this selects which queues to read, not who may be assigned — the reviewer roster comes from the team declared in that repo's profile, as Step 4 explains.