git-worktree-setup
Installation
SKILL.md
Git Worktree Setup
Start implementation in an isolated workspace without taking ownership of a worktree that the user or harness already manages.
Quick Path
- Read repository instructions and inspect Git state before changing anything.
- Detect whether the current checkout is already a linked worktree, including the submodule exception below. Reuse it when it is.
- If isolation is not already present, create it only when the user has asked for a worktree or consents to one.
- Prefer the harness's native worktree capability. Fall back to
git worktreeonly when no native capability exists. - Run repository-defined setup and the smallest meaningful baseline check.
- Report the path, branch state, creation mechanism, and validation evidence.