worktree-create
Create a sibling Git worktree on a feature branch for isolated project work. Use when starting feature planning or implementation off the main checkout, or…
от Integralist★ 31 звезда на GitHub
Установить worktree-create в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Create a sibling Git worktree ../<repo>-<slug>/ on <git-username>/<slug> so
the main checkout stays clean on its default branch.
Resolve repo, base, and current checkout. Use
--repo=<path>if given (otherwisecwd), passing-C <repo-path>to allgitcommands; if not inside a Git repository, ask for the repository path. Find the main checkout path and repo directory name<repo>(git worktree list --porcelainfirst entry), plus<default-branch>(git symbolic-ref refs/remotes/origin/HEADormain/master). If already inside a linked worktree rather than the main checkout, report its path and branch and ask whether to work here or create a sibling worktree next to the main checkout. Otherwise base the new worktree on<default-branch>(or ask if currently on a non-default branch with unmerged work).Name the branch and worktree. Lowercase
git config user.nameand collapse non-alphanumeric runs to single hyphens (First Last→first-last). Derive a short kebab-case<slug>without a Conventional Commit prefix from--slug=<slug>, steering, or the session task (ask if unclear). Set:- Branch:
<git-username>/<slug> - Path:
<parent-of-main-checkout>/<repo>-<slug>
If
../<repo>-<slug>or<git-username>/<slug>already exists, checkgit worktree listand offer to reuse the existing worktree or pick a new slug.- Branch:
Create and hand off. Run
git -C <main-checkout> worktree add -b <git-username>/<slug> <worktree-path> <base>. Report the absolute<worktree-path>and branch name, and run all subsequent file edits and commands inside<worktree-path>(or ask if the user wants to reopen the session there).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(git branch --show-current) - 02
Bash(git branch --list:*) - 03
Bash(git config --get:*) - 04
Bash(git config user.name) - 05
Bash(git rev-parse:*) - 06
Bash(git status:*) - 07
Bash(git symbolic-ref --quiet --short HEAD) - 08
Bash(git symbolic-ref refs/remotes/origin/HEAD) - 09
Bash(git worktree list:*)
FAQ
Что делает скилл worktree-create?
Create a sibling Git worktree on a feature branch for isolated project work. Use when starting feature planning or implementation off the main checkout, or when the user asks to create or open a worktree.
Как установить скилл worktree-create?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл worktree-create запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…