merge-queue
CommunitySerialize agent merges safely, every time.
Software Engineering#git#idempotency#merge queue#worktree cleanup#atomic lock#no-ff merge#agent branches
Authorjacob-balslev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents race-condition failures and history pollution when multiple agent branches try to merge into main at the same time, especially when their changes overlap.
Core Features & Use Cases
- Atomic lock for serialized commits: Acquires a shared merge lock so only one agent can merge at a time.
- Idempotency and resume-safety: Ensures failed or partially completed merges can be resumed without duplicating commits.
- Non-fast-forward merge policy: Uses
--no-ffto preserve task-level history and make merges auditable. - Automated worktree/branch cleanup: Deletes task worktrees and remote branches after successful merges to prevent disk bloat.
- Event emission for orchestration: Emits merge start/completion events for downstream monitoring.
Quick Start
Use the merge queue CLI to submit a task branch SH-XXXX for a serialized non-fast-forward merge into master.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: merge-queue Download link: https://github.com/jacob-balslev/skill-graph/archive/main.zip#merge-queue Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.