close-worktree
Installation
SKILL.md
Close worktree
Land the current worktree's feature branch onto develop, then delete the
worktree and local branch. Run this from the worktree you want to close.
Default integration branch: develop. If the user names another base
(main, etc.), use that instead.
This is not finish-work. Finish-work only checks and commits in the current tree. Close-worktree owns the worktree lifecycle and calls finish-work when the tree is dirty.
Never cd between worktrees — use git -C <path> so each command clearly
targets one worktree.