[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JV29WNJ5ZSH4PE6BJM4B3G":3,"skill-same:01M6JV29WNJ5ZSH4PE6BJM4B3G":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6JV29WNJ5ZSH4PE6BJM4B3G","git-worktree-isolation",null,"基于 Git Worktree 的任务隔离工作流：每个开发任务在独立 worktree 中执行， 确保主工作区干净、并行任务互不干扰，完成后结构化决策合并\u002FPR\u002F保留\u002F丢弃。 与 parallel-execution 的 worktree 基础设施互补，本 skill 聚焦任务级隔离策略。","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fgit-worktree-isolation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"git","worktree","git worktree","isolation","worktree isolation","git worktree isolation","pr","harness","engineering","execution","parallel","superpowers","worktrees","parallel-execution","2026-11-10 10:12:30",false,"---\nname: git-worktree-isolation\ndescription: >\n  基于 Git Worktree 的任务隔离工作流：每个开发任务在独立 worktree 中执行，\n  确保主工作区干净、并行任务互不干扰，完成后结构化决策合并\u002FPR\u002F保留\u002F丢弃。\n  与 parallel-execution 的 worktree 基础设施互补，本 skill 聚焦任务级隔离策略。\norigin: superpowers-using-git-worktrees + harness-engineering\n---\n\n# Git Worktree Isolation\n\n## 用途\n\n- 确保每个开发任务（feature \u002F fix \u002F spike）在 **隔离的 worktree + 分支** 中执行，主工作区始终保持可切换状态。\n- 在多 agent 并行场景下，每个 agent 拥有独立文件系统视图，避免写冲突。\n- 任务完成后提供 **结构化收口决策**（merge \u002F PR \u002F keep \u002F discard），而不是任凭 worktree 积累。\n\n## 触发信号\n\n- `\u002Fteam-execute` 分派的并行实现任务。\n- `wave-execution` 中同一 Wave 的多个工作项。\n- 需要在不影响主分支的情况下进行探索性实现或 spike。\n- 当前工作区有未提交变更，但需要紧急处理另一个任务。\n- Code review 后的修改需要在隔离环境中完成。\n\n## 核心原则\n\n1. **一个任务 = 一个 worktree = 一个分支**——不共用 worktree。\n2. **worktree 有明确生命周期**——创建时绑定任务 ID，完成后必须做收口决策。\n3. **主工作区是调度中心**——编排和合并在主工作区进行，实现在 worktree 中进行。\n\n## 工作流\n\n### 1. 创建隔离环境\n\n```bash\n# 命名规则: .worktrees\u002F{slug}-{task-id}\ngit worktree add .worktrees\u002F{slug}-{task-id} -b task\u002F{slug}\u002F{task-id}\n\n# 验证隔离\ncd .worktrees\u002F{slug}-{task-id}\ngit branch --show-current   # → task\u002F{slug}\u002F{task-id}\n```\n\n**命名约定：**\n\n| 元素 | 格式 | 示例 |\n|------|------|------|\n| Worktree 路径 | `.worktrees\u002F{slug}-{task-id}` | `.worktrees\u002Fauth-T001` |\n| 分支名 | `task\u002F{slug}\u002F{task-id}` | `task\u002Fauth\u002FT001` |\n| Spike 分支 | `spike\u002F{slug}\u002F{description}` | `spike\u002Fauth\u002Foauth-flow` |\n\n### 2. 在 worktree 中执行\n\n```\n进入 worktree 目录 →\n  加载任务上下文（STATE.md 对应工作项）→\n  执行实现 →\n  运行测试 →\n  提交到 worktree 分支\n```\n\n**执行约束：**\n\n- 每个 worktree 中的 agent 只操作任务范围内的文件。\n- 不在 worktree 中修改共享配置（package.json \u002F pom.xml 等），除非任务明确要求。\n- 提交信息包含任务 ID：`feat(T001): implement auth flow`。\n\n### 3. 收口决策\n\n任务完成后，在 **主工作区** 执行收口：\n\n| 决策 | 条件 | 操作 |\n|------|------|------|\n| **Merge** | 代码通过 review + 测试 | `git merge task\u002F{slug}\u002F{task-id}` + 清理 worktree |\n| **PR** | 需要异步 review 或 CI | 创建 PR + 保留 worktree 直到合并 |\n| **Keep** | 任务暂停但稳定 | 标记为 `paused`，保留 worktree |\n| **Discard** | spike 完成或方向废弃 | 删除 worktree + 分支 |\n\n```bash\n# Merge 路径\ncd \u002Fpath\u002Fto\u002Fmain-worktree\ngit merge --no-ff task\u002F{slug}\u002F{task-id} -m \"feat(T001): implement auth flow\"\ngit worktree remove .worktrees\u002F{slug}-{task-id}\ngit branch -d task\u002F{slug}\u002F{task-id}\n\n# Discard 路径\ngit worktree remove --force .worktrees\u002F{slug}-{task-id}\ngit branch -D spike\u002F{slug}\u002F{description}\n```\n\n### 4. 清理巡检\n\n定期（或每次 `\u002Fteam-review` 前）执行清理：\n\n```bash\n# 列出所有 worktree\ngit worktree list\n\n# 清理已删除的 worktree 引用\ngit worktree prune\n\n# 查找已合并但未清理的任务分支\ngit branch --merged main | grep 'task\u002F'\n```\n\n## 与 parallel-execution 的关系\n\n| 关注点 | parallel-execution | git-worktree-isolation |\n|--------|-------------------|----------------------|\n| 核心目标 | 多实例并行加速 | 任务级文件隔离 |\n| Worktree 使用 | 作为并行基础设施 | 作为隔离策略 |\n| 分支管理 | 自动创建\u002F合并 | 结构化收口决策 |\n| 清理策略 | 任务结束自动清理 | 显式四选一决策 |\n| 集成点 | wave-execution 调用 | 为 parallel-execution 提供隔离规范 |\n\n`parallel-execution` 调用 `git-worktree-isolation` 的隔离规范创建 worktree，`git-worktree-isolation` 依赖 `parallel-execution` 的任务分发能力。\n\n## 与 session-continuity 的关系\n\n- `\u002Fpause` 时：记录活跃 worktree 列表到 HANDOFF.json 的 `active_worktrees` 字段。\n- `\u002Fresume` 时：检查 worktree 状态，标记哪些仍然有效、哪些需要清理。\n\n## 配套约束\n\n1. `.worktrees\u002F` 目录加入 `.gitignore`，不提交到远程仓库。\n2. worktree 中不执行 `git rebase` 主分支——避免在隔离环境中引入合并复杂度。\n3. 超过 7 天未活动的 worktree 在清理巡检时标记为候选清理项。\n4. 共享锁文件（lockfile）变更在 merge 阶段统一解决，不在 worktree 中各自更新。\n\n## 验证标准\n\n- [ ] 创建的 worktree 路径遵循 `.worktrees\u002F{slug}-{task-id}` 命名规范\n- [ ] 每个 worktree 对应唯一分支，无分支共用\n- [ ] 任务完成后在 24h 内执行收口决策（merge \u002F PR \u002F keep \u002F discard）\n- [ ] `git worktree list` 无孤立 worktree\n- [ ] 已合并分支已被删除\n","# Git Worktree Isolation\n\n## 用途\n\n- 确保每个开发任务（feature \u002F fix \u002F spike）在 **隔离的 worktree + 分支** 中执行，主工作区始终保持可切换状态。\n- 在多 agent 并行场景下，每个 agent 拥有独立文件系统视图，避免写冲突。\n- 任务完成后提供 **结构化收口决策**（merge \u002F PR \u002F keep \u002F discard），而不是任凭 worktree 积累。\n\n## 触发信号\n\n- `\u002Fteam-execute` 分派的并行实现任务。\n- `wave-execution` 中同一 Wave 的多个工作项。\n- 需要在不影响主分支的情况下进行探索性实现或 spike。\n- 当前工作区有未提交变更，但需要紧急处理另一个任务。\n- Code review 后的修改需要在隔离环境中完成。\n\n## 核心原则\n\n1. **一个任务 = 一个 worktree = 一个分支**——不共用 worktree。\n2. **worktree 有明确生命周期**——创建时绑定任务 ID，完成后必须做收口决策。\n3. **主工作区是调度中心**——编排和合并在主工作区进行，实现在 worktree 中进行。\n\n## 工作流\n\n### 1. 创建隔离环境\n\n```bash\n# 命名规则: .worktrees\u002F{slug}-{task-id}\ngit worktree add .worktrees\u002F{slug}-{task-id} -b task\u002F{slug}\u002F{task-id}\n\n# 验证隔离\ncd .worktrees\u002F{slug}-{task-id}\ngit branch --show-current   # → task\u002F{slug}\u002F{task-id}\n```\n\n**命名约定：**\n\n| 元素 | 格式 | 示例 |\n|------|------|------|\n| Worktree 路径 | `.worktrees\u002F{slug}-{task-id}` | `.worktrees\u002Fauth-T001` |\n| 分支名 | `task\u002F{slug}\u002F{task-id}` | `task\u002Fauth\u002FT001` |\n| Spike 分支 | `spike\u002F{slug}\u002F{description}` | `spike\u002Fauth\u002Foauth-flow` |\n\n### 2. 在 worktree 中执行\n\n```\n进入 worktree 目录 →\n  加载任务上下文（STATE.md 对应工作项）→\n  执行实现 →\n  运行测试 →\n  提交到 worktree 分支\n```\n\n**执行约束：**\n\n- 每个 worktree 中的 agent 只操作任务范围内的文件。\n- 不在 worktree 中修改共享配置（package.json \u002F pom.xml 等），除非任务明确要求。\n- 提交信息包含任务 ID：`feat(T001): implement auth flow`。\n\n### 3. 收口决策\n\n任务完成后，在 **主工作区** 执行收口：\n\n| 决策 | 条件 | 操作 |\n|------|------|------|\n| **Merge** | 代码通过 review + 测试 | `git merge task\u002F{slug}\u002F{task-id}` + 清理 worktree |\n| **PR** | 需要异步 review 或 CI | 创建 PR + 保留 worktree 直到合并 |\n| **Keep** | 任务暂停但稳定 | 标记为 `paused`，保留 worktree |\n| **Discard** | spike 完成或方向废弃 | 删除 worktree + 分支 |\n\n```bash\n# Merge 路径\ncd \u002Fpath\u002Fto\u002Fmain-worktree\ngit merge --no-ff task\u002F{slug}\u002F{task-id} -m \"feat(T001): implement auth flow\"\ngit worktree remove .worktrees\u002F{slug}-{task-id}\ngit branch -d task\u002F{slug}\u002F{task-id}\n\n# Discard 路径\ngit worktree remove --force .worktrees\u002F{slug}-{task-id}\ngit branch -D spike\u002F{slug}\u002F{description}\n```\n\n### 4. 清理巡检\n\n定期（或每次 `\u002Fteam-review` 前）执行清理：\n\n```bash\n# 列出所有 worktree\ngit worktree list\n\n# 清理已删除的 worktree 引用\ngit worktree prune\n\n# 查找已合并但未清理的任务分支\ngit branch --merged main | grep 'task\u002F'\n```\n\n## 与 parallel-execution 的关系\n\n| 关注点 | parallel-execution | git-worktree-isolation |\n|--------|-------------------|----------------------|\n| 核心目标 | 多实例并行加速 | 任务级文件隔离 |\n| Worktree 使用 | 作为并行基础设施 | 作为隔离策略 |\n| 分支管理 | 自动创建\u002F合并 | 结构化收口决策 |\n| 清理策略 | 任务结束自动清理 | 显式四选一决策 |\n| 集成点 | wave-execution 调用 | 为 parallel-execution 提供隔离规范 |\n\n`parallel-execution` 调用 `git-worktree-isolation` 的隔离规范创建 worktree，`git-worktree-isolation` 依赖 `parallel-execution` 的任务分发能力。\n\n## 与 session-continuity 的关系\n\n- `\u002Fpause` 时：记录活跃 worktree 列表到 HANDOFF.json 的 `active_worktrees` 字段。\n- `\u002Fresume` 时：检查 worktree 状态，标记哪些仍然有效、哪些需要清理。\n\n## 配套约束\n\n1. `.worktrees\u002F` 目录加入 `.gitignore`，不提交到远程仓库。\n2. worktree 中不执行 `git rebase` 主分支——避免在隔离环境中引入合并复杂度。\n3. 超过 7 天未活动的 worktree 在清理巡检时标记为候选清理项。\n4. 共享锁文件（lockfile）变更在 merge 阶段统一解决，不在 worktree 中各自更新。\n\n## 验证标准\n\n- [ ] 创建的 worktree 路径遵循 `.worktrees\u002F{slug}-{task-id}` 命名规范\n- [ ] 每个 worktree 对应唯一分支，无分支共用\n- [ ] 任务完成后在 24h 内执行收口决策（merge \u002F PR \u002F keep \u002F discard）\n- [ ] `git worktree list` 无孤立 worktree\n- [ ] 已合并分支已被删除\n",{"name":5,"origin":38,"description":39},"superpowers-using-git-worktrees + harness-engineering","基于 Git Worktree 的任务隔离工作流：每个开发任务在独立 worktree 中执行， 确保主工作区干净、并行任务互不干扰，完成后结构化决策合并\u002FPR\u002F保留\u002F丢弃。 与 parallel-execution 的 worktree 基础设施互补，本 skill 聚焦任务级隔离策略。\n","main","b0f0a87593c578a7898eccaf1b363f7f87c1f99b","plugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fgit-worktree-isolation",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill git-worktree-isolation",{"tool":56,"command":57},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill git-worktree-isolation",{"tool":59,"command":60},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill git-worktree-isolation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fgit-worktree-isolation\u002FSKILL.md",true,[],[65,75,83,91,99,107],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":74},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":74},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":74},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":74},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":74},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]