# 用户故事

用户故事是用自然语言写成的简短、半结构化的句子，从用户视角陈述一项需求，通常围绕三个维度组织：谁有需求、想要什么、以及为什么。<sup>[1](https://ieeexplore.ieee.org/ielx7/6287639/9312710/09393933.pdf)</sup><sup> • </sup><sup>[2](https://ceur-ws.org/Vol-3134/paper-5.pdf)</sup> 用户故事在极限编程（XP）中被引入，用以鼓励以对话方式引出需求，而非撰写冗长的书面规格说明；此后它已成为敏捷软件开发中最主要的需求工件，约半数软件开发者都在使用。<sup>[3](https://martinfowler.com/bliki/UserStory.html)</sup><sup> • </sup><sup>[4](https://dl.acm.org/doi/10.1016/j.jss.2025.112693)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 从用户视角说明需求的简短、半结构化自然语言句子，围绕谁/什么/为什么组织<sup>[1](https://ieeexplore.ieee.org/ielx7/6287639/9312710/09393933.pdf)</sup><sup> • </sup><sup>[2](https://ceur-ws.org/Vol-3134/paper-5.pdf)</sup> |
| 常用模板 | “作为<某类用户>，我想要<目标>，[以便<某种理由>]”，其中“以便”从句可选<sup>[5](https://webspace.science.uu.nl/~dalpi001/papers/luca-dalp-werf-brin-15-re.pdf)</sup> |
| 起源 | 极限编程；最早的文字描述见于1998年；1999年肯特·贝克（Kent Beck）将其描述为适合一张索引卡的、用例大小的片段<sup>[6](https://agilealliance.org/glossary/user-stories/)</sup><sup> • </sup><sup>[7](https://www.cs.kent.edu/~jmaletic/cs63902/Papers/Beck99.pdf)</sup> |
| 质量检查清单 | INVEST：独立、可协商、有价值、可估算、小、可测试（比尔·韦克（Bill Wake），2003年）<sup>[3](https://martinfowler.com/bliki/UserStory.html)</sup><sup> • </sup><sup>[6](https://agilealliance.org/glossary/user-stories/)</sup> |
| 估算 | 故事点是最常用的规模度量（62%的受访敏捷实践者使用）；计划扑克是最常用的技术（63%）<sup>[8](https://dl.acm.org/doi/10.1145/2745802.2745813)</sup> |
| 采用情况 | 约半数软件开发者使用；71%的受访组织在其软件开发生命周期中使用敏捷<sup>[4](https://dl.acm.org/doi/10.1016/j.jss.2025.112693)</sup><sup> • </sup><sup>[9](https://www.businesswire.com/news/home/20240116199385/en/17th-State-of-Agile-Report-71-Use-Agile-in-their-SDLC-Small-Organizations-Report-Strong-Business-Benefits-Medium-and-Larger-Sized-Companies-Continue-to-Experience-Barriers-in-Successfully-Scaling-Agile)</sup> |
| 已知弱点 | 在一项案例研究中，故事回复遗漏了30个利益相关方问题中的约三分之二，并在很大程度上忽略了非功能性需求<sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup> |

## 定义与模板

用户故事是从用户视角撰写的业务需求简要描述，在待办事项梳理或冲刺规划期间或之前产出；它可能涵盖功能、业务规则、缺陷修复或技术文档。<sup>[11](https://resources.scrumalliance.org/Article/frequently-asked-questions-user-stories)</sup> [Scrum](https://www.edgepedia.org/zh/scrum-software-development).org的指南指出了它与其他需求类型的关键区别：故事描述的是业务需求，而非系统的功能；表达用户需要什么是产品负责人的职责，而满足该需求的功能则是开发团队的设计工作。<sup>[12](https://www.scrum.org/resources/blog/user-stories-are-needs-described-business-perspective)</sup>

**模板。** 最广泛使用的形式是“作为<某类用户>，我想要<目标>，[以便<某种理由>]”，由迈克·科恩（Mike Cohn）于2004年推广开来，其中“以便”从句可选。<sup>[5](https://webspace.science.uu.nl/~dalpi001/papers/luca-dalp-werf-brin-15-re.pdf)</sup> “作为”从句指明谁想要这个故事，“我想要”描述目标，“以便”描述原因，提供上下文，使团队从客户说他们想要什么，转向他们真正需要什么。<sup>[3](https://martinfowler.com/bliki/UserStory.html)</sup> 雷切尔·戴维斯（Rachel Davies）的变体“作为<角色>，我想要<行动>，以便<价值或理由>”可追溯至2002年，一项针对实践者的案例研究发现，大多数人遵循Connextra的措辞“作为X，我想要Y，以便Z”。<sup>[13](https://resources.scrumalliance.org/Article/anatomy-user-story)</sup><sup> • </sup><sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup>

*没有必需的结构。* Scrum Alliance的指南明确指出，重要的是捕捉角色、行动和价值，戴维斯的格式只是众多替代方案中的一种良好实践。<sup>[13](https://resources.scrumalliance.org/Article/anatomy-user-story)</sup> 模板也有局限：Scrum.org指出，其强制的措辞在IT之外的领域尤其别扭，往往会产生含糊的、面向内部的事项，并建议非IT团队改为将成果放入待办事项列表。<sup>[14](https://www.scrum.org/resources/blog/myth-4-scrum-product-backlog-has-consist-out-user-stories)</sup>

## 起源与历史

用户故事起源于极限编程。[肯特·贝克](https://www.edgepedia.org/zh/kent-beck)1999年在《IEEE Computer》上的描述将每个故事的大小限定为能写在一张索引卡上的内容，称其大致是“能写在一张索引卡上的用例量”，并要求每个故事面向业务、可测试、可估算。<sup>[7](https://www.cs.kent.edu/~jmaletic/cs63902/Papers/Beck99.pdf)</sup> 一份同时期的1999年XP文件将故事描述为“刚好足以据此估算和设定优先级的用例”，每个故事转化为一个或多个功能测试用例，在一到四周的迭代结束时与客户一起评审。<sup>[15](https://courses.cs.duke.edu/cps108/fall99/xtreme.pdf)</sup> 贝克为面临不断变化且模糊需求的小团队创造了故事。<sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup>

**归属存在争议。** 敏捷联盟将最早的文字描述定于1998年，其中仅声称客户“用用户故事来定义项目范围，用户故事就像用例一样”。<sup>[6](https://agilealliance.org/glossary/user-stories/)</sup> [沃德·坎宁安](https://www.edgepedia.org/zh/ward-cunningham)（Ward Cunningham）被广泛认为开创了这一概念，他将需求写成简短的、以用户为中心的索引卡，以鼓励对话而非文档。<sup>[16](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)</sup> 相比之下，Scrum.org称该术语最初由阿利斯泰尔·科克伯恩（Alistair Cockburn）于1998年提出，之后在XP中占据主导地位；这两种说法尚未得到调和。<sup>[14](https://www.scrum.org/resources/blog/myth-4-scrum-product-backlog-has-consist-out-user-stories)</sup>

这一实践从XP传播到Scrum，Scrum并非故事的起源，但将其采纳并放大为冲刺规划和待办事项梳理的工作单元；[SAFe](https://www.edgepedia.org/zh/scaled-agile-framework)和LeSS等规模化框架后来将其在企业环境中的使用正式化。<sup>[16](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)</sup> Scrum本身从未要求使用故事：任何待办事项技术都是可接受的，只要它使待办事项列表易于理解、契合工作的不确定性，并促进与利益相关方的持续沟通。<sup>[14](https://www.scrum.org/resources/blog/myth-4-scrum-product-backlog-has-consist-out-user-stories)</sup> Scrum的语境已由1995年的SCRUM论文做好准备，该论文描述了待办事项条目，并观察到SCRUM项目在交付功能上呈现出速度和加速度。<sup>[17](https://scrum.academy/scrumguides/schwaber-1995.pdf)</sup> 一个常被引用的时间线标出了XP索引卡故事（1999年）、敏捷宣言（2001年）、INVEST标准（2003年）、故事地图（2008年）以及企业级模板标准化（2011年）。<sup>[16](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)</sup>

## 解剖：3C、验收标准与质量检查清单

3C模型可追溯至2001年，描述了故事的三个部分。卡片（Card）是简短的书面版本，是对需求的提醒，通常存储在待办事项列表或项目管理工具中。[对话](https://www.edgepedia.org/zh/the-conversation)（Conversation）是围绕故事的讨论，团队在其中澄清细节。确认（Confirmation）是证明故事可行的验收标准。<sup>[18](https://www.agilebusiness.org/resource/what-are-user-stories/)</sup><sup> • </sup><sup>[16](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)</sup> [卡片](https://www.edgepedia.org/zh/the-card)作为占位符的想法可追溯到贝克最初的表述：本质内容适合一张3×5英寸的便条卡，故事在准备好进入开发之前刻意不加以充实。<sup>[3](https://martinfowler.com/bliki/UserStory.html)</sup>

**验收标准**提供了这一安排中客观的一半。一些实践者指南将验收标准视为评估故事是“完成”还是“未完成”的一种方式；它将验收标准的定义分配给产品负责人，并指出Scrum Master应确保已承诺故事的验收标准不会在冲刺中途被更改。<sup>[19](https://www.scrum.as/academy.php?chapter=9&show=1)</sup> Given-When-Then模板可追溯至2006年，是编写此类标准的一种方式，不过已发表的文献在标注其日期时并未详述其机制。<sup>[6](https://agilealliance.org/glossary/user-stories/)</sup>

用户故事的质量框架包括比尔·韦克2003年提出的INVEST助记法，它认为好的故事应当是独立的、可协商的、有价值的、可估算的、小的、可测试的；“小”意味着能在几个人日内完成，一个迭代内能容纳若干个故事。<sup>[3](https://martinfowler.com/bliki/UserStory.html)</sup><sup> • </sup><sup>[6](https://agilealliance.org/glossary/user-stories/)</sup> 质量用户故事（QUS）框架增加了句法、语义和语用标准。<sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup> 质量干预有可衡量的帮助：一项使用QUS的典范式行动研究发现，通过使用该干预措施，故事中原子性和最小性质量违规的比例有所下降。<sup>[20](https://link.springer.com/chapter/10.1007/978-3-032-12089-2_7)</sup>

## 史诗、主题、故事地图与切片

大型工作通过一个小型层级结构来处理。史诗是对大型用户故事的标签，或是一组起初看似故事大小、但经分析证明更大的类似功能，随着开发临近，它被分解为更小的、可实现的故事；主题是按给定标准分组的故事集合。区分史诗与故事的一个实用测试是该条目是否满足INVEST。<sup>[5](https://webspace.science.uu.nl/~dalpi001/papers/luca-dalp-werf-brin-15-re.pdf)</sup><sup> • </sup><sup>[11](https://resources.scrumalliance.org/Article/frequently-asked-questions-user-stories)</sup><sup> • </sup><sup>[21](https://www.mountaingoatsoftware.com/agile/user-stories)</sup>

**切片。** 故事应当是原子的，只涉及一个功能，因为两个小而清晰的故事合并估算比一个更大、更不透明的故事估算更准确。<sup>[5](https://webspace.science.uu.nl/~dalpi001/papers/luca-dalp-werf-brin-15-re.pdf)</sup> 罗恩·杰弗里斯（Ron Jeffries）建议将故事切分到每个耗时不到一天，并以单个验收测试作为规模指南。<sup>[22](https://www.allstacks.com/blog/story-points-got-an-apology-from-the-man-who-invented-them)</sup> 杰夫·帕顿（Jeff Patton）于2008年引入故事地图，作为一种以用户为中心的视觉化方式，在整个用户旅程中规划和管理范围。<sup>[16](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)</sup> 在实践中，组织比理论更松散：一项案例研究发现，大多数参与者将故事组织为史诗，但对如何组织没有共识，一位参与者在Jira中用“应当”式措辞编写需求，让工具将其转换为故事。<sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup>

## 估算与故事点

团队通常对故事进行规模估算而非分配时间估算，使用T恤尺码（S、M、L、XL）或[斐波那契数列](https://www.edgepedia.org/zh/fibonacci-sequence)1、2、3、5、8、13，基于开发复杂度；故事内的任务可以按每个成员的投入小时数来估算。<sup>[11](https://resources.scrumalliance.org/Article/frequently-asked-questions-user-stories)</sup> [故事点](https://www.edgepedia.org/zh/story-points)起源于XP中的“理想日”，即开发者在不受干扰的一天内能完成的工作量；名称改变是因为利益相关方质疑其与实际天数的错配。<sup>[22](https://www.allstacks.com/blog/story-points-got-an-apology-from-the-man-who-invented-them)</sup>

调查数据展示了团队的实际做法。一项对来自16个国家的60名敏捷实践者的调查发现，[计划扑克](https://www.edgepedia.org/zh/planning-poker)是最常用的估算技术，占63%，其次是类比法（47%）和专家判断（38%）；故事点是最常用的规模度量，占62%，单独使用或与功能点等其他度量结合使用。估算主要发生在冲刺和发布规划层面，团队专业知识和先前经验是最常见的成本驱动因素。<sup>[8](https://dl.acm.org/doi/10.1145/2745802.2745813)</sup> 准确性一般：52%的受访者认为他们的工作量估算平均存在25%或以上的误差。<sup>[8](https://dl.acm.org/doi/10.1145/2745802.2745813)</sup> 2025年的一项系统综述得出了类似的诊断：基于用户故事的工作量估算对Scrum成功至关重要，但故事不一致、技术复杂性和任务实践导致了不准确。<sup>[23](https://www.scitepress.org/Papers/2025/132183/132183.pdf)</sup>

**速度及其失效模式。** 在2014年敏捷现状调查中，速度是跟踪敏捷项目最常用的度量，59%的受访者使用，而基于团队的估算使用率为56%，估算准确性仅为19%。<sup>[24](https://www.watermarklearning.com/downloads/state-of-agile-development-survey.pdf)</sup> 一种批评是，向上报告速度可能使其从一种度量变成管理目标，并可能鼓励估算膨胀。<sup>[22](https://www.allstacks.com/blog/story-points-got-an-apology-from-the-man-who-invented-them)</sup>

## 用户故事与用例及正式需求的比较

用例和用户故事生长于不同的传统：故事在敏捷开发中，用例在传统软件工程中，它们在语法、句法和详细程度上有所不同，但它们是互补的而非互斥的。<sup>[25](https://aisel.aisnet.org/cgi/viewcontent.cgi?article=4411&context=cais)</sup> 用例将需求组织为用户目标的叙述，以及如何通过与系统交互来满足这些目标；故事将需求分解为足够小的块，以便在一到两周的迭代内进行规划和估算。<sup>[26](https://martinfowler.com/bliki/UseCasesAndStories.html)</sup> 一个故事可能对应整个小型用例、一个或多个场景或单个步骤，而某些故事，例如向弹出列表添加新的折旧方法，根本不会出现在用例叙述中。<sup>[26](https://martinfowler.com/bliki/UseCasesAndStories.html)</sup>

范围差异是实际应用中的关键。用例叙述可以正式扩展到任何所需的详细程度，而用户故事是一个摘要，为与产品负责人的非正式对话搭建舞台；故事与产品待办事项列表中按优先级排列的灵活范围相关联，用例则与计划驱动方法中的固定功能范围相关联。<sup>[25](https://aisel.aisnet.org/cgi/viewcontent.cgi?article=4411&context=cais)</sup> 团队可以结合使用它们：早期使用用例进行叙述并分解为故事，直接使用故事，或仅使用标注了功能实现时间的用例。<sup>[26](https://martinfowler.com/bliki/UseCasesAndStories.html)</sup>

## 数据一览

- 约半数软件开发者使用用户故事，使其成为该领域最主要的需求方法。<sup>[4](https://dl.acm.org/doi/10.1016/j.jss.2025.112693)</sup>
- 在第17份敏捷现状报告中，788名受访软件开发专业人员中有71%报告在其软件开发生命周期中使用敏捷。<sup>[9](https://www.businesswire.com/news/home/20240116199385/en/17th-State-of-Agile-Report-71-Use-Agile-in-their-SDLC-Small-Organizations-Report-Strong-Business-Benefits-Medium-and-Larger-Sized-Companies-Continue-to-Experience-Barriers-in-Successfully-Scaling-Agile)</sup>
- 一项对182名实践者的调查及21次后续访谈发现，实践者一致认为使用用户故事在实践中是有效的。<sup>[27](https://link.springer.com/chapter/10.1007/978-3-319-30282-9_14)</sup>
- 计划扑克（63%）和故事点（62%）在估算实践中领先，但52%的实践者报告平均估算误差为25%或以上。<sup>[8](https://dl.acm.org/doi/10.1145/2745802.2745813)</sup>
- 在一项案例研究中，故事回复遗漏了30个利益相关方问题中的约三分之二，超过三分之二的严重业务相关问题被忽略。<sup>[10](https://www.mdpi.com/2674-113X/1/3/10)</sup>

## 近期发展

**有记录的退化。** 2025年一项对14项行业研究的理论文献综述将用户故事视为边界对象，并推导出五个命题，包括故事促进开发者与用户之间的共享理解，以及以书面形式记录的故事会随时间退化。同一综述发现，澄清“为什么”强化了对用户需求的关注，但增加了流程复杂性，而故事引发的对话可能削弱生产力感。<sup>[4](https://dl.acm.org/doi/10.1016/j.jss.2025.112693)</sup> 2025年的一项系统综述将故事问题分为四类：质量（歧义和不完整需求）、概念模型的推导、需求管理与任务分配、以及估算。<sup>[23](https://www.scitepress.org/Papers/2025/132183/132183.pdf)</sup>

**远离估算的动向。** 行业分析中描述的一些替代方案用检查故事是否足够小且清晰、团队中任何人都能完成来取代估算，将切片视为澄清工作的方式，而非预测工作量的方式。<sup>[22](https://www.allstacks.com/blog/story-points-got-an-apology-from-the-man-who-invented-them)</sup>

**AI在生命周期中的应用。** Atlassian的Team '26欧洲发布会描述了一个AI原生的软件开发生命周期，它首先加强上下文和度量，然后重新思考规划、设计、开发、评审和维护，而非在旧流程上叠加AI。<sup>[28](https://www.atlassian.com/blog/company-news/team26-europe-ai-sdlc)</sup> 第17份敏捷现状报告发现，在AI转型、开发者倦怠和混合办公的背景下，规模化敏捷被证明比预期更困难。<sup>[9](https://www.businesswire.com/news/home/20240116199385/en/17th-State-of-Agile-Report-71-Use-Agile-in-their-SDLC-Small-Organizations-Report-Strong-Business-Benefits-Medium-and-Larger-Sized-Companies-Continue-to-Experience-Barriers-in-Successfully-Scaling-Agile)</sup>

## References

1. [User Stories and Natural Language Processing: A Systematic Literature Review, IEEE Access](https://ieeexplore.ieee.org/ielx7/6287639/9312710/09393933.pdf)
2. [Controlled Experiments on User Stories' Modeling: Past, Present, and Future, CEUR-WS](https://ceur-ws.org/Vol-3134/paper-5.pdf)
3. [User Story, Martin Fowler](https://martinfowler.com/bliki/UserStory.html)
4. [User stories as boundary objects in agile requirements engineering, Journal of Systems and Software Vol. 233 (2025)](https://dl.acm.org/doi/10.1016/j.jss.2025.112693)
5. [Towards a Discipline for Agile Requirements](https://webspace.science.uu.nl/~dalpi001/papers/luca-dalp-werf-brin-15-re.pdf)
6. [What are User Stories? Agile Alliance glossary](https://agilealliance.org/glossary/user-stories/)
7. [Kent Beck (1999). Embracing change with extreme programming, IEEE Computer](https://www.cs.kent.edu/~jmaletic/cs63902/Papers/Beck99.pdf)
8. [Effort estimation in agile software development: a survey on the state of the practice, ACM](https://dl.acm.org/doi/10.1145/2745802.2745813)
9. [17th State of Agile Report press release, Digital.ai (January 2024)](https://www.businesswire.com/news/home/20240116199385/en/17th-State-of-Agile-Report-71-Use-Agile-in-their-SDLC-Small-Organizations-Report-Strong-Business-Benefits-Medium-and-Larger-Sized-Companies-Continue-to-Experience-Barriers-in-Successfully-Scaling-Agile)
10. [User Story Quality in Practice: A Case Study, MDPI Requirements Engineering](https://www.mdpi.com/2674-113X/1/3/10)
11. [Frequently Asked Questions About User Stories, Scrum Alliance](https://resources.scrumalliance.org/Article/frequently-asked-questions-user-stories)
12. [User Stories are Needs Described from the Business Perspective, Scrum.org](https://www.scrum.org/resources/blog/user-stories-are-needs-described-business-perspective)
13. [The Anatomy of a User Story, Scrum Alliance](https://resources.scrumalliance.org/Article/anatomy-user-story)
14. [Myth 4: In Scrum, the Product Backlog has to consist out of User Stories, Scrum.org](https://www.scrum.org/resources/blog/myth-4-scrum-product-backlog-has-consist-out-user-stories)
15. [Extreme Programming (1999 course document, Duke University)](https://courses.cs.duke.edu/cps108/fall99/xtreme.pdf)
16. [History of User Stories in Agile, Visual Paradigm](https://skills.visual-paradigm.com/docs/how-to-write-effective-user-stories/user-story-fundamentals/history-of-user-stories-in-agile/)
17. [SCRUM Development Process, Ken Schwaber (1995)](https://scrum.academy/scrumguides/schwaber-1995.pdf)
18. [What are User Stories? Agile Business Consortium](https://www.agilebusiness.org/resource/what-are-user-stories/)
19. [Scrum Academy, International Product Owner Foundation, Chapter 9: User Stories](https://www.scrum.as/academy.php?chapter=9&show=1)
20. [Improving the Writing Quality of User Stories: A Canonical Action Research Study, Springer](https://link.springer.com/chapter/10.1007/978-3-032-12089-2_7)
21. [User Stories: What They Are, How to Write Them, and Examples, Mountain Goat Software](https://www.mountaingoatsoftware.com/agile/user-stories)
22. [Story Points: What Replaces Them and Why, Allstacks](https://www.allstacks.com/blog/story-points-got-an-apology-from-the-man-who-invented-them)
23. [Analyzing User Story Quality: A Systematic Review of Common Issues and Solutions, SCITEPRESS (2025)](https://www.scitepress.org/Papers/2025/132183/132183.pdf)
24. [State of Agile Survey, VersionOne (2014)](https://www.watermarklearning.com/downloads/state-of-agile-development-survey.pdf)
25. [Synergistically Employing User Stories and Use Cases in the Practice and Teaching of Systems Analysis and Design, AIS CAIS](https://aisel.aisnet.org/cgi/viewcontent.cgi?article=4411&context=cais)
26. [Use Cases And Stories, Martin Fowler](https://martinfowler.com/bliki/UseCasesAndStories.html)
27. [The Use and Effectiveness of User Stories in Practice, Springer](https://link.springer.com/chapter/10.1007/978-3-319-30282-9_14)
28. [Atlassian brings the AI-native SDLC from playbook to production](https://www.atlassian.com/blog/company-news/team26-europe-ai-sdlc)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Development methodologies and project management

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/user-story

English original: https://www.edgepedia.org/user-story
