
Comet Hotfix
When you need to fix an existing bug without adding new capabilities or touching architecture, this gets you through open, build, verify, and archive in one continuous flow. It skips brainstorming and design comparisons, creating minimal OpenSpec artifacts: a root cause analysis, single fix approach, and task list. The workflow auto-escalates if you hit signals like cross-module changes, new public APIs, or schema modifications, pausing to let you decide whether to continue as hotfix or upgrade to full Comet. It enforces systematic debugging on any test failure and won't let you archive until verification passes. Built for the common case where you know what broke and just need to fix it without ceremony.
- skills.sh installs
- 858
- GitHub stars
- 3.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rpamis/comet --skill comet-hotfix --agent claude-codeInstalls into .claude/skills of the current project.
Files
Comet 预设路径:Hotfix
开始或恢复任务前,必须先读取并遵守 comet-classic/reference/classic-layout.md。本文件中的 OpenSpec CLI 调用必须通过适配器执行,文件路径必须基于该协议绑定的 <classic-*> 逻辑根目录。
快速缺陷修复流程:open → build → 根因消除检查 → verify → archive。跳过 brainstorming 和完整实施计划,适用于修复已有行为、不需要设计新功能的场景。
适用条件(必须全部满足):
- 修复已有功能的缺陷,不新增功能
- 不涉及接口变更或架构调整
- 改动范围可预估(文件数仅作提示,不会自动要求升级,见 SDK 方法参考的预设范围复核)
不适用:修复过程中如发现 SDK 方法参考的预设范围复核列出的变化,需要由用户决定是否改用完整 /comet-classic 流程。
首次进入阶段、交接给新 Agent 或上下文恢复后,读取并执行 任务上下文与产物语言,优先采用当前 continuation 或已领取 Action 的 contextRequest;同一阶段连续执行不重复获取。
个人记忆只保存可复用用户信息,不写入任务摘要、进展、命令输出或测试结果。
SDK Run 路径
先读取并执行普通命令与检查。新旧 Run 均使用平台工具执行普通命令,在原 Run 提交实际检查报告;自动升级不恢复旧检查执行器。阶段准备、用户选择、任务完成和验收要求继续有效。
首次进入当前 SDK 阶段、换 Agent 或恢复上下文时,读取阶段入口与恢复及该参考的当前阶段章节;本会话已有且仍有效时直接复用。下文按当前阶段执行;nextAction.kind 的恢复路由只适用于没有 continuation mode 的旧响应。
Sponsors
Details
- Repository
- github.com/rpamis/comet
- Category
- Debugging
- First seen
- Jul 14, 2026