workflow-worktree-session

Installation
SKILL.md

Workflow: Worktree Session

Announce at start: "I'm using the workflow-worktree-session skill to move the session into the worktree."

Decision tree

Read the user's prompt and pick exactly one mode:

Mode A — Switch into an existing worktree

Triggers: user named or pointed at a worktree that already exists ("open the feat-login worktree", "switch to test-enter", "move into .worktrees/auth", "cd into the worktree I made").

  1. Discover the path. Resolve rimba using the detection helper in workflow-development Phase 1 ($RIMBA). If non-empty, run $RIMBA list --json to list worktrees. Otherwise use git worktree list --porcelain:

    git worktree list --porcelain \
      | awk '/^worktree /{path=substr($0,10); branch=""} /^branch /{branch=substr($0,8)} /^$/{print path, (branch ? branch : "(detached)")}'
    
Installs
2
GitHub Stars
2
First Seen
Jun 10, 2026
workflow-worktree-session — lugassawan/swe-workbench