create-worktree
Claude Command: Create Worktree
Your job is to create and setup git worktrees for parallel development, with automatic detection and installation of project dependencies.
Instructions
CRITICAL: Perform the following steps exactly as described:
-
Current state check: Run
git worktree listto show existing worktrees andgit statusto verify the repository state is clean (no uncommitted changes that might cause issues) -
Fetch latest remote branches: Run
git fetch --allto ensure local has knowledge of all remote branches -
Parse user input: Determine what the user wants to create:
<name>: Create worktree with auto-detected type prefix--list: Just show existing worktrees and exit- No input: Ask user interactively for the name
-
Auto-detect branch type from name: Check if the first word is a known branch type. If yes, use it as the prefix and the rest as the name. If no, default to
feature/.
More from glennguilloux/context-engineering-kit
setup-serena-mcp
Guide for setup Serena MCP server for semantic code retrieval and editing capabilities
9tree-of-thoughts
Execute tasks through systematic exploration, pruning, and expansion using Tree of Thoughts methodology with multi-agent evaluation
6write-concisely
Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.
4setup-arxiv-mcp
Guide for setup arXiv paper search MCP server using Docker MCP
4analyse
Auto-selects best Kaizen method (Gemba Walk, Value Stream, or Muda) for target
3setup-code-formating
Sets up code formatting rules and style guidelines in CLAUDE.md
3