$npx -y skills add BlueprintOS/analysis-to-delivery --skill executing-plans逐步按计划执行 + 复盘 — 来自 superpowers 体系。本 skill 是桥接层,完整纪律见 <SUPERPOWERS_SKILL_ROOT>/executing-plans/。
| 1 | # Executing-Plans(桥接到 superpowers) |
| 2 | |
| 3 | ## Contract |
| 4 | |
| 5 | - Inputs: writing plan, passing task tests, implementation diff |
| 6 | - Outputs: commit history and 5-question retrospective / knowledge updates |
| 7 | - Gates: tests pass; verification command recorded; commit or explicit handoff state exists |
| 8 | - Required disciplines: `stage-gate` |
| 9 | - Next: next `/tdd` task or `/verification-before-completion` |
| 10 | |
| 11 | > **本仓库不维护此 skill 的内容**。完整纪律请读: |
| 12 | > `<SUPERPOWERS_SKILL_ROOT>/executing-plans/SKILL.md` |
| 13 | |
| 14 | ## 何时调 |
| 15 | |
| 16 | - tdd 通过后,逐步 commit |
| 17 | - 每个 writing-plans 子任务 GREEN 后 |
| 18 | |
| 19 | ## 衔接点 |
| 20 | |
| 21 | - **产出**:commit history + 5 问复盘(沉淀到知识库) |
| 22 | - **下一步**:下一任务(回到 `/tdd`)或 `/verification-before-completion` |
| 23 | - **门控**:`disciplines/stage-gate` 第 3 层(commit + 复盘 + 沉淀三件套) |
| 24 | |
| 25 | ## 降级方案(superpowers 未装时) |
| 26 | |
| 27 | 如果 `<SUPERPOWERS_SKILL_ROOT>/executing-plans/` 不存在,按以下 4 步执行 + 复盘: |
| 28 | |
| 29 | ### 1. 一次一个任务 |
| 30 | |
| 31 | - 从 plan 第 1 个**未被 blocked** 的任务开始 |
| 32 | - 走 `/tdd` 红绿循环直到 GREEN |
| 33 | - ❌ 跳任务 = 中间某个依赖没建,后面全崩 |
| 34 | |
| 35 | ### 2. commit 前 3 件套 |
| 36 | |
| 37 | | 件 | 内容 | 标志 | |
| 38 | |---|---|---| |
| 39 | | Verify | 跑完整验证命令看到 0 失败 | "VERIFIED:" 在 commit msg | |
| 40 | | Test | RED→GREEN 转换记录在 commit msg | 让人能复现 | |
| 41 | | 复盘 | 5 问复盘填到 commit body 或 PR | 沉淀到知识库 | |
| 42 | |
| 43 | ### 3. 5 问复盘模板 |
| 44 | |
| 45 | 每次 commit 后回答 5 问: |
| 46 | |
| 47 | 1. **实际用时 vs 估计**:偏差多少?为什么? |
| 48 | 2. **遇到什么意外**:踩了什么坑? |
| 49 | 3. **有什么可以做得更好**:下次的规则/工具变更? |
| 50 | 4. **学到什么新知识**:要写入知识库哪一篇? |
| 51 | 5. **下一步动作**:接哪个任务 / 是否需要回头改 plan? |
| 52 | |
| 53 | ### 4. 进入下一个任务或停 |
| 54 | |
| 55 | - 下一个任务 → 回到 `/tdd` |
| 56 | - 全部完成 → 走 `/verification-before-completion` |
| 57 | - 卡住 → 停下,把 5 问复盘写到 `RETRO_<topic>.md`,向用户汇报 |
| 58 | |
| 59 | ### 最小纪律摘要 |
| 60 | |
| 61 | - **不跳任务**:plan 顺序有依赖,跳 = 后面崩 |
| 62 | - **commit 前必 verify**:`verification-before-completion` 5 步铁律 |
| 63 | - **5 问不复盘 = 知识不沉淀**:下次再踩同一个坑 |
| 64 | - **卡住就停,不要硬刚**:停 > 撞墙 |
| 65 | |
| 66 | ### 安装提示 |
| 67 | |
| 68 | ```bash |
| 69 | npx skills@latest add obra/superpowers-executing-plans |
| 70 | ``` |