Merge Worktree — Git skill for Claude Code
Your task is to merge in the $ARGUMENTS worktree in the .trees/$ARGUMENTS folder.
How to install Merge Worktree
Installs to ~/.claude/commands/jacarty-coding-toolkit-merge_worktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jacarty/coding-toolkit/HEAD/.claude/commands/merge_worktree.md -o ~/.claude/commands/jacarty-coding-toolkit-merge_worktree.md Restart Claude Code, or start a new session, for it to be picked up.
What Merge Worktree does
Your task is to merge in the $ARGUMENTS worktree in the .trees/$ARGUMENTS folder.
Follow these steps:
- Change into the .trees/$ARGUMENTS directory.
- Examine the changes that were made in the latest commit.
- Change back to the root directory.
- Merge in the worktree.
- There might be merge conflicts. Use
git status,git diff --name-only --diff-filter=U, orgit ls-files -uto list files that have merge conflicts. - Manually resolve conflicts based on your knowledge of the changes.
Alternatives in Git
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
- Merge Dependabot PRs — @description Evaluate and merge dependabot PRs with parallel builds, dependency-aware batching, and transitive 1.6k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Gw PR Merge
Merge PR #$ARGUMENTS with squash and clean up worktree if exists.
Hybrid Complete
Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f
Worktree Tasks
Implement each task in a separate git worktree with an opus subagent then sequentially merge and commit them b
Media Library Organizer Skill
A Claude Code skill for organizing media libraries (movies, TV, anime) — clean junk, merge scattered episodes,
Dsh Superagent Gui
Simple local GUI to run coding agents on any folder, with review before merge. A port of DeepSeek's dsh-supera
Jira
Jira module — find/create a ticket, link a PR, transition, sprint, assign — driven by per-user preferences rec
Related Agents
Scala Coder
Implements a single coding task end-to-end in an assigned git worktree for this Scala project. Owns the FULL l
Topology Mapper
Topology Manager and Legacy Scaffolder. Use this agent to maintain the topology_map inside docs/active_state.j
Tl Builder Regulated
Team-loop builder for a regulated work package (service-charge maths, demands, client money, leaseholder-facin