setup-worktree
Installation
SKILL.md
Setup worktree
Treat workspace creation as a transaction: preflight every repository first, then apply, checkpoint, and report the exact state left behind.
Resolve this skill's directory as SKILL_DIR; all commands below use files from
that directory.
1. Resolve the task
From the selected repository, resolve the root with:
git rev-parse --show-toplevel