Initial commit: ai4se-harness-suite
Import harness suite (skills, installers, overnight-runner, docs) as a fresh history for InspireChina. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
42
harness-installer/templates/docs/designs/README.md
Normal file
42
harness-installer/templates/docs/designs/README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# 设计文档(事实)
|
||||
|
||||
本目录描述系统 **当前的真实状态**,必须与代码保持一致。
|
||||
|
||||
## 子目录
|
||||
|
||||
| 路径 | 内容 |
|
||||
|---|---|
|
||||
| `api.yaml` | OpenAPI 格式的接口定义 |
|
||||
| `db-schema.md` | 数据库表结构与索引说明 |
|
||||
| `domain-model.md` | 领域模型:聚合、实体、值对象、关系 |
|
||||
| `topic/` | 单点技术专题(鉴权、状态机、业务规则、数据字典……) |
|
||||
|
||||
## 维护规则
|
||||
|
||||
- 改了接口 → 更新 `api.yaml`
|
||||
- 改了表结构 → 更新 `db-schema.md`
|
||||
- 改了业务规则 → 更新 `topic/businessrule.md`
|
||||
- 改了数据字典 → 更新 `topic/data-dict.md`
|
||||
- 新增专题 → 在 `topic/` 下新建文件,并在本表登记
|
||||
|
||||
## 模板
|
||||
|
||||
```markdown
|
||||
# {{专题名称}}
|
||||
|
||||
## 背景
|
||||
|
||||
{{为什么需要这个专题}}
|
||||
|
||||
## 方案
|
||||
|
||||
{{具体做法}}
|
||||
|
||||
## 取舍
|
||||
|
||||
{{考虑过但放弃的方案及原因}}
|
||||
|
||||
## 影响
|
||||
|
||||
{{对其他模块的影响}}
|
||||
```
|
||||
Reference in New Issue
Block a user