wt-switch-create

Installation
SKILL.md

Arguments: $ARGUMENTS. Grammar: <branch> [<repo>] [-- <task>].

  • branch — required first token; the branch name for the new worktree.
  • repo — optional path; create the worktree in this repo instead of the session's current one.
  • task — optional; what to do inside the new worktree. No task means enter the worktree and wait.

Without a --: a path-shaped second token (absolute, ~-relative, ./- or ../-relative, or an existing directory) is the repo, and the task starts after it. Otherwise the task starts at the second token.

/wt-switch-create my-feature -- fix the parser bug
/wt-switch-create my-feature ~/workspace/other-repo -- fix the parser bug
/wt-switch-create my-feature

What to do

Related skills
Installs
71
GitHub Stars
5.1K
First Seen
3 days ago