Worktree
Skill dkmqflx/git-workflow-plugin/plugins/git-workflow/skills/worktree
Git branch/worktree lifecycle skills for Claude Code (worktree, branch, PR, cleanup)
npx -y skills add dkmqflx/git-workflow-plugin --skill worktreeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Create a new git worktree on a fresh branch and switch into it before starting work. Use when the user asks to start a task in a new worktree, work in isolation from the main checkout, or invokes "/worktree" — phrases like "워크트리 만들어줘", "새 브랜치 파서 작업해줘", "worktree에서 작업 시작". Do NOT use for removing or cleaning up an existing worktree.
SKILL.md
1.3 KB, as published. Nobody here has run it
Worktree
Create a sibling worktree on a fresh branch, then continue the user's task inside it.
Heavy lifting → scripts/create.sh (handles uniqueness, error checks).
When to apply
Start a task in an isolated worktree. Do not apply for removal — that is /worktree-done.
Steps
- Derive a kebab-case branch name (≤ 4 words) from the user's task description.
If no description was given (bare
/worktree), ask one short question first. - Run from the repo root:
The script's stdout is the new worktree path (stderr is progress). If it exits non-zero, stop and surface the error.bash <skill-dir>/scripts/create.sh <branch-name> cdinto that path (separate Bash call — child shells can't change parent cwd).- Confirm in one line:
Worktree ready: <path> (branch: <branch>) - Begin the user's task.