Skip to main content

worktree-close

Stars9
Forks0
UpdatedJune 24, 2026 at 21:16

Finish work in a SINGLE worktree: push, remove the worktree, optionally delete the branch. Use when done with a specific worktree, wrapping one up, pushing and moving on, or no longer needing a parallel environment. Triggers on "close this worktree", "I'm done with this worktree", "wrap up this branch", "push and remove", "tear down this worktree". For batch cleanup of MULTIPLE stale worktrees, use worktree-cleanup instead. Also triggers for `/empire-git:worktree-close [branch] [--push] [--discard] [--force]`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly