Files
OneOS1.2/.cursor/rules/oneos-autoprd-sync.mdc

33 lines
1.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 改原型跟进 AutoPRD定稿写功能变更与版本号云效仅与 YunxiaoPMapp 组合;禁止旧 lifecycle 同名任务
alwaysApply: true
---
# OneOS AutoPRD 全局同步
## 改原型
修改 `src/prototypes/**` 且涉及**行为、文案、流程、判定或验收**时,同一轮必须跟进 **oneos-autoprd**AutoPRD
1. 更新 `.spec/requirements-prd.md`(用户故事:起点 → 怎么运作 → 闭环)。
2. 更新 `annotation-source.json` **顶层** `directory.nodes` 中「产品需求说明PRD」。
3. 同步 `src/resources/prd/<id>-autoprd.md`(若有)。
纯样式且无产品语义变化:可跳过全量重写。
## 需求定稿
用户回复含 `需求定稿` / `定稿` / `确认定稿` / `本次定稿` / `本轮定稿` 时:
1. 按 skill `references/release-changelog.md` 汇总**自上次定稿**的功能/逻辑变更,并递增 `prdVersion`(用户显式指定主/副/子时以用户为准)。
2. 追加到 PRD `## 10. 功能变更记录`(最新在上);更新 `.spec/autoprd-baseline.json`(含 `prdVersion`)。
3. **不要**写布局/UI/表结构类条目。
## 云效(唯一组合 · YunxiaoPMapp
产品侧写云效**只**与 `$YunxiaoPMapp` 组合;**禁止加载** `yunxiao-requirement-lifecycle`。
- 入库碎片:先 `$AutoRDO`,再 YunxiaoPMapp 记录需求(原始诉求段)。
- 设计完成 / 完善产品说明:先 `oneos-autoprd` 落盘 MD再写需求 `## 产品说明AutoPRD`;按交付**任务编号**回填【交付】描述(创建交付时保持占位,见 AutoPRD `yunxiao-delivery-sync.md`)。
- 【交付】/【分析】/【设计】树与交棒由 **YunxiaoPMapp** 负责AutoPRD **不**建同名无前缀阶段任务。