Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By diegomarinov1.2.1MITIn 1 marketplace
Turns a branch's changes, or recent merge commits, into a prioritized task list of quality fixes grouped by file. Needs Git; asks which changes to review when the scope is unclear.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Audit code changes before or after a merge across 13 quality dimensions. Outputs a prioritized task list grouped by file, ready to act on.
See the root README for a quick overview.
/plugin install merge-checks@claude-toolshed
Requires: Git
| Command | What it does |
|---|---|
/merge-checks feature/auth | Pre-merge: diff current branch vs feature/auth (or main) |
/merge-checks 3 | Post-merge: audit the last 3 merge commits |
/merge-checks | Auto-detect: last merge commit or diff vs main |
/merge-checks --uncommitted | Review only uncommitted (staged + unstaged) changes |
/merge-checks --all | Review committed + uncommitted changes vs base |
/merge-checks --recent=N | Review only the last N commits |
/merge-checks --today | Review today's commits + uncommitted changes |
/merge-checks --since=YYYY-MM-DD | Review changes since a specific date |
Before running the 13 checks, merge-checks gathers git context and determines what code to review. When the answer is obvious, it auto-proceeds with a one-line confirmation. When it's ambiguous, it asks.
A lightweight script (gather-context.sh) runs first and collects: current branch, commits ahead of base, uncommitted file counts, branch age, recent branches, and active worktrees. This takes ~100ms.
Auto-proceed (obvious cases):
| Situation | Default scope |
|---|---|
| Young feature branch with commits, no uncommitted changes | All branch commits vs base |
| Feature branch with only uncommitted changes (no commits yet) | Uncommitted changes |
| Main branch, no uncommitted changes | Post-merge, last 5 merges |
Explicit argument passed (e.g. /merge-checks main) | Respects the argument |
Ask the user (ambiguous cases):
| Situation | Why it's ambiguous |
|---|---|
| Feature branch with both committed and uncommitted changes | Could want any subset |
| Mature branch (>3 days or >20 commits) | May only want recent work |
| Main with uncommitted changes and merge history | Could want uncommitted or post-merge |
| Another branch or worktree has fresher activity | May be on the wrong branch |
When the scope is ambiguous, you'll see a question like:
Branch 'feature/auth' has 47 commits (12 days) + 3 uncommitted files. What should I review?
With options tailored to your situation — for example: "Everything vs origin/main", "Committed changes only", "Uncommitted changes only", "Recent work (last 5 commits)".
If you're on main (or a cold branch) but another branch or worktree has recent activity, merge-checks will offer to review that work instead. This catches the common "wrong branch" scenario.
The plugin runs in 4 phases: select scope, pre-compute mechanical checks, dispatch AI reasoning agents, then compile and verify coverage.
A lightweight context script (gather-context.sh) runs via ! injection and collects git state in ~100ms. Claude reads the context and either auto-proceeds (obvious cases) or asks the user what to review (ambiguous cases). See Scope selection above for details.
After scope is resolved, a master script (precompute.sh) orchestrates 16 bash scripts that run all mechanical checks.
The scripts:
Scripts that run per-file (stories, tests, shared types) use parallel subshells for speed. Results are collected from temp files after all processes complete.
Pre-computed sections: debug-artifacts, suppressions, env-coverage, i18n, i18n-consistency, stories, tests, routes, migrations, seeds, shared-types.
Three AI agents run concurrently (dispatched in a single message via the Task tool) for checks that require reading code and applying judgment:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub diegomarino/claude-toolshed --plugin merge-checksPlugins from other owners that cover similar ground