How this skill is triggered — by the user, by Claude, or both
Slash command
/git-workflow:worktree branch-namebranch-nameThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a git worktree in a peer directory.
Create a git worktree in a peer directory.
The user passed in: $ARGUMENTS
Always verify whether it is already an existing branch local or remote, if so, check it out.
Otherwise, if that text is already kebab case, use it directly as the branch name, but prefix it, make sure to check whether it is a feature, bug or something else. If unclear, it is most likely a feature. Otherwise come up with a good kebab-case name based on what the user passed in.
git rev-parse --show-toplevelgit config worktree.root — if set, use that value<repo-root>/../worktrees<worktree-root>/<branch-name>git worktree add <path> -b <branch-name>bash ${CLAUDE_SKILL_DIR}/scripts/copy-local-settings.sh <source-root> <worktree-root>
This copies .env files, .claude/, .vscode/, .idea/ and installs dependencies.Do NOT try and copy files yourself, you do not always have access to these files.
Do not switch context, the user will open a new IDE in the new folder. Provide the user with the path and next steps.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub himmelreich-it/agentic-development --plugin git-workflow