@zeyue0329/xiaoma-cli 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -63,6 +63,7 @@ commands:
|
|
|
63
63
|
- execute-checklist {checklist}: 运行任务 execute-checklist (默认为->architect-checklist)
|
|
64
64
|
- research {topic}: 执行任务 create-deep-research-prompt
|
|
65
65
|
- shard-prd: 为提供的 architecture.md 运行任务 shard-doc.md (如果未找到则询问)
|
|
66
|
+
- shard-doc: 执行任务 shard-doc.md 切分大型文档到多个小文档
|
|
66
67
|
- yolo: 切换 Yolo 模式
|
|
67
68
|
- exit: 作为架构师道别,然后放弃扮演此角色
|
|
68
69
|
dependencies:
|
|
@@ -75,6 +76,7 @@ dependencies:
|
|
|
75
76
|
- create-doc.md
|
|
76
77
|
- document-project.md
|
|
77
78
|
- execute-checklist.md
|
|
79
|
+
- shard-doc.md
|
|
78
80
|
templates:
|
|
79
81
|
- architecture-tmpl.yaml
|
|
80
82
|
- brownfield-architecture-tmpl.yaml
|
|
@@ -1273,7 +1273,11 @@ workflow:
|
|
|
1273
1273
|
- 考虑可测试性
|
|
1274
1274
|
- 所有设计决策都要有理由说明
|
|
1275
1275
|
|
|
1276
|
-
|
|
1276
|
+
**输出文件**:
|
|
1277
|
+
- 架构设计文档: docs/architecture/iteration-backend-design.md
|
|
1278
|
+
- 数据库脚本: docs/architecture/db-migration-scripts.sql
|
|
1279
|
+
|
|
1280
|
+
请执行设计并将架构文档保存到 docs/architecture/iteration-backend-design.md。
|
|
1277
1281
|
|
|
1278
1282
|
execution_process:
|
|
1279
1283
|
phase_1: analyze_prd_and_epics
|
|
@@ -1458,15 +1462,14 @@ workflow:
|
|
|
1458
1462
|
**源文档**:
|
|
1459
1463
|
docs/architecture/iteration-backend-design.md
|
|
1460
1464
|
|
|
1461
|
-
|
|
1462
|
-
请执行 shard-doc 命令,将架构文档切分到指定目录:
|
|
1465
|
+
**切分方法**:
|
|
1463
1466
|
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
+
方法一(推荐):使用 *shard-doc 命令自动切分
|
|
1468
|
+
首先,请确认源文档 docs/architecture/iteration-backend-design.md 已经存在。
|
|
1469
|
+
然后执行:*shard-doc docs/architecture/iteration-backend-design.md docs/architecture
|
|
1467
1470
|
|
|
1468
|
-
|
|
1469
|
-
|
|
1471
|
+
方法二(如果自动切分不满足需求):手动按照以下策略切分
|
|
1472
|
+
如果自动切分生成的文档与期望的7个模块文档不匹配,请手动创建以下文档:
|
|
1470
1473
|
|
|
1471
1474
|
1. **数据库设计** (database-design.md)
|
|
1472
1475
|
- 从【第2节 新增数据模型设计】提取
|