Python/产品需求文档AI生成/skills/requirements-analysis/references/user-story-template.md

49 lines
1.2 KiB
Markdown
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.

# 用户故事模板
## 用户故事:[标题]
### 故事
作为 [用户角色]
我想要 [操作]
以便 [收益]
### 父级需求
[需求名称和 ID]
### 验收标准
1. Given [前置条件], When [操作], Then [结果]
2. Given [前置条件], When [操作], Then [结果]
3. Given [前置条件], When [操作], Then [结果]
### 技术说明
- [实现细节 1]
- [实现细节 2]
### 估算
- **故事点数**[点数]
- **预计小时数**[小时]
### 依赖关系
- [依赖 1]
### 完成定义
- [ ] 代码完成并审查
- [ ] 单元测试编写并通过
- [ ] 集成测试通过
- [ ] 文档更新
- [ ] 部署到预发布环境
- [ ] 验收标准验证
---
## INVEST 标准检查清单
用户故事应该满足 INVEST 标准:
- **I - Independent独立**:故事应该尽可能独立,可以任意顺序开发
- **N - Negotiable可协商**:故事不是合同,细节可以协商
- **V - Valuable有价值**:故事必须为用户或业务提供价值
- **E - Estimable可估算**:团队必须能够估算故事的大小
- **S - Small小型**:故事应该足够小,可以在一个迭代中完成
- **T - Testable可测试**:故事必须有明确的验收标准,可以测试