Files
digital-psychology/apps/docs/standards/10-ai-collab.md
T
jackyu66gitandCursor 2fb1dfee14 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>
2026-08-02 16:00:44 +08:00

712 B
Raw Blame History

10 AI 协作规范

配合根目录 AGENTS.md

Prompt 约束(建议粘贴)

  • 先读 AGENTS.md 与 ARCHITECTURE.md。
  • 只改任务相关文件;单 PR 单功能。
  • 单文件 ≤300 行,函数 ≤50 行。
  • Go interface 放调用方;H5 请求走 SDK。
  • 不要改 legacy 根目录 HTML,除非迁移任务。

评审清单

  • 是否破坏分层?
  • 是否出现巨型 utils
  • 错误是否包装 %w
  • 是否泄露密钥或不合规文案?
  • 类型是否进了 packages/types

禁止

  • 让 AI「顺便」重构无关模块。
  • 无人工阅读直接合并大段生成代码。
  • 用 AI 生成后删除所有注释与测试。