com um clique
wt
Switch to and from worktree
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Switch to and from worktree
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional 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