feat: 为每个 feature 增加双语 glossary 并同步 ba-write-spec
统一语言落在 glossary.md(中文|英文),iteration1 九份按规格提炼;模板与 harness 安装约定一并回写。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,14 +4,16 @@
|
||||
|
||||
```
|
||||
docs/features/
|
||||
├── _template/ # spec.md + plan.md
|
||||
├── _template/ # spec.md + plan.md + glossary.md
|
||||
├── _chores/ # 无关联 feature 的 plan-{slug}.md
|
||||
└── <迭代>/
|
||||
├── high-level-design.md # 迭代高阶技术设计(HLD / TRD,人工确认)
|
||||
└── <CODE>-<slug>/
|
||||
├── spec.md
|
||||
├── glossary.md # 本 feature 双语术语表(统一语言)
|
||||
├── plan.md # HLD 确认后再写
|
||||
└── plan-{slug}.md
|
||||
```
|
||||
|
||||
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
|
||||
约定:每个迭代目录应有 `high-level-design.md`;**确认前不得写 feature Plan**。
|
||||
每个 feature 目录应有 `glossary.md`(中文 | 英文 | 说明);`spec.md` 在 §2 附近引用之。
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# 术语表
|
||||
|
||||
> 本 feature 统一语言(Ubiquitous Language)。规格、Plan、代码命名应对齐本表。
|
||||
|
||||
| 中文 | 英文 | 说明(可选) |
|
||||
|---|---|---|
|
||||
| 备注 | remark | 示例行;无新增术语时可改为一行「无」 |
|
||||
@@ -49,6 +49,8 @@ NEW / UPDATE
|
||||
|
||||
## 2. 功能说明
|
||||
|
||||
术语表见 [glossary.md](./glossary.md)。
|
||||
|
||||
### 2.1 功能概述
|
||||
|
||||
<用简洁语言说明本模块要实现或变更的核心功能。>
|
||||
|
||||
Reference in New Issue
Block a user