hotfix
用户显式调用 skill:hotfix 时激活。紧急修复精简通道:mini brainstorming → fix → test → closing-the-loop(mini)。柔性技能。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
用户显式调用 skill:hotfix 时激活。紧急修复精简通道:mini brainstorming → fix → test → closing-the-loop(mini)。柔性技能。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Activated before any coding begins. Socratic requirements clarification → project type detection → L4 exploration → outline-first design → save to 6-section roadmap. Flexible skill.
Activate after all tasks are complete. Confirm implementation integrity → roadmap recording → cross-project experience extraction → branch cleanup → local git commit. Rigid skill.
Activated when user explicitly invokes skill:hotfix. Emergency fix streamlined channel: mini brainstorming -> fix -> test -> closing-the-loop(mini). Flexible skill.
Activated after writing-plans completes. Execute TDD (RED→GREEN→REFACTOR) per sub-function → subagent 8-Dimension Review → Sub-function Full Testing → Full-Scenario Integration Testing after all pass. Bug fixes follow the same flow. Rigid skill.
Activate after design is approved. Break work into function-level TDD Triplet tasks → reference roadmap §4 Anti-Duplication → annotate L2/L3 reuse. Reference implementing and closing-the-loop at end of plan. Flexible skill.
任何编码开始前激活。苏格拉底式需求澄清 → 项目类型检测 → L4勘探 → 大纲先行 → 保存6节roadmap。柔性技能。
| name | hotfix |
| description | 用户显式调用 skill:hotfix 时激活。紧急修复精简通道:mini brainstorming → fix → test → closing-the-loop(mini)。柔性技能。 |
仅当用户显式调用 skill:hotfix 时触发。不自动检测。
不是紧急场景 → 走标准工作流(brainstorming → writing-plans → implementing → closing-the-loop)。
skill:hotfix 触发
│
▼
Mini Brainstorming(5 分钟)
→ 澄清 bug 现象和影响范围
→ 定位涉及的类/方法(git log 最近变更)
→ 修复思路(1-3 句话)
→ 记录于 roadmap §5
│
▼
TDD 修复
→ RED:写复现测试,确认 bug 存在
→ GREEN:最小修复,测试变绿
→ REFACTOR:同类 bug 搜索(Grep 相同模式),一并修复
│
▼
快速审查 + 测试
→ Subagent 审查(8 维,重点:回归风险 + 正确性)
→ 子功能全量测试(4 类场景)
│
▼
Closing the Loop(mini)
→ git commit(本地)
→ roadmap §5 追加
→ 如有新技术知识 → L2 提炼
| 环节 | 标准工作流 | hotfix |
|---|---|---|
| brainstorming | 完整 4 步 | mini(只澄清 bug + 定位代码) |
| writing-plans | 功能拆分 + 防重复 | 跳过 |
| implementing | 逐功能完整循环 | 只修 bug + 同类搜索 |
| code review | 8 维全量 | 8 维,重点关注回归+正确性 |
| 子功能测试 | 4 类并行 | 4 类并行 |
| 集成测试 | 全场景 | 跳过 |
| closing-the-loop | 完整 5 项 | mini(3 项) |
| 你的想法 | 真相 |
|---|---|
| "这个 bug 很急,跳过测试直接修" | 紧急修复才最需要测试——修错了一分钟变一小时。 |
| "hotfix 不要写复现测试,直接改" | 不先复现 = 你不知道根因 = 可能修错地方。 |