Skip to main content

using-git-worktrees

星标12
分支0
更新时间2026年7月13日 12:50

Isolated workspace - before feature work that needs isolation from the current workspace or before executing a plan: detect existing isolation first, prefer native worktree tools (e.g. Claude Code EnterWorktree), fall back to manual git worktree; ensure dependencies installed and the test baseline is green. / 隔离工作区——开始需要与当前工作区隔离的功能开发、或执行实施计划之前使用。先检测已有隔离,优先平台原生 worktree 工具(如 Claude Code 的 EnterWorktree),无原生工具才降级手工 git worktree。确保隔离工作区就绪、依赖安装完成、测试基线干净。

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
3 个文件
SKILL.md
readonly