ワンクリックで
wt
Switch to and from worktree
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Switch to and from worktree
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Name your session
Interview the user relentlessly about a plan or design until reaching shared understanding
Relentlessly self critique your past reasoning, in order to catch any issues and reach high certainty that the right approach was taken.
| name | wt |
| description | Switch to and from worktree |
When this skill is invoked the user want to switch the current session to a worktree, or switch back from a worktree.
Check the current working dir (without any tool calls), if it contains .claude/worktrees then you are in a worktree.
If the user supplied args to the skill, this might be instructions on branch names, etc. If unrelated to branch names or worktrees, then the args are instructions of work to be carried out once the worktree switch is done.
<repo>/.claude/worktrees/<branch-name>EnterWorktree to enter the worktreeExitWorktree with action: "keep" to leave the worktree (since the worktree was created manually, not by EnterWorktree, remove will be rejected)git worktree remove