From 85429095801b758c15227e3ffa9c521fef8b276b Mon Sep 17 00:00:00 2001 From: zichun Date: Mon, 25 May 2026 14:11:22 +0800 Subject: [PATCH] fix(lite): point feature-spec upstream to phase-driver; clarify module_id extraction --- skills/coding/feature-spec/SKILL.md | 3 +-- skills/coding/phase-driver/SKILL.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/skills/coding/feature-spec/SKILL.md b/skills/coding/feature-spec/SKILL.md index 390ce57..b1a4821 100644 --- a/skills/coding/feature-spec/SKILL.md +++ b/skills/coding/feature-spec/SKILL.md @@ -210,6 +210,5 @@ allowed-tools: Read Write Grep Glob Skill AskUserQuestion Bash(mysql *) ## 参考 - `${CLAUDE_SKILL_DIR}/templates/feature-spec-plan-template.md` -- 上游(backend):`module-start` -- 上游(frontend):`frontend-start` +- 上游:`phase-driver`(backend / frontend 共用,按 phase 派发本 skill) - 下游:`feature-tdd` diff --git a/skills/coding/phase-driver/SKILL.md b/skills/coding/phase-driver/SKILL.md index 81f7755..ac6e0bb 100644 --- a/skills/coding/phase-driver/SKILL.md +++ b/skills/coding/phase-driver/SKILL.md @@ -19,7 +19,7 @@ allowed-tools: Read Write Edit Skill Glob Grep AskUserQuestion Bash(git branch * ### 步骤 B1:定位当前模块与 REQ 列表 -读取 `docs/08-模块任务管理.md § 二`,按文中模块顺序扫描,找到第一个未完成的模块作为 `current_module`。 +读取 `docs/08-模块任务管理.md § 二`,按文中模块顺序扫描,找到第一个未完成的模块作为 `current_module`,并从其条目中提取 `module_id`(后续分支名 `module-` / 里程碑判定都用它)。 **模块完成判定**(双重校验,二者皆满足才算完成): - 该模块条目下 `里程碑:` 字段 == `milestone/` -- libgit2 0.22.2