Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/wt-switch
SKILL.md
/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:
- Activates the Git Worktree Manager skill (
@git-worktree) - Automatically runs the
*switchcommand - Shows available worktrees and helps you switch
Workflow
The command will:
- List available worktrees - Show all worktrees with numbers
- Ask which to switch to - Interactive selection
- Provide cd command - Give you the command to switch
- 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
cdcommand for you to run - It cannot actually change your terminal's directory (shell limitation)
- Copy and paste the provided command to switch
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?