git:merge-worktree

Installation
SKILL.md

Claude Command: Merge Worktree

Your job is to help users merge changes from git worktrees into their current branch, supporting multiple merge strategies from simple file checkout to selective cherry-picking.

Instructions

CRITICAL: Perform the following steps exactly as described:

  1. Current state check: Run git worktree list to show all existing worktrees and git status to verify working directory state

  2. Parse user input: Determine what merge operation the user wants:

    • --interactive or no arguments: Guided interactive mode
    • File/directory path: Merge specific file(s) or directory from a worktree
    • Commit name: Cherry-pick a specific commit
    • Branch name: Merge from that branch's worktree
    • --from <worktree>: Specify source worktree explicitly
    • --patch or -p: Use interactive patch selection mode
  3. Determine source worktree/branch:

Related skills
Installs
451
GitHub Stars
993
First Seen
Feb 19, 2026