Merge Gate — Git skill for Claude Code
Merge worker branches one-by-one with score-based accept/reject.
How to install Merge Gate
Installs to ~/.claude/commands/quantumaikr-quant.cpp-merge-gate.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/quantumaikr/quant.cpp/HEAD/.claude/commands/merge-gate.md -o ~/.claude/commands/quantumaikr-quant.cpp-merge-gate.md Restart Claude Code, or start a new session, for it to be picked up.
What Merge Gate does
description: Merge worker branches one-by-one with score-based accept/reject argument-hint: Team name (e.g., tq-alg)
Merge Gate
Safely merge completed ClawTeam worker branches into main, reverting any merge that causes a score drop.
Protocol
The team name is: $ARGUMENTS
If no team name provided, list available branches with `git branch -a | grep clawteam`.
Step 1: Record baseline score
bash score.sh --quick
Save the score as `baseline_score`.
Step 2: Lis
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Swarm Parent — You are the swarm coordinator for the {{tentacleName}} tentacle 1.4k ★
- Create Worktrees — by evmts - Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleani 440 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Accept PR
Approve and merge a PR. Usage: /accept-pr
Contribution Dashboard
Read-only dashboard for the opensource-contributor state. Shows active run, score history, plateaued dimension
Auto Dev Merge
PHASE 2 of an auto-dev worker — land the already-ready PR via merge-pr, in a fresh context. Dispatched by the
Autopilot Merge
/autopilot-merge — Consolidate completed autopilot branches onto a target branch
Git.Merge
Merge the current branch's PR, switch to the default branch, and clean up all merged/gone local and remote bra
PR Address
Address review comments on a PR — fix valid ones, reject invalid ones with explanation
Related Agents
Aidd Critic
AIDD pre-merge critic: one consolidated verdict (APPROVE / APPROVE WITH CONDITIONS / REJECT) synthesizing all
Waves Merger
Runs one sync point of a waves run in the main checkout — merges the named plan branches, regenerates what mus
Integrate Gater
Runs the repo's declared fast or full gate on a candidate branch and reports the result. Use when /integrate n