hkHarness Kit
PluginsDevOps

pr-sweep

Using a coding agent? Install the Harness Kit docs as a skill:
npx skills add https://github.com/harnessprotocol/harness-kit --skill harness-docs

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
  • gh CLI (GitHub CLI) — required for PR discovery, CI checks, merging, and rebasing. GH_TOKEN declared as required in plugin.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-kit

What It Does

When you invoke /pr-sweep:

  1. Discovers all open (non-draft) PRs authored by you across all repos
  2. Enriches each PR with CI status and merge state
  3. Triages into categories: MERGE_READY, PENDING_CI, NEEDS_REVIEW, BEHIND_BASE, CI_FAILING, CHANGES_REQUESTED, CONFLICTING, BLOCKED
  4. Shows triage table and waits for your confirmation
  5. Acts: merges ready PRs, rebases behind ones, fixes quick CI failures (lint/format/typo), runs code reviews on unreviewed PRs
  6. Produces a full report

Usage

/pr-sweep

Or 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-sweep for ongoing PR babysitting

Source Files

On this page