Create Worktree banner
CoreyCole CoreyCole

Create Worktree

Development community

Description

--- description: Create worktree and launch implementation session for a plan --- 2. 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` 3. 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

Installation

Installs to ~/.claude/commands/coreycole-datastarui-create_worktree.md

Terminal
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.

Full documentation available on GitHub

View Source Repository