# Wt Switch

> Switch development context to a different git worktree. Use when moving between different features or stories. Shows all available worktrees and provides navigation commands.

- Skill: `majiayu000/wt-switch` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/wt-switch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/wt-switch/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/wt-switch

---


# /wt:switch - Switch to Another Worktree

## Description
Quick command to switch development context to a different worktree.

## Usage
```
/wt:switch
```

## What It Does

This slash command:
1. Activates the Git Worktree Manager skill (`@git-worktree`)
2. Automatically runs the `*switch` command
3. Shows available worktrees and helps you switch

## Workflow

The command will:
1. **List available worktrees** - Show all worktrees with numbers
2. **Ask which to switch to** - Interactive selection
3. **Provide cd command** - Give you the command to switch
4. **Show branch status** - Display current branch and status of target worktree

## Benefits

✅ **Quick Navigation** - See all worktrees and switch easily
✅ **Context Aware** - Shows current worktree
✅ **Status Preview** - See what's in the target worktree before switching

## Notes

- The command provides the `cd` command for you to run
- It cannot actually change your terminal's directory (shell limitation)
- Copy and paste the provided command to switch

