بنقرة واحدة
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