From autopilot
Repair an existing Claude Code worktree — re-create missing symlinks and reinstall dependencies. Use when a worktree is missing .env files or node_modules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/autopilot:worktree-repairThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
修复当前 worktree 的配置:补全缺失的符号链接和依赖安装。
修复当前 worktree 的配置:补全缺失的符号链接和依赖安装。
.git 是文件而非目录)node "${CLAUDE_SKILL_DIR}/../../scripts/worktree.mjs" repair "$(pwd)"
.env.local 等配置文件缺失node_modules 不存在或已损坏git worktree add 手动创建的 worktree 需要初始化npx claudepluginhub strzhao/autopilot --plugin autopilotAutomates Git worktree creation for isolated feature branches, listing, removal, and status checks. Copies env files like .env/.nvmrc and runs npm/yarn/pnpm/bun install.
Creates isolated git worktrees for parallel development without disrupting the main workspace. Includes safety verification to prevent accidental commits of worktree contents.
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.