PluginsDevOps
pr-sweep
View in Marketplace → for install tracking, related plugins, and profiles.
pr-sweep
Cross-repo PR sweep — discover, triage, review, merge, and report on all your open PRs.
Requirements
- Claude Code — required
ghCLI (GitHub CLI) — required for PR discovery, CI checks, merging, and rebasing.GH_TOKENdeclared as required inplugin.json— see Secrets Management for setup.- review plugin — used for automated code reviews on unreviewed PRs
Install
/plugin marketplace add harnessprotocol/harness-kit
/plugin install pr-sweep@harness-kitWhat It Does
When you invoke /pr-sweep:
- Discovers all open (non-draft) PRs authored by you across all repos
- Enriches each PR with CI status and merge state
- Triages into categories: MERGE_READY, PENDING_CI, NEEDS_REVIEW, BEHIND_BASE, CI_FAILING, CHANGES_REQUESTED, CONFLICTING, BLOCKED
- Shows triage table and waits for your confirmation
- Acts: merges ready PRs, rebases behind ones, fixes quick CI failures (lint/format/typo), runs code reviews on unreviewed PRs
- Produces a full report
Usage
/pr-sweepOr use natural language:
Check my PRs.
What's the status of all my open PRs?
Sweep my PRs.Notes
- Never acts on draft PRs
- Never auto-resolves CHANGES_REQUESTED — flags for human follow-up
- Safe to run repeatedly — idempotent, already-merged PRs won't reappear
- Pairs with
/loop 30m /pr-sweepfor ongoing PR babysitting