fix:更新skill和rules

This commit is contained in:
2026-07-01 15:04:53 +08:00
parent 6fa8ecc714
commit f3ae9e6520
10 changed files with 634 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
# 杜康好客 Agent 入口
> Cursor 标准入口,详细流程见 [`agent.md`](agent.md)。
## 会话启动
1. [`agent.md`](agent.md) — Agent 流程与 DoD
2. [`skills.md`](skills.md) — 编码检查清单
3. [`conventions.md`](conventions.md) — 模块边界与协作
4. [`杜康好客-preV1编码手册.md`](杜康好客-preV1编码手册.md) — preV1 联调范围
5. [`杜康好客-V2编码手册.md`](杜康好客-V2编码手册.md) — PRD / DB / API 权威
## Cursor 规范
| 类型 | 路径 | 说明 |
|------|------|------|
| Rules | `.cursor/rules/` | 自动加载的编码规范 |
| 编码 Skill | `.cursor/skills/dukang-coding/` | @dukang-coding |
| 需求 Skill | `.cursor/skills/dukang-project/` | @dukang-project |
## 快速指令
- 实现任务卡:`@dukang-coding 实现 M2-BE-TRD-002`
- 需求评审:`@dukang-project 对照 pages/user/ 评审 PRD`
- 原型参照:`pages/{user,shop,partner,hq}/`(只读)
## preV1 实际 App
```
apps/h5-user → C 端 H55173
apps/h5-shop → 门店 H55174
apps/h5-partner → 合伙人 H55175
apps/admin-web → 总部后台(5175
```
## 硬约束
- 编码时不改业务规则;需求变更只改 V2 手册
- apps 禁止 import 其他 app 或 server 源码
- 后端禁止跨模块直写 Prisma 表