init
This commit is contained in:
14
.cursor/commands/myspec.split-spec.md
Normal file
14
.cursor/commands/myspec.split-spec.md
Normal file
@@ -0,0 +1,14 @@
|
||||
当前有一个很大的 spec.md(大需求规范),需要按业务逻辑拆分成多个子模块规范。
|
||||
|
||||
请按以下规则拆分:
|
||||
|
||||
1. 从大 spec 中提取可以独立成 **子模块规范** 的部分,每个子模块输出一个小 spec。
|
||||
2. 拆分后每个小 spec 需包含:
|
||||
- 子模块名称
|
||||
- 目标描述(本模块要解决什么)
|
||||
- 输入/输出定义
|
||||
- 验收标准(可验证)
|
||||
3. 拆分后输出一个 `modules/` 目录结构列表,并为每个模块生成对应 spec 内容。
|
||||
4. 保留大 spec.md 的高层背景/总览到 overview 部分。
|
||||
5. 子模块之间按逻辑关系关联。
|
||||
6. 不生成 plan.md 或 tasks.md,仅拆出子模块 spec。
|
||||
Reference in New Issue
Block a user