Add ks-zl skill
This commit is contained in:
10
templates/requirement-package/acceptance.md
Normal file
10
templates/requirement-package/acceptance.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# acceptance
|
||||
|
||||
## 验收补充
|
||||
- 无;以 `requirement.md` 的 `验收` 为准。
|
||||
|
||||
## 边界补充
|
||||
- 无
|
||||
|
||||
## 还原检查
|
||||
- 后续 AI 必须按功能语义还原,不得把来源项目技术栈、目录结构或框架写成必须约束。
|
||||
34
templates/requirement-package/decisions.md
Normal file
34
templates/requirement-package/decisions.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# decisions
|
||||
|
||||
## 已确认
|
||||
- 无
|
||||
|
||||
## 待确认事项
|
||||
- 无
|
||||
|
||||
## 冲突检查
|
||||
- 状态:none
|
||||
- 旧需求:无
|
||||
- 新需求:无
|
||||
- 影响:无
|
||||
|
||||
## 闭环检查
|
||||
- 状态:closed-loop
|
||||
- 缺口:无
|
||||
- 对还原影响:无
|
||||
|
||||
## 方案记录
|
||||
### 推荐方案
|
||||
- 方案:无
|
||||
- 理由:无
|
||||
|
||||
### 备选方案
|
||||
- 方案:无
|
||||
- 取舍:无
|
||||
|
||||
## 覆盖记录
|
||||
- 允许覆盖:否
|
||||
- 确认人:无
|
||||
- 确认时间:无
|
||||
- 覆盖范围:无
|
||||
- 确认依据:无
|
||||
3
templates/requirement-package/references/README.md
Normal file
3
templates/requirement-package/references/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# references
|
||||
|
||||
This directory stores sanitized, trimmed, self-contained reference materials required to reconstruct the feature. Do not rely on external absolute paths as the only source of truth.
|
||||
51
templates/requirement-package/requirement.md
Normal file
51
templates/requirement-package/requirement.md
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: <feature-slug>
|
||||
category: <capability-domain/requirement-packages>
|
||||
tags:
|
||||
- requirement-package
|
||||
status: requirement-draft
|
||||
updated: <YYYY-MM-DD>
|
||||
source: <conversation|source-project|mixed>
|
||||
---
|
||||
|
||||
# <feature-name>
|
||||
|
||||
## 功能
|
||||
- <1-5 条:做什么、谁触发、产生什么业务结果>
|
||||
|
||||
## 流程
|
||||
1. <主流程步骤>
|
||||
2. <关键分支或异常;没有则删除本条>
|
||||
|
||||
## 数据表
|
||||
### <table-name 或 不新增表>
|
||||
- 用途:<为什么需要这张表;不新增表时写复用对象>
|
||||
|
||||
| 字段 | 含义 | 类型/值域 | 必填 | 规则 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| <field> | <meaning> | <type/domain> | 是/否 | <rule> |
|
||||
|
||||
## 字典
|
||||
### <dict-code 或 不新增字典>
|
||||
| 值 | 含义 | 规则 |
|
||||
| --- | --- | --- |
|
||||
| <value> | <meaning> | <rule> |
|
||||
|
||||
## 业务规则
|
||||
- <确定规则、边界、异常或禁止行为>
|
||||
|
||||
## 验收
|
||||
- <可判断的结果检查项>
|
||||
|
||||
## 移植说明
|
||||
- 跨技术栈必须保留:<业务语义/状态/规则>
|
||||
- 来源实现仅作参考:<代码结构/接口/框架/表结构等参考内容>
|
||||
|
||||
## 来源依据
|
||||
- <用户确认、当前会话或源项目材料中的关键依据>
|
||||
|
||||
## 待确认
|
||||
- 无
|
||||
|
||||
## Related
|
||||
- None yet.
|
||||
37
templates/solution-template.md
Normal file
37
templates/solution-template.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: <topic-symptom-resolution>
|
||||
category: <domain/subdomain>
|
||||
tags:
|
||||
- keyword-1
|
||||
- keyword-2
|
||||
- 中文关键词
|
||||
status: distilled
|
||||
updated: <YYYY-MM-DD>
|
||||
source: <conversation|source-project|sanitized>
|
||||
---
|
||||
|
||||
# <topic-symptom-resolution>
|
||||
|
||||
## Summary
|
||||
用一句话说明这篇文档解决什么问题。
|
||||
|
||||
## Keywords
|
||||
keyword-1, keyword-2, keyword-3, 中文关键词
|
||||
|
||||
## Environment
|
||||
填写相关的 OS、runtime、framework、service 或 deployment context。
|
||||
|
||||
## Symptom
|
||||
用短句描述表面现象或触发问题。
|
||||
|
||||
## Root Cause
|
||||
说明真正的原因或关键判断依据。
|
||||
|
||||
## Solution
|
||||
清晰写出最终采用的解决方案。
|
||||
|
||||
## Verification
|
||||
列出验证结果的方法。
|
||||
|
||||
## Related
|
||||
- None yet.
|
||||
Reference in New Issue
Block a user