merge-worktree
Installation
SKILL.md
Merge Worktree
Merge one registered Git worktree with a merge commit. Commit pending source changes, validate the result, push the integrated branch, attempt conflict resolution, and optionally remove the source worktree.
Required skills: Load github for PR operations. If a merge or rebase conflict occurs, load resolving-merge-conflicts from mattpocock/skills and follow it before continuing.
Inputs
Resolve these from the request and repository before asking:
- source worktree path or its checked-out branch;
- target branch;
- mode:
localorpr; and - cleanup choice: enabled by
--clean-up, otherwise ask after a successful merge.
Use the repository default branch as the target only when it is unambiguous. Ask for any unresolved input. Never treat the target worktree as the cleanup candidate.