Worktree — Development skill for Claude Code
Create Worktree with Library.
How to install Worktree
Installs to ~/.claude/commands/barefootford-buttercut-worktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/barefootford/buttercut/HEAD/.claude/commands/worktree.md -o ~/.claude/commands/barefootford-buttercut-worktree.md Restart Claude Code, or start a new session, for it to be picked up.
What Worktree does
Create Worktree with Library
Create a new git worktree with all libraries and media from main.
Arguments
`` - The name for the new branch and worktree
Example: `/worktree feature-test`
User provided: $ARGUMENTS
Instructions
- Parse the branch name from arguments
- Always use the main branch worktree at
/Users/andrew/code/buttercutas the source - Create a new git worktree at
../with a new branch of the same name - Copy the entire
libraries/dir
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
Dashclaw Quality
Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates
Create Worktree
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
Helper Author
Owns the shared Cypress helper library for component automation. Annotates helpers with @tj tags, extracts/fix
Fable5 Apfel Engineer
Heavy-lifting Fable-5 engineer for the apfel project (Apple on-device FoundationModels CLI + OpenAI-compatible
Stitch Skills
A library of Agent Skills designed to work with the Stitch MCP server.