From 22f99af08b2cc5420a3db93bf1a6b9e182845e2c Mon Sep 17 00:00:00 2001 From: zichun Date: Fri, 29 May 2026 16:10:42 +0800 Subject: [PATCH] downstream-gen templates: dedup global conventions to docs/04; drop docs/02 notes section --- skills/plan/downstream-gen/templates/docs-02-template.md | 3 --- skills/plan/downstream-gen/templates/docs-05-header-template.md | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/skills/plan/downstream-gen/templates/docs-02-template.md b/skills/plan/downstream-gen/templates/docs-02-template.md index f6b3b23..690d627 100644 --- a/skills/plan/downstream-gen/templates/docs-02-template.md +++ b/skills/plan/downstream-gen/templates/docs-02-template.md @@ -17,6 +17,3 @@ {{#each req_order}} | {{index}} | **{{req_id}}** | {{module_id}} | {{rationale}} | {{note}} | {{/each}} - -## 三、关键说明 -{{notes}} diff --git a/skills/plan/downstream-gen/templates/docs-05-header-template.md b/skills/plan/downstream-gen/templates/docs-05-header-template.md index f918230..8a402fb 100644 --- a/skills/plan/downstream-gen/templates/docs-05-header-template.md +++ b/skills/plan/downstream-gen/templates/docs-05-header-template.md @@ -5,19 +5,7 @@ BasePath: `{{base_path}}` ## 全局约定 -### 响应格式 -```json -{"code": 200, "message": "操作成功", "data": {}, "timestamp": 1700000000000} -``` - -### 错误码 -See docs/04 § 1.4 错误码段位. - -### 鉴权 -{{auth_note}} - -### 分页参数 -{{pagination_note}} +响应格式 / 异常 / 错误码 / 认证 / 分页等全局约定的 SSoT 在 `docs/04`(响应格式见 § 1.4、异常处理见 § 1.5、认证见 § 1.7、分页查询见 § 3.2),此处不重复。各端点专属的请求 / 响应 / 错误码见下方接口清单。 ## 接口清单 (各模块接口段落见下方,由 `downstream-gen` 按 REQ 填入) -- libgit2 0.22.2