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 |
microsoft/fluentui |
Repository containing the pull requests |
--team |
microsoft/cxe-prg, microsoft/fluentui-react-build |
Team queue to read; repeat the flag to pass several |
--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.
--team is repeatable and replaces the defaults entirely when given: passing it once reads exactly one queue rather than adding a third. 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 reviewers.json, as Step 4 explains.