PluginsDevOps
merge-pr
View in Marketplace → for install tracking, related plugins, and profiles.
merge-pr
Merge a ready PR — verify CI, sync with base, confirm, squash merge, and clean up.
Requirements
- Claude Code — required
ghCLI (GitHub CLI) — required for CI status checks and merging.GH_TOKENdeclared as required inplugin.json— see Secrets Management for setup.
Install
/plugin marketplace add harnessprotocol/harness-kit
/plugin install merge-pr@harness-kitWhat It Does
When you invoke /merge-pr:
- Identifies the open PR on the current branch (or accepts a PR number)
- Verifies CI is passing and no CHANGES_REQUESTED reviews are outstanding
- Syncs with the base branch — rebases if it's fallen behind, re-verifies CI
- Confirms with you before merging
- Squash merges, deletes the remote branch, and syncs your local checkout
Usage
/merge-prOr use natural language:
Merge this PR.
Squash merge and clean up.
Merge it.Pipeline
Development ─→ /open-pr ─→ /merge-pr ─→ /deploy-preview ─→ /go-live
▲ you are hereNotes
- Works on any open PR — does not require
/open-prto have created it - Does NOT deploy to any environment — use
/deploy-previewor/go-liveafter merging - Pairs naturally with open-pr — use
/open-prfirst, then/merge-prwhen it's ready to land