isolate
Installation
SKILL.md
Isolate
Create a worktree branched from the latest origin/main so task work never starts on stale code.
Announce: "Setting up an isolated worktree for this task."
Inputs
- Branch name: from
/orientStep 1 (e.g.,feat/auth,fix/login-crash). Ask if not provided. - Base ref: the current branch's parent (detected via reflog, default
main). Override only when explicitly stacking on a different branch.
Detect parent branch
The parent branch (what this branch will eventually merge into) is determined from the reflog: