艾灸椅功能管理系统 — 智能艾灸设备的云端管理平台。
需求文档:需求材料/艾灸椅功能定义-最新.xlsx
本项目采用多角色协作模式,不同角色负责不同阶段:
| 角色 | 职责 | 触发场景 |
|---|---|---|
| 需求工程师 (兼测评工程师) |
需求分析、验收标准、测试用例设计 | 新功能规划、需求澄清 |
| 系统分析员 | 架构设计、技术方案、接口定义 | 技术选型、系统设计 |
| 开发人员 | 代码实现、单元测试、代码审查 | 具体编码任务 |
需求阶段 设计阶段 开发阶段 验收阶段
│ │ │ │
▼ ▼ ▼ ▼
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐
│需求工程师│───▶│系统分析员│───▶│开发人员 │───▶│需求工程师│
│(测评) │ │ │ │ │ │(测评) │
└─────────┘ └─────────┘ └─────────┘ └─────────┘
│ │
│ 1. 需求文档 │ 4. 验收测试
│ 2. 验收标准 │
│ 3. 测试用例 │
└──────────────────────────────────────────────┘
需求职责:
需求材料/艾灸椅功能定义-最新.xlsx 中的功能需求openspec/changes/{feature}/proposal.md测评职责:
tests/acceptance/{feature}.test.ts工作产出:
需求阶段:
├── proposal.md # 需求提案
├── acceptance-criteria.md # 验收标准
└── test-cases.md # 测试用例设计
验收阶段:
└── {feature}.test.ts # 验收测试脚本
职责:
openspec/changes/{feature}/design.md工作产出:
├── design.md # 技术设计方案
├── api-spec.yaml # API 接口定义
├── data-model.md # 数据模型设计
└── tasks.md # 开发任务拆解
职责:
apps/{web,api}/src/工作产出:
apps/
├── web/src/
│ ├── components/ # UI 组件
│ ├── pages/ # 页面
│ └── hooks/ # 自定义 hooks
└── api/src/
├── routes/ # API 路由
├── services/ # 业务逻辑
└── models/ # 数据模型
在对话中通过角色声明切换:
[需求工程师] 分析用户登录功能需求...
[系统分析员] 设计用户认证架构方案...
[开发人员] 实现登录 API 和前端表单...
[测评工程师] 执行登录功能验收测试...
默认角色:根据任务类型自动识别
每个阶段必须满足以下条件才能进入下一阶段:
| 阶段 | 进入条件 | 输出物 |
|---|---|---|
| 需求 → 设计 | 需求文档已确认,验收标准已定义 | proposal.md, acceptance-criteria.md |
| 设计 → 开发 | 技术方案已评审,任务已拆解 | design.md, tasks.md |
| 开发 → 验收 | 单元测试通过,代码审查完成 | 源代码, 单元测试 |
| 验收 → 完成 | 验收测试通过,无阻塞性缺陷 | 验收测试报告 |
None configured. This repo has no package.json, Makefile, pyproject.toml, or any build configuration.
When a project is added, document commands here. Common patterns:
# Node.js / npm
npm install # install deps
npm run dev # dev server
npm run build # production build
npm test # run all tests
npm test -- --testPathPattern=filename # single test
# Python
pip install -r requirements.txt
pytest tests/test_file.py::TestClass::test_method # single test
pytest -k test_name # single test by name
# Go
go build ./...
go test -run TestName ./...
# Rust
cargo build
cargo test test_name
No code exists yet. When adding code, follow these defaults unless project-specific configs dictate otherwise:
UserService)getUserById)MAX_RETRIES)is/has/should prefix (isActive)any — use unknown if truly unknown需求材料/艾灸椅功能定义-最新.xlsx before implementingNo Cursor rules (.cursorrules, .cursor/rules/) or Copilot instructions (.github/copilot-instructions.md) found.