Agent skill
wt-new
Create a new git worktree and branch for feature development. Use when starting a new feature or story that needs isolated development. Creates worktree in tree/ directory with proper branch setup.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/wt-new
SKILL.md
/wt:new - Create New Worktree and Branch
Description
Quick command to activate the Git Worktree Manager skill and start a new feature worktree.
Usage
/wt:new
What It Does
This slash command:
- Activates the Git Worktree Manager skill (
@git-worktree) - Automatically runs the
*start-featurecommand - Guides you through creating a new worktree with a new branch
Workflow
The command will:
- Verify git repository - Ensure you're in a valid git repo
- Ask for base branch - Which branch to start from (e.g.,
main,develop) - Ask for feature branch name - Name for your new branch (e.g.,
feature/gallery-123) - Checkout base branch - Switch to the base branch
- Pull latest changes - Ensure base is up-to-date
- Create worktree directory - Create
tree/if it doesn't exist - Create worktree - Create the new worktree at
tree/{branch-name} - Confirm success - Show you the path to your new worktree
Benefits
✅ Quick Start - One command to create a new worktree
✅ Guided Process - Interactive prompts for all inputs
✅ Safe - Verifies git state before making changes
✅ Organized - Keeps all worktrees in tree/ directory
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?