From ai-devkit
Guides setting up, resuming, switching, or verifying isolated Git worktrees for feature branches. Includes dependency bootstrap commands for common ecosystems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-devkit:dev-worktreeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up or resume the correct workspace before feature work. Keep this skill focused on repository context, worktree isolation, and dependency bootstrap. Do not perform requirements, design, planning, implementation, testing, or review work here.
Set up or resume the correct workspace before feature work. Keep this skill focused on repository context, worktree isolation, and dependency bootstrap. Do not perform requirements, design, planning, implementation, testing, or review work here.
feature-<name> for branch and worktree names, where <name> is normalized kebab-case without the prefix.<project-root>/.worktrees/feature-<name>.Use for a new feature start.
<name>..git.feature-<name>..worktrees is listed in the project .gitignore; if not, add it.git worktree add -b feature-<name> .worktrees/feature-<name>.git worktree add .worktrees/feature-<name> feature-<name>.git -C .worktrees/feature-<name> branch --show-current; it must equal feature-<name>.Use when continuing an existing feature.
git branch --show-current.git worktree list.<project-root>/.worktrees/feature-<name> when it exists.feature-<name> in the current repository.After selecting the target context:
npm ci, pnpm install --frozen-lockfile, yarn install --frozen-lockfile, or bun install --frozen-lockfile.uv sync, poetry install --no-interaction, pipenv sync, or pip install -r requirements.txt.bundle install.cargo fetch, or cargo build when fetch-only is insufficient.go mod download../gradlew dependencies, ./gradlew build, or Maven equivalent.End with:
npx claudepluginhub codeaholicguy/ai-devkitCreates an isolated git worktree for feature development with automatic dependency setup and test verification to ensure a clean baseline.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Creates isolated git worktrees for feature branches with directory selection, gitignore safety checks, multi-language project setup, and clean baseline verification.