[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72Y24ZSW09WRCM95C93BJ4P":3,"skill-same:01M72Y24ZSW09WRCM95C93BJ4P":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M72Y24ZSW09WRCM95C93BJ4P","dmux-workflows",null,"使用dmux（AI代理的tmux窗格管理器）进行多代理编排。跨Claude Code、Codex、OpenCode及其他工具的并行代理工作流模式。适用于并行运行多个代理会话或协调多代理开发工作流时。","SriramGandhiS\u002FSkills","SriramGandhiS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211849986?v=4","01M72WQCW12BYX71C6WN584TTA","Sriram S","01M72WQCWTJ2RD0ET1X31AF1RC",1,"MIT","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Feverything-claude-code\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fdmux-workflows\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: dmux-workflows\ndescription: 使用dmux（AI代理的tmux窗格管理器）进行多代理编排。跨Claude Code、Codex、OpenCode及其他工具的并行代理工作流模式。适用于并行运行多个代理会话或协调多代理开发工作流时。\norigin: ECC\n---\n\n# dmux 工作流\n\n使用 dmux（一个用于代理套件的 tmux 窗格管理器）来编排并行的 AI 代理会话。\n\n## 何时激活\n\n* 并行运行多个代理会话时\n* 跨 Claude Code、Codex 和其他套件协调工作时\n* 需要分而治之并行处理的复杂任务\n* 用户提到“并行运行”、“拆分此工作”、“使用 dmux”或“多代理”时\n\n## 什么是 dmux\n\ndmux 是一个基于 tmux 的编排工具，用于管理 AI 代理窗格：\n\n* 按 `n` 创建一个带有提示的新窗格\n* 按 `m` 将窗格输出合并回主会话\n* 支持：Claude Code、Codex、OpenCode、Cline、Gemini、Qwen\n\n**安装：** `npm install -g dmux` 或参见 [github.com\u002Fstandardagents\u002Fdmux](https:\u002F\u002Fgithub.com\u002Fstandardagents\u002Fdmux)\n\n## 快速开始\n\n```bash\n# Start dmux session\ndmux\n\n# Create agent panes (press 'n' in dmux, then type prompt)\n# Pane 1: \"Implement the auth middleware in src\u002Fauth\u002F\"\n# Pane 2: \"Write tests for the user service\"\n# Pane 3: \"Update API documentation\"\n\n# Each pane runs its own agent session\n# Press 'm' to merge results back\n```\n\n## 工作流模式\n\n### 模式 1：研究 + 实现\n\n将研究和实现拆分为并行轨道：\n\n```\nPane 1 (Research): \"研究 Node.js 中速率限制的最佳实践。\n  检查当前可用的库，比较不同方法，并将研究结果写入\n  \u002Ftmp\u002Frate-limit-research.md\"\n\nPane 2 (Implement): \"为我们的 Express API 实现速率限制中间件。\n  先从基本的令牌桶算法开始，研究完成后我们将进一步优化。\"\n\n# Pane 1 完成后，将研究结果合并到 Pane 2 的上下文中\n```\n\n### 模式 2：多文件功能\n\n在独立文件间并行工作：\n\n```\nPane 1: \"创建计费功能的数据库模式和迁移\"\nPane 2: \"在 src\u002Fapi\u002Fbilling\u002F 中构建计费 API 端点\"\nPane 3: \"创建计费仪表板 UI 组件\"\n\n# 合并所有内容，然后在主面板中进行集成\n```\n\n### 模式 3：测试 + 修复循环\n\n在一个窗格中运行测试，在另一个窗格中修复：\n\n```\n窗格 1（观察者）：“在监视模式下运行测试套件。当测试失败时，\n  总结失败原因。”\n\n窗格 2（修复者）：“根据窗格 1 的错误输出修复失败的测试”\n```\n\n### 模式 4：跨套件\n\n为不同任务使用不同的 AI 工具：\n\n```\nPane 1 (Claude Code): \"Review the security of the auth module\"\nPane 2 (Codex): \"Refactor the utility functions for performance\"\nPane 3 (Claude Code): \"Write E2E tests for the checkout flow\"\n```\n\n### 模式 5：代码审查流水线\n\n并行审查视角：\n\n```\nPane 1: \"审查 src\u002Fapi\u002F 中的安全漏洞\"\nPane 2: \"审查 src\u002Fapi\u002F 中的性能问题\"\nPane 3: \"审查 src\u002Fapi\u002F 中的测试覆盖缺口\"\n\n# 将所有审查合并为一份报告\n```\n\n## 最佳实践\n\n1. **仅限独立任务。** 不要并行化相互依赖输出的任务。\n2. **明确边界。** 每个窗格应处理不同的文件或关注点。\n3. **策略性合并。** 合并前审查窗格输出以避免冲突。\n4. **使用 git worktree。** 对于容易产生文件冲突的工作，为每个窗格使用单独的工作树。\n5. **资源意识。** 每个窗格都消耗 API 令牌 —— 将总窗格数控制在 5-6 个以下。\n\n## Git Worktree 集成\n\n对于涉及重叠文件的任务：\n\n```bash\n# Create worktrees for isolation\ngit worktree add -b feat\u002Fauth ..\u002Ffeature-auth HEAD\ngit worktree add -b feat\u002Fbilling ..\u002Ffeature-billing HEAD\n\n# Run agents in separate worktrees\n# Pane 1: cd ..\u002Ffeature-auth && claude\n# Pane 2: cd ..\u002Ffeature-billing && claude\n\n# Merge branches when done\ngit merge feat\u002Fauth\ngit merge feat\u002Fbilling\n```\n\n## 互补工具\n\n| 工具 | 功能 | 使用时机 |\n|------|-------------|-------------|\n| **dmux** | 用于代理的 tmux 窗格管理 | 并行代理会话 |\n| **Superset** | 用于 10+ 并行代理的终端 IDE | 大规模编排 |\n| **Claude Code Task 工具** | 进程内子代理生成 | 会话内的程序化并行 |\n| **Codex 多代理** | 内置代理角色 | Codex 特定的并行工作 |\n\n## ECC 助手\n\nECC 现在包含一个助手，用于使用独立的 git worktree 进行外部 tmux 窗格编排：\n\n```bash\nnode scripts\u002Forchestrate-worktrees.js plan.json --execute\n```\n\n示例 `plan.json`：\n\n```json\n{\n  \"sessionName\": \"skill-audit\",\n  \"baseRef\": \"HEAD\",\n  \"launcherCommand\": \"codex exec --cwd {worktree_path} --task-file {task_file}\",\n  \"workers\": [\n    { \"name\": \"docs-a\", \"task\": \"Fix skills 1-4 and write handoff notes.\" },\n    { \"name\": \"docs-b\", \"task\": \"Fix skills 5-8 and write handoff notes.\" }\n  ]\n}\n```\n\n该助手：\n\n* 为每个工作器创建一个基于分支的 git worktree\n* 可选择将主检出中的选定 `seedPaths` 覆盖到每个工作器的工作树中\n* 在 `.orchestration\u002F\u003Csession>\u002F` 下写入每个工作器的 `task.md`、`handoff.md` 和 `status.md` 文件\n* 启动一个 tmux 会话，每个工作器一个窗格\n* 在每个窗格中启动相应的工作器命令\n* 为主协调器保留主窗格空闲\n\n当工作器需要访问尚未纳入 `HEAD` 的脏文件或未跟踪的本地文件（例如本地编排脚本、草案计划或文档）时，使用 `seedPaths`：\n\n```json\n{\n  \"sessionName\": \"workflow-e2e\",\n  \"seedPaths\": [\n    \"scripts\u002Forchestrate-worktrees.js\",\n    \"scripts\u002Flib\u002Ftmux-worktree-orchestrator.js\",\n    \".claude\u002Fplan\u002Fworkflow-e2e-test.json\"\n  ],\n  \"launcherCommand\": \"bash {repo_root}\u002Fscripts\u002Forchestrate-codex-worker.sh {task_file} {handoff_file} {status_file}\",\n  \"workers\": [\n    { \"name\": \"seed-check\", \"task\": \"Verify seeded files are present before starting work.\" }\n  ]\n}\n```\n\n## 故障排除\n\n* **窗格无响应：** 直接切换到该窗格或使用 `tmux capture-pane -pt \u003Csession>:0.\u003Cpane-index>` 检查它。\n* **合并冲突：** 使用 git worktree 隔离每个窗格的文件更改。\n* **令牌使用量高：** 减少并行窗格数量。每个窗格都是一个完整的代理会话。\n* **未找到 tmux：** 使用 `brew install tmux` (macOS) 或 `apt install tmux` (Linux) 安装。\n","# dmux 工作流\n\n使用 dmux（一个用于代理套件的 tmux 窗格管理器）来编排并行的 AI 代理会话。\n\n## 何时激活\n\n* 并行运行多个代理会话时\n* 跨 Claude Code、Codex 和其他套件协调工作时\n* 需要分而治之并行处理的复杂任务\n* 用户提到“并行运行”、“拆分此工作”、“使用 dmux”或“多代理”时\n\n## 什么是 dmux\n\ndmux 是一个基于 tmux 的编排工具，用于管理 AI 代理窗格：\n\n* 按 `n` 创建一个带有提示的新窗格\n* 按 `m` 将窗格输出合并回主会话\n* 支持：Claude Code、Codex、OpenCode、Cline、Gemini、Qwen\n\n**安装：** `npm install -g dmux` 或参见 [github.com\u002Fstandardagents\u002Fdmux](https:\u002F\u002Fgithub.com\u002Fstandardagents\u002Fdmux)\n\n## 快速开始\n\n```bash\n# Start dmux session\ndmux\n\n# Create agent panes (press 'n' in dmux, then type prompt)\n# Pane 1: \"Implement the auth middleware in src\u002Fauth\u002F\"\n# Pane 2: \"Write tests for the user service\"\n# Pane 3: \"Update API documentation\"\n\n# Each pane runs its own agent session\n# Press 'm' to merge results back\n```\n\n## 工作流模式\n\n### 模式 1：研究 + 实现\n\n将研究和实现拆分为并行轨道：\n\n```\nPane 1 (Research): \"研究 Node.js 中速率限制的最佳实践。\n  检查当前可用的库，比较不同方法，并将研究结果写入\n  \u002Ftmp\u002Frate-limit-research.md\"\n\nPane 2 (Implement): \"为我们的 Express API 实现速率限制中间件。\n  先从基本的令牌桶算法开始，研究完成后我们将进一步优化。\"\n\n# Pane 1 完成后，将研究结果合并到 Pane 2 的上下文中\n```\n\n### 模式 2：多文件功能\n\n在独立文件间并行工作：\n\n```\nPane 1: \"创建计费功能的数据库模式和迁移\"\nPane 2: \"在 src\u002Fapi\u002Fbilling\u002F 中构建计费 API 端点\"\nPane 3: \"创建计费仪表板 UI 组件\"\n\n# 合并所有内容，然后在主面板中进行集成\n```\n\n### 模式 3：测试 + 修复循环\n\n在一个窗格中运行测试，在另一个窗格中修复：\n\n```\n窗格 1（观察者）：“在监视模式下运行测试套件。当测试失败时，\n  总结失败原因。”\n\n窗格 2（修复者）：“根据窗格 1 的错误输出修复失败的测试”\n```\n\n### 模式 4：跨套件\n\n为不同任务使用不同的 AI 工具：\n\n```\nPane 1 (Claude Code): \"Review the security of the auth module\"\nPane 2 (Codex): \"Refactor the utility functions for performance\"\nPane 3 (Claude Code): \"Write E2E tests for the checkout flow\"\n```\n\n### 模式 5：代码审查流水线\n\n并行审查视角：\n\n```\nPane 1: \"审查 src\u002Fapi\u002F 中的安全漏洞\"\nPane 2: \"审查 src\u002Fapi\u002F 中的性能问题\"\nPane 3: \"审查 src\u002Fapi\u002F 中的测试覆盖缺口\"\n\n# 将所有审查合并为一份报告\n```\n\n## 最佳实践\n\n1. **仅限独立任务。** 不要并行化相互依赖输出的任务。\n2. **明确边界。** 每个窗格应处理不同的文件或关注点。\n3. **策略性合并。** 合并前审查窗格输出以避免冲突。\n4. **使用 git worktree。** 对于容易产生文件冲突的工作，为每个窗格使用单独的工作树。\n5. **资源意识。** 每个窗格都消耗 API 令牌 —— 将总窗格数控制在 5-6 个以下。\n\n## Git Worktree 集成\n\n对于涉及重叠文件的任务：\n\n```bash\n# Create worktrees for isolation\ngit worktree add -b feat\u002Fauth ..\u002Ffeature-auth HEAD\ngit worktree add -b feat\u002Fbilling ..\u002Ffeature-billing HEAD\n\n# Run agents in separate worktrees\n# Pane 1: cd ..\u002Ffeature-auth && claude\n# Pane 2: cd ..\u002Ffeature-billing && claude\n\n# Merge branches when done\ngit merge feat\u002Fauth\ngit merge feat\u002Fbilling\n```\n\n## 互补工具\n\n| 工具 | 功能 | 使用时机 |\n|------|-------------|-------------|\n| **dmux** | 用于代理的 tmux 窗格管理 | 并行代理会话 |\n| **Superset** | 用于 10+ 并行代理的终端 IDE | 大规模编排 |\n| **Claude Code Task 工具** | 进程内子代理生成 | 会话内的程序化并行 |\n| **Codex 多代理** | 内置代理角色 | Codex 特定的并行工作 |\n\n## ECC 助手\n\nECC 现在包含一个助手，用于使用独立的 git worktree 进行外部 tmux 窗格编排：\n\n```bash\nnode scripts\u002Forchestrate-worktrees.js plan.json --execute\n```\n\n示例 `plan.json`：\n\n```json\n{\n  \"sessionName\": \"skill-audit\",\n  \"baseRef\": \"HEAD\",\n  \"launcherCommand\": \"codex exec --cwd {worktree_path} --task-file {task_file}\",\n  \"workers\": [\n    { \"name\": \"docs-a\", \"task\": \"Fix skills 1-4 and write handoff notes.\" },\n    { \"name\": \"docs-b\", \"task\": \"Fix skills 5-8 and write handoff notes.\" }\n  ]\n}\n```\n\n该助手：\n\n* 为每个工作器创建一个基于分支的 git worktree\n* 可选择将主检出中的选定 `seedPaths` 覆盖到每个工作器的工作树中\n* 在 `.orchestration\u002F\u003Csession>\u002F` 下写入每个工作器的 `task.md`、`handoff.md` 和 `status.md` 文件\n* 启动一个 tmux 会话，每个工作器一个窗格\n* 在每个窗格中启动相应的工作器命令\n* 为主协调器保留主窗格空闲\n\n当工作器需要访问尚未纳入 `HEAD` 的脏文件或未跟踪的本地文件（例如本地编排脚本、草案计划或文档）时，使用 `seedPaths`：\n\n```json\n{\n  \"sessionName\": \"workflow-e2e\",\n  \"seedPaths\": [\n    \"scripts\u002Forchestrate-worktrees.js\",\n    \"scripts\u002Flib\u002Ftmux-worktree-orchestrator.js\",\n    \".claude\u002Fplan\u002Fworkflow-e2e-test.json\"\n  ],\n  \"launcherCommand\": \"bash {repo_root}\u002Fscripts\u002Forchestrate-codex-worker.sh {task_file} {handoff_file} {status_file}\",\n  \"workers\": [\n    { \"name\": \"seed-check\", \"task\": \"Verify seeded files are present before starting work.\" }\n  ]\n}\n```\n\n## 故障排除\n\n* **窗格无响应：** 直接切换到该窗格或使用 `tmux capture-pane -pt \u003Csession>:0.\u003Cpane-index>` 检查它。\n* **合并冲突：** 使用 git worktree 隔离每个窗格的文件更改。\n* **令牌使用量高：** 减少并行窗格数量。每个窗格都是一个完整的代理会话。\n* **未找到 tmux：** 使用 `brew install tmux` (macOS) 或 `apt install tmux` (Linux) 安装。\n",{"name":5,"origin":24,"description":7},"ECC","master","d6ca01da0f24a3b0e26e4a8b7b66cbd25d429f5d","everything-claude-code\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fdmux-workflows",0,"https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills","https:\u002F\u002Fgithub.com\u002FSriramGandhiS","https:\u002F\u002Fsriram.website\u002F","Curious guy who keeps tinkering until something works","2026-05-20 16:21:34",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add SriramGandhiS\u002FSkills --skill dmux-workflows",{"tool":40,"command":41},"bunx","bunx skills add SriramGandhiS\u002FSkills --skill dmux-workflows",{"tool":43,"command":44},"pnpm","pnpm dlx skills add SriramGandhiS\u002FSkills --skill dmux-workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Feverything-claude-code\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fdmux-workflows\u002FSKILL.md",true,[],[49,57,62,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M732609EPJWV13PVTX3GT4TM","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7325XM47AGWB6K6C4VXKE6B","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":56},"01M7325WP6DES69JKC840VMFEP","verification-loop","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":56},"01M7325TFQF1DZTQ6J3WGQQ1VR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":56},"01M7325RGV9AY9PK92D2V8KKPW","strategic-compact","Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fstrategic-compact\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":56},"01M7325MZC28SE86E7NMCNEFS4","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[]]