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 /orient Step 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:

PARENT_BRANCH=$(
  git reflog show HEAD --pretty=format:'%gs' \
    | grep "^branch: Created from" \
Related skills
Installs
276
First Seen
Apr 28, 2026