Merge Worktrees — Git skill for Claude Code
Merge parallel worktrees into integration branch.
How to install Merge Worktrees
Installs to ~/.claude/commands/trejon-888-ix-claude-code-starter-kit-merge-worktrees.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Trejon-888/ix-claude-code-starter-kit/HEAD/.claude/commands/merge-worktrees.md -o ~/.claude/commands/trejon-888-ix-claude-code-starter-kit-merge-worktrees.md Restart Claude Code, or start a new session, for it to be picked up.
What Merge Worktrees does
description: "Merge parallel worktrees into integration branch" argument-hint: [worktree-1] [worktree-2] ...
Merge Worktrees
Merge completed worktrees into an integration branch with sequential validation.
Arguments
Space-separated worktree feature names to merge: $ARGUMENTS
If no arguments provided, discover all worktrees:
git worktree list
Process
1. Create Integration Branch
git checkout -b integrate/$(date +%Y%m%d) main
2. Sequential M
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- n8n MCP — GitHub Repo stars MCP for Claude Desktop/Code to build n8n workflows n8n workflow integration 15.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Process Issues
Drain the open issue queue with parallel worktree subagents into an integration branch, gate the combined bran
Canopy
Ship faster with parallel Claude Code sessions — one native macOS window, git worktrees, sandboxes, auto-resum
Parallel Agent Worktree Skill
Portable Agent Skill to plan, spawn, review, and merge parallel CLI agents in isolated git worktrees, with det
Backporcher
Parallel Claude Code agent dispatcher: GitHub Issues as task queue, sandboxed worktrees, coordinator review, C
Hangar.Nvim
Run a fleet of coding agents in parallel git worktrees. Review and merge from a dashboard inside Neovim.
Git Worktree
Manage git worktrees — create, list, remove, parallel branch development
Related Agents
Merge Integrator
Integration specialist that merges parallel work (branches, worktrees, or multiple agents' changes) into one c
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Golds
Lightweight parallel dispatcher. Writes SPLIT.md (file ownership), drops workers in worktrees, runs post-merge