
Comet Build
This handles the third phase of a structured change management workflow after you've finished design. It creates an implementation plan through a subagent to avoid cluttering your main context, then gives you real choices about how to execute: branch versus worktree isolation, direct execution versus subagent driven development, TDD versus direct implementation, and three levels of code review intensity. The decision points are genuine pauses, not suggestions it ignores. It enforces constraints through state guards so you can't accidentally skip critical setup like choosing an isolation mode or confirming subagent dispatch capability. Best for teams that want enforcement around their development process rather than loose guidelines.
- skills.sh installs
- 884
- GitHub stars
- 3.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rpamis/comet --skill comet-build --agent claude-codeInstalls into .claude/skills of the current project.
Files
Comet 阶段 3:计划与构建(Build)
首次进入阶段、交接给新 Agent 或上下文恢复后,读取并执行 任务上下文与产物语言,优先采用当前 continuation 或已领取 Action 的 contextRequest;同一阶段连续执行不重复获取。
收到入口返回的 layout 后,首次接收阶段或绑定变化时执行阶段共用入口,复用仍有效的 layout,无需先额外运行 root show;遇编辑判断时按共用入口加载编辑后续行协议。
SDK Run 路径
先读取并执行普通命令与检查。新旧 Run 均使用平台工具执行普通命令,在原 Run 提交实际检查报告;自动升级不恢复旧检查执行器。阶段准备、用户选择、任务完成和验收要求继续有效。
首次进入当前 SDK 阶段、换 Agent 或恢复上下文时,读取阶段入口与恢复及该参考的当前阶段章节;本会话已有且仍有效时直接复用。下文按当前阶段执行;nextAction.kind 的恢复路由只适用于没有 continuation mode 的旧响应。
优先复用当前有效结果中的 agent.continuation / data.nextAction 与已绑定状态;只有冷恢复、外部状态变化或缺少必要信息时,才运行 comet state next <change-name> --json。data.runtimeFormat 为 sdk 时,只按本节推进 Run;SDK 方法参考的执行策略选项、计划内容要求、实施与审查方法仍适用,状态和证据通过本节命令提交。data.phase 必须为 build。已有有效 layout 与当前配置时直接复用;缺少时运行 comet state check <change-name> build --json;若 nextAction.kind 为 reconcile,运行 comet state check <change-name> build --recover --json 核对原 Action 的结果,在结果明确前不重发外部工作。
Sponsors
Details
- Repository
- github.com/rpamis/comet
- Categories
- DevOps & CI/CD, Automation & Workflows
- First seen
- Jul 14, 2026