Loading...
Loading...
Compare original and translation side by side
~~project tracker~~project tracker| Strategy | When to use | Example |
|---|---|---|
| By workflow step | Multi-step process | "User can add item to cart" vs "User can checkout" |
| By business rule | Complex validation | "Basic validation" vs "Edge-case handling" |
| By data variation | Multiple entity types | "Import CSV contacts" vs "Import CSV companies" |
| By interface | Multiple entry points | "Create via form" vs "Create via API" |
| By operation | Full CRUD | "View list" vs "Edit item" vs "Delete item" |
| By persona | Different user types | "Admin can configure" vs "Member can view" |
| Happy path / edge cases | Complex flows | "Successful payment" vs "Payment retry on failure" |
| 拆分策略 | 适用场景 | 示例 |
|---|---|---|
| By workflow step | 多步骤流程 | "User can add item to cart" vs "User can checkout" |
| By business rule | 复杂验证场景 | "Basic validation" vs "Edge-case handling" |
| By data variation | 多实体类型场景 | "Import CSV contacts" vs "Import CSV companies" |
| By interface | 多入口场景 | "Create via form" vs "Create via API" |
| By operation | 完整CRUD场景 | "View list" vs "Edit item" vs "Delete item" |
| By persona | 不同用户类型场景 | "Admin can configure" vs "Member can view" |
| Happy path / edge cases | 复杂流程场景 | "Successful payment" vs "Payment retry on failure" |
Title: [Action-oriented, concise — starts with a verb or "As a..."]
User story:
As a [specific persona/role],
I want to [concrete action],
so that [measurable outcome or business value].
Acceptance criteria:
- [ ] Given [context], when [action], then [expected result]
- [ ] Given [context], when [action], then [expected result]
- [ ] [Additional criteria using Given/When/Then or plain checkboxes]
Definition of done:
- [ ] Code implemented and passing CI
- [ ] Unit/integration tests covering acceptance criteria
- [ ] Code reviewed and approved
- [ ] [Project-specific DoD items from team conventions]
Technical notes:
- Implementation hints, API contracts, data model changes
- Links to relevant specs, designs, or documentation
- Known risks or open questions to resolve during implementation
Size: [T-shirt (XS/S/M/L/XL) or story points — match project convention]
Priority: [P0-Critical / P1-High / P2-Medium / P3-Low]
Labels: [Use existing project labels when available]
Dependencies: [List story titles or IDs this story depends on]Title: [Action-oriented, concise — starts with a verb or "As a..."]
User story:
As a [specific persona/role],
I want to [concrete action],
so that [measurable outcome or business value].
Acceptance criteria:
- [ ] Given [context], when [action], then [expected result]
- [ ] Given [context], when [action], then [expected result]
- [ ] [Additional criteria using Given/When/Then or plain checkboxes]
Definition of done:
- [ ] Code implemented and passing CI
- [ ] Unit/integration tests covering acceptance criteria
- [ ] Code reviewed and approved
- [ ] [Project-specific DoD items from team conventions]
Technical notes:
- Implementation hints, API contracts, data model changes
- Links to relevant specs, designs, or documentation
- Known risks or open questions to resolve during implementation
Size: [T-shirt (XS/S/M/L/XL) or story points — match project convention]
Priority: [P0-Critical / P1-High / P2-Medium / P3-Low]
Labels: [Use existing project labels when available]
Dependencies: [List story titles or IDs this story depends on]~~project tracker~~project tracker~~project tracker| # | Title | Size | Priority | Dependencies |
|---|---|---|---|---|
| 1 | ... | S | P1 | — |
| 2 | ... | M | P1 | #1 |
~~project tracker| # | Title | Size | Priority | Dependencies |
|---|---|---|---|---|
| 1 | ... | S | P1 | — |
| 2 | ... | M | P1 | #1 |
~~chat~~chat| Size | Typical scope | Examples |
|---|---|---|
| XS | Config change, copy update, one-line fix | Toggle a feature flag, fix a typo |
| S | Single component, clear path | Add a form field, new API endpoint with known pattern |
| M | Multiple components, some unknowns | New CRUD feature, integration with documented API |
| L | Cross-cutting, needs design decisions | New auth flow, data migration with transformation |
| XL | Should probably be split further | Full feature redesign, new service |
| Points | Relative effort |
|---|---|
| 1 | Trivial — hours |
| 2 | Small — a day or less |
| 3 | Moderate — a couple of days |
| 5 | Significant — most of a week |
| 8 | Large — full week, consider splitting |
| 13 | Very large — must split |
| Size | 典型范围 | Examples |
|---|---|---|
| XS | 配置变更、文案更新、单行代码修复 | Toggle a feature flag, fix a typo |
| S | 单个组件、实现路径清晰 | Add a form field, new API endpoint with known pattern |
| M | 多个组件、存在部分未知项 | New CRUD feature, integration with documented API |
| L | 跨模块、需要设计决策 | New auth flow, data migration with transformation |
| XL | 需进一步拆分 | Full feature redesign, new service |
| Points | 相对工作量 |
|---|---|
| 1 | 极小 — 数小时 |
| 2 | 小 — 1天或更短 |
| 3 | 中等 — 数天 |
| 5 | 较大 — 一周的大部分时间 |
| 8 | 大 — 整周,考虑拆分 |
| 13 | 极大 — 必须拆分 |
| Level | Label | Criteria | Action |
|---|---|---|---|
| P0 | Critical | Blocks release, security issue, data loss risk | Immediate — current sprint |
| P1 | High | Core to the feature/epic goal, high user impact | Next available sprint |
| P2 | Medium | Valuable improvement, not blocking | Backlog — schedule when capacity allows |
| P3 | Low | Nice-to-have, polish, minor enhancement | Backlog — revisit during planning |
| Level | Label | 判定标准 | 处理方式 |
|---|---|---|---|
| P0 | Critical | 阻塞发布、安全问题、数据丢失风险 | 立即处理 — 当前Sprint |
| P1 | High | 功能/Epic目标核心、用户影响大 | 下一个可用Sprint处理 |
| P2 | Medium | 有价值的改进、不阻塞进度 | 放入Backlog — 有容量时安排 |
| P3 | Low | 锦上添花的功能、优化、小增强 | 放入Backlog — 规划时再回顾 |
| Anti-pattern | Problem | Fix |
|---|---|---|
| "Implement feature X" | No user value stated, no acceptance criteria | Add persona, outcome, and testable criteria |
| Horizontal slicing | "Build the API" then "Build the UI" — no deliverable value until both done | Slice vertically — one behavior end-to-end |
| Giant stories | "As a user I want the whole checkout flow" — unestimable | Split by workflow step, operation, or business rule |
| Vague acceptance criteria | "It should work correctly" — untestable | Use Given/When/Then with specific inputs and outputs |
| Missing dependencies | Story fails because a prerequisite was not identified | Map dependencies explicitly during decomposition |
| Gold-plating | Story includes "nice-to-have" details mixed with core requirements | Separate must-have criteria from enhancements |
| Copy-paste personas | "As a user" for everything — loses context | Use specific roles: admin, member, guest, API consumer |
| 反模式 | 问题 | 解决方法 |
|---|---|---|
| "Implement feature X" | 未说明用户价值、无验收标准 | 添加用户角色、成果和可测试标准 |
| Horizontal slicing | "先构建API再构建UI" — 两者完成前无交付价值 | 采用垂直切片 — 单个行为端到端实现 |
| Giant stories | "As a user I want the whole checkout flow" — 无法估算 | 按工作流步骤、操作类型或业务规则拆分 |
| Vague acceptance criteria | "It should work correctly" — 不可测试 | 使用Given/When/Then格式,明确输入和输出 |
| Missing dependencies | 因未识别前置条件导致用户故事失败 | 拆分阶段明确映射依赖关系 |
| Gold-plating | 用户故事中混入"锦上添花"的细节与核心需求 | 将必备标准与增强功能分离 |
| Copy-paste personas | 所有故事都用"作为用户" — 丢失上下文 | 使用具体角色:管理员、成员、访客、API消费者 |