pr-sweep
Installation
SKILL.md
PR Sweep
Prep PRs for review. Fan out one subagent per PR (cap 100). Default is dry-run (report only). Mutating steps require --apply (or the user saying "apply" / "go ahead").
Args
| Invocation | Behavior |
|---|---|
/pr-sweep |
All open non-draft PRs (full audit) |
/pr-sweep 12 34 56 |
Only those PR numbers |
/pr-sweep --apply |
Full set, then rebase and push (--force-with-lease) |
/pr-sweep --apply 12 34 |
Rebase and push listed PRs only |
/pr-sweep --outside-only |
Action target = outside authors only (default for mutations) |
/pr-sweep --include-in-house |
Also rebase/update in-house branches (still never merge) |
/pr-sweep --behind |
Only PRs behind base / BEHIND / not up to date |
/pr-sweep --conflicts |
Only CONFLICTING / DIRTY / dirty merge state |
/pr-sweep --changed |
Only PRs changed since last snapshot (or updatedAt within 24h if no snapshot) |
/pr-sweep --daily |
Recommended daily recipe: --changed ∪ --behind ∪ --conflicts ∪ new outside PRs; security-scan new outside; lighter pass on the rest |
/pr-sweep --apply --daily --include-in-house |
Daily apply: prep outside + rebase ours when behind/conflicting |