spec-test-plan
Spec 测试计划(V1:Test Plan)
为当前 Spec Pack 生成/更新测试计划:冻结 范围、策略、环境、准入/准出标准、风险与验证清单,并与 requirements/* 的验收口径保持可追溯一致。
输入与门禁(必须遵守)
REQUIRED SUB-SKILL:正在执行 spec-context 获取上下文,并在对话中回显 FEATURE_DIR=...(允许 (reuse))。
- 必读项目级 memory:
project/memory/product.md、project/memory/tech.md、project/memory/glossary.md;读不到必须写CONTEXT GAP。 - 需求级最小输入:
{FEATURE_DIR}/requirements/solution.md或{FEATURE_DIR}/requirements/prd.md至少其一必须存在;否则停止并写CONTEXT GAP。
输出(落盘)
{FEATURE_DIR}/verification/test-plan.md
强制模板(必须遵守)
test-plan.md必须按模板生成(不得自创结构/字段名):assets/test_plan_template.md
内容要求(最小结构)
test-plan.md 至少包含:
- 执行摘要(待测能力/版本/目标/关键风险)
- 测试范围(In/Out)
- 测试策略(类型:功能/UI/集成/回归/安全…;方法:正向/反向/边界)
- 环境与数据(环境、账号/权限、数据准备方式)
- 准入标准(Entry Criteria)
- 准出标准(Exit Criteria,必须含“阻断交付”的口径)
- 风险与验证清单(Owner/截止/信号/动作)
- 追溯链接(指向
solution/prd的 AC/范围来源;如有#impact-analysis也要链接) - CONTEXT GAP(如有:缺失输入导致的影响)
DoD 自检(V1-DoD)
- 范围 In/Out 明确,且与
requirements/*一致 - 有准入/准出标准,并能明确“什么情况下阻断交付”
- 风险不是清单摆设:每条风险都有最小验证动作(Owner/信号/动作)
- 有追溯入口:至少能回答“本计划依据哪份 AC/范围定义”
More from zixun-github/aisdlc
spec-product-prd
Use when 需要在 sdlc-dev 的产品需求 Spec 流程执行 R2,将 requirements/solution.md 转写为可交付、可验收、可测试的 requirements/prd.md,且需要避免猜路径、在缺少 solution.md 时仍继续生成、或用“待确认问题/Open Questions”替代验证清单。
126spec-product-prototype
Use when 需要在 sdlc-dev 的产品需求 Spec 流程执行 R3(原型生成),基于 requirements/prd.md 产出 requirements/prototype.md(任务流+页面结构+ASCII线框+AC映射+走查脚本),并避免缺少上下文/缺少 PRD 仍继续生成、用 Open Questions 代替验证清单、或用非 ASCII 方式导致原型不可追溯与不可评审。
121subagent-driven-development
Use when executing implementation plans with independent tasks in the current session
109spec-product-demo
Use when 需要在 sdlc-dev 的产品需求 Spec 流程执行 R4(基于 requirements/prototype.md 生成可交互 Demo 工程),并需要避免跳过 spec-context、在缺少 prototype.md 或缺少可运行 Demo 工程根目录时仍继续、或自创页面/目录导致不可追溯与无法回流闭环。
109spec-receiving-code-review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
108using-aisdlc
Use when 需要在 sdlc-dev 仓库执行 AI SDLC(Spec Pack)流程、选择/串联需求侧(raw/solution/prd/prototype/demo)与实现侧(plan/execute/finishing)技能,并用门禁避免上下文漂移、写错目录或在压力下跳过关键步骤。
107