Create Worktree — Development skill for Claude Code
description: Create worktree and launch implementation session for a plan set up worktree for implementation: 2a.
How to install Create Worktree
Installs to ~/.claude/commands/coreycole-datastarui-create_worktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/CoreyCole/datastarui/HEAD/.claude/commands/create_worktree.md -o ~/.claude/commands/coreycole-datastarui-create_worktree.md Restart Claude Code, or start a new session, for it to be picked up.
What Create Worktree does
description: Create worktree and launch implementation session for a plan
set up worktree for implementation: 2a. read `hack/create_worktree.sh` and create a new worktree with the Linear branch name: `./hack/create_worktree.sh ENG-XXXX BRANCH_NAME`
determine required data:
branch name path to plan file (use relative path only) launch prompt command to run
**IMPORTANT PATH USAGE:**
- The thoughts/ directory is synced between the main repo and worktrees
- Always use ONLY the rel
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- Worktree Cleanup — Remove worktrees and branches that have been merged: $ARGUMENTS 23.4k ★
- Cancel Pua Loop — 取消当前活跃的 PUA Loop(原子级联:state + worktree + 记录) 19.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Maestro Fork
Create or sync session worktree for parallel dev
Worktree
Create Worktree with Library
Dashclaw Quality
Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates
Tkt
Create Worktree for Linear Ticket
Pair Verify
Use after you fix a bug and before you claim it fixed — it spawns ONE skeptic sibling session via CCC that mus
Parallel Worktree Init
Parallel Worktree Initialization
Related Agents
Purpose
You are a git worktree creation specialist. Your sole responsibility is to create a properly configured worktr
Delegate Pre Pass
Per-repo advisory delegation pre-pass for the /sprint --workflow Phase-5 review panel. Runs the gate + worktre
Suede Graph Flo XR Scout
Suede Graph Flo XR setup scout limited to one host-clamped reconnaissance and worktree command plus read-only