/git:worktreefrom git
Create a git worktree in a peer directory using the plugin worktree script. Use when the user asks for a new worktree or a branch checked out beside the repo.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve <plugin-root> before running plugin scripts:
${CLAUDE_PLUGIN_ROOT}.skills/worktree/SKILL.md file.Use the user's text as the branch name if it is already kebab-case (e.g., auth-feature); otherwise derive a short kebab-case name from it. From the repository root, run:
<plugin-root>/scripts/worktree.sh <branch-name>
On failure, stop and summarize the error. On success, report the worktree path.
Open a terminal tab in the worktree only if the user explicitly asks.
In iTerm:
osascript -e 'tell application "iTerm"
tell current window
create tab with default profile
tell current tab
tell current session
write text "cd <worktree-absolute-path>"
end tell
end tell
end tell
end tell'
In xfce4-terminal:
xfce4-terminal --tab --working-directory="<worktree-absolute-path>" -x bash -c "cd <worktree-absolute-path>; exec bash"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub motlin/claude-code-plugins --plugin git12 skills in this plugin
/clean-worktreesRemove git worktrees safely without force. Use when the user asks to remove, clean up, or delete git worktrees./commitCommit local changes with careful staging and single-line messages. Use for all git commit operations./commit-chunksSplit local changes into multiple logical commits. Use when the user asks to commit changes in chunks or as several commits./conflictsResolve git merge or rebase conflicts and continue the operation. Use when a rebase, merge, or cherry-pick stops on conflicted files.Other plugins' skills for the same job