chore: seal Design Vision v1 and monorepo scaffold
Archive the differentiated YuXinGu product docs, AI engineering system, design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity over early innovation (see .ai/product/STRATEGY.md). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# 10 AI 协作规范
|
||||
|
||||
配合根目录 [AGENTS.md](../../../AGENTS.md)。
|
||||
|
||||
## Prompt 约束(建议粘贴)
|
||||
|
||||
- 先读 AGENTS.md 与 ARCHITECTURE.md。
|
||||
- 只改任务相关文件;单 PR 单功能。
|
||||
- 单文件 ≤300 行,函数 ≤50 行。
|
||||
- Go interface 放调用方;H5 请求走 SDK。
|
||||
- 不要改 legacy 根目录 HTML,除非迁移任务。
|
||||
|
||||
## 评审清单
|
||||
|
||||
- [ ] 是否破坏分层?
|
||||
- [ ] 是否出现巨型 utils?
|
||||
- [ ] 错误是否包装 `%w`?
|
||||
- [ ] 是否泄露密钥或不合规文案?
|
||||
- [ ] 类型是否进了 `packages/types`?
|
||||
|
||||
## 禁止
|
||||
|
||||
- 让 AI「顺便」重构无关模块。
|
||||
- 无人工阅读直接合并大段生成代码。
|
||||
- 用 AI 生成后删除所有注释与测试。
|
||||
Reference in New Issue
Block a user