014-agile-user-story

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Create Agile User Stories and Gherkin Feature Files

创建敏捷用户故事和Gherkin特性文件

Guide the agent to ask targeted questions to gather details for a user story and its Gherkin acceptance criteria, then generate a Markdown user story and a separate Gherkin
.feature
file. This is an interactive SKILL.
What is covered in this Skill?
  • User story core details: title, persona, goal, benefit
  • Gherkin feature file: Feature name, background steps, scenarios
  • Acceptance criteria: Given / When / Then with data examples
  • File naming and linking between user story and feature file
指导Agent提出针对性问题,收集用户故事及其Gherkin验收标准的详细信息,然后生成Markdown格式的用户故事和单独的Gherkin
.feature
文件。这是一个交互式SKILL
本Skill涵盖哪些内容?
  • 用户故事核心信息:标题、角色、目标、收益
  • Gherkin特性文件:特性名称、背景步骤、场景
  • 验收标准:带数据示例的Given / When / Then结构
  • 用户故事与特性文件的命名及关联

Constraints

约束条件

Before generating artifacts, gather all required information through structured questions. Use exact wording from the template and wait for user responses.
  • MANDATORY: Ask questions from the template one-by-one in strict order before generating any artifacts
  • MUST: Read the reference template fresh and use exact wording—do not use cached questions
  • MUST: Wait for user response after each question or block before proceeding
  • MUST: Repeat scenario questions for each additional scenario when user indicates more scenarios
在生成产物之前,通过结构化问题收集所有必要信息。使用模板中的精确措辞,并等待用户回复。
  • 强制要求:在生成任何产物之前,严格按照模板顺序逐一提出问题
  • 必须:重新查阅参考模板并使用精确措辞——不得使用缓存的问题
  • 必须:在每个问题或问题块后等待用户回复,再继续下一步
  • 必须:当用户表示需要更多场景时,为每个新增场景重复场景相关问题

When to use this skill

何时使用本Skill

  • Create a user story
  • Write a user story
  • I need to write a user story
  • 创建用户故事
  • 编写用户故事
  • 我需要编写用户故事

Reference

参考资料

For detailed guidance, examples, and constraints, see references/014-agile-user-story.md.
如需详细指导、示例和约束条件,请查看references/014-agile-user-story.md