refactor: 默认 skills 装到 .agents,并清空 example 旧演示实现

对齐安装目录与 opencode 扫描路径;按 confirmed plan 清掉与 iteration1 不对齐的示例业务代码与 as-built 文档,只留空壳与需求输入。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 11:46:41 +08:00
parent e5abcd101d
commit 670e0c1fa1
155 changed files with 659 additions and 5620 deletions

View File

@@ -1,22 +1,3 @@
# 冒烟用例 — 咨询预约平台
# 冒烟用例(QA)
> **归属:QA 测试。** 发版前必须全绿的一组最小用例集。
> 目标:**5 分钟内跑完**,用于快速判断"能不能发"。
> 自动化实现位于 `e2e/tests/qa/app.spec.ts`,本文件是它的精简视图。
## 用例清单
| # | 用例 | 冒烟点 | 预期 | 自动化 |
|---|---|---|---|---|
| TC-S01 | 服务启动 | 后端可启动、前端可加载 | 无启动错误,首页 200 | `qa/app.spec.ts` → Public Pages |
| TC-S02 | 登录 | 管理员正确凭据登录 | 跳转到 `/admin/dashboard` | `qa/app.spec.ts` → Auth |
| TC-S03 | 用户注册 | 全新邮箱注册 | 跳转到 `/user/dashboard`,显示用户名 | `qa/app.spec.ts` → Auth |
| TC-S04 | 核心预约链路 | 选咨询师 → 选时间 → 提交 | 预约成功,出现在预约列表 | `qa/app.spec.ts` → User Flows |
| TC-S05 | 管理端可读 | 管理员查看用户/预约/网点列表 | 三个列表均正常渲染 | `qa/app.spec.ts` → Admin Flows |
| TC-S06 | 数据库连通 | 写入后可读回 | 无连接错误,数据一致 | `qa/app.spec.ts` |
## 执行
```bash
cd e2e && npm run test:qa
```
> 旧示例用例已清除。待按 iteration1 规格补充 `TC-Sxx`。