Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

user-story-splitting用户故事分裂

Agent Skill

user-story-splitting 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,592

周安装

858

GitHub Stars

3,905

下载量

6,864
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:user-story-splitting(用户故事分裂)
来源仓库:https://github.com/deanpeters/product-manager-skills
仓库路径:skills/user-story-splitting
安装命令:
npx skills add https://github.com/deanpeters/product-manager-skills --skill user-story-splitting
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/deanpeters/product-manager-skills --skill user-story-splitting

简介

使用八种系统的分割模式将大型故事和史诗分解为更小的、可独立交付的增量。

  • 提供八种拆分模式:工作流程步骤、业务规则变化、数据变化、验收标准复杂性、主要工作、外部依赖、DevOps 步骤和用于解包未知的微小发现行为
  • 强调垂直切片(每次分割都提供完整的用户价值)而不是水平任务分解或任意砍伐
  • 包括验证检查,以确保拆分是独立的、可测试的、冲刺规模的,并且总体上等于原始故事
  • 涵盖常见的陷阱:水平切片、过度分割、无意义的分割、硬依赖和忽略用户结果

SKILL.md

Purpose

Break down large user stories, epics, or features into smaller, independently deliverable stories using systematic splitting patterns. Use this to make work more manageable, reduce risk, enable faster feedback cycles, and maintain flow in agile development. This skill applies to user stories, epics, and any work that's too large to complete in a single sprint.

This is not arbitrary slicing—it's strategic decomposition that preserves user value while reducing complexity.

Key Concepts

The Story Splitting Framework

Based on Richard Lawrence and Peter Green's "Humanizing Work Guide to Splitting User Stories," the framework provides 8 systematic patterns for splitting work:

  1. Workflow steps: Split along sequential steps in a user's journey
  2. Business rule variations: Split by different rule scenarios (permissions, calculations, etc.)
  3. Data variations: Split by different data types or inputs
  4. Acceptance criteria complexity: Split when multiple "When" or "Then" statements exist
  5. Major effort: Split by technical milestones or implementation phases
  6. External dependencies: Split along dependency boundaries (APIs, third parties, etc.)
  7. DevOps steps: Split by deployment or infrastructure requirements
  8. Tiny Acts of Discovery (TADs): When none of the above apply, use small experiments to unpack unknowns

Why Split Stories?

  • Faster feedback: Smaller stories ship sooner, allowing earlier validation
  • Reduced risk: Less to build = less that can go wrong
  • Better estimation: Small stories are easier to estimate accurately
  • Maintain flow: Keeps work moving through the sprint without bottlenecks
  • Testability: Smaller scope = easier to write and run tests

Anti-Patterns (What This Is NOT)

  • Not horizontal slicing: Don't split into "front-end story" and "back-end story" (each story should deliver user value)
  • Not task decomposition: Stories aren't tasks ("Set up database," "Write API")
  • Not arbitrary chopping: Don't split "Add user management" into "Add user" and "Management" (meaningless)

When to Use This

  • Story is too large for a single sprint
  • Multiple "When" or "Then" statements in acceptance criteria
  • Epic needs to be broken down into deliverable increments
  • Team can't reach consensus on story size or scope
  • Story has multiple personas or workflows bundled together

When NOT to Use This

  • Story is already small and well-scoped (don't over-split)
  • Splitting would create dependencies that slow delivery
  • The story is a technical task (use engineering task breakdown instead)

Application

Step 1: Identify the Original Story

Start with the story/epic/feature that needs splitting. Ensure it's written using the user story format (reference skills/user-story/SKILL.md or skills/epic-hypothesis/SKILL.md).

### Original Story:
[Story formatted with use case and acceptance criteria]

Step 2: Apply the Splitting Logic

Use template.md for the full fill-in structure and output format.

Work through the 8 splitting patterns in order. Stop when you find one that applies.

Pattern 1: Workflow Steps

Ask: Does this story contain multiple sequential steps?

Example:

  • Original: "As a user, I want to sign up, verify my email, and complete onboarding"
  • Split:

1. "As a user, I want to sign up with email/password" 2. "As a user, I want to verify my email via a confirmation link" 3. "As a user, I want to complete onboarding by answering 3 profile questions"


Pattern 2: Business Rule Variations

Ask: Does this story have different rules for different scenarios?

Example:

  • Original: "As a user, I want to apply discounts (10% for members, 20% for VIPs, 5% for first-time buyers)"
  • Split:

1. "As a member, I want to apply a 10% discount at checkout" 2. "As a VIP, I want to apply a 20% discount at checkout" 3. "As a first-time buyer, I want to apply a 5% discount at checkout"


Pattern 3: Data Variations

Ask: Does this story handle different types of data or inputs?

Example:

  • Original: "As a user, I want to upload files (images, PDFs, videos)"
  • Split:

1. "As a user, I want to upload image files (JPG, PNG)" 2. "As a user, I want to upload PDF documents" 3. "As a user, I want to upload video files (MP4, MOV)"


Pattern 4: Acceptance Criteria Complexity

Ask: Does this story have multiple "When" or "Then" statements?

Example:

  • Original: "As a user, I want to manage my cart"

- When I add an item, Then it appears in my cart - When I remove an item, Then it disappears from my cart - When I update quantity, Then the cart total updates

  • Split:

1. "As a user, I want to add items to my cart so I can purchase them later" 2. "As a user, I want to remove items from my cart so I can change my mind" 3. "As a user, I want to update item quantities so I can buy the right amount"

Note: This is the most common indicator that a story needs splitting. If you see multiple "When/Then" pairs, split along those boundaries.


Pattern 5: Major Effort

Ask: Does this story require significant technical work that can be delivered incrementally?

Example:

  • Original: "As a user, I want real-time collaboration on documents"
  • Split:

1. "As a user, I want to see who else is viewing the document (read-only presence)" 2. "As a user, I want to see live cursor positions of other editors" 3. "As a user, I want to see live edits from other users in real-time"


Pattern 6: External Dependencies

Ask: Does this story depend on multiple external systems or APIs?

Example:

  • Original: "As a user, I want to log in with Google, Facebook, or Twitter"
  • Split:

1. "As a user, I want to log in with Google OAuth" 2. "As a user, I want to log in with Facebook OAuth" 3. "As a user, I want to log in with Twitter OAuth"


Pattern 7: DevOps Steps

Ask: Does this story require complex deployment, infrastructure, or operational work?

Example:

  • Original: "As a user, I want to upload large files to cloud storage"
  • Split:

1. "As a user, I want to upload small files (<10MB) to cloud storage" 2. "As a user, I want to upload large files (10MB-1GB) with progress tracking" 3. "As a user, I want to resume interrupted uploads"


Pattern 8: Tiny Acts of Discovery (TADs)

Ask: If none of the above apply, are there unknowns or assumptions that need unpacking?

Example:

  • Original: "As a user, I want AI-powered recommendations" (too vague, too many unknowns)
  • TADs:

1. Prototype 3 recommendation algorithms and test with 10 users 2. Define success criteria (click-through rate, user satisfaction) 3. Build the simplest recommendation engine (collaborative filtering) 4. Measure and iterate

Note: TADs aren't stories—they're experiments. Use them to de-risk and clarify before writing stories.


Step 3: Write the Split Stories

For each split, write a complete user story using the format from skills/user-story/SKILL.md:

### Split 1 using [Pattern Name]:

#### User Story [ID]:
- **Summary:** [Brief title]

**Use Case:**
- **As a** [persona]
- **I want to** [action]
- **so that** [outcome]

**Acceptance Criteria:**
- **Scenario:** [Description]
- **Given:** [Preconditions]
- **When:** [Action]
- **Then:** [Outcome]

Step 4: Validate the Splits

Ask these questions:

  1. Does each split deliver user value? (Not just "front-end done")
  2. Can each split be developed independently? (No hard dependencies)
  3. Can each split be tested independently? (Clear acceptance criteria)
  4. Is each split small enough for a sprint? (1-5 days of work)
  5. Do the splits, when combined, equal the original? (Nothing lost in translation)

If any answer is "no," revise.


Examples

See examples/sample.md for full splitting examples.

Mini example excerpt:

### Original Story:
As a team admin, I want to manage team members so that I can control access.

### Suggested Splits (Acceptance Criteria Complexity):
1. Invite new team members
2. Remove team members
3. Update team member roles

Common Pitfalls

Pitfall 1: Horizontal Slicing (Technical Layers)

Symptom: "Story 1: Build the API. Story 2: Build the UI."

Consequence: Neither story delivers user value independently.

Fix: Split vertically—each story should include front-end + back-end work to deliver a complete user-facing capability.


Pitfall 2: Over-Splitting

Symptom: "Story 1: Add button. Story 2: Wire button to API. Story 3: Display result."

Consequence: Creates unnecessary overhead and dependencies.

Fix: Only split when the story is too large. A 2-day story doesn't need splitting.


Pitfall 3: Meaningless Splits

Symptom: "Story 1: First half of feature. Story 2: Second half of feature."

Consequence: Arbitrary splits that don't map to user value or workflow.

Fix: Use one of the 8 splitting patterns—each split should have a clear rationale.


Pitfall 4: Creating Hard Dependencies

Symptom: "Story 2 can't start until Story 1 is 100% done, tested, and deployed."

Consequence: No parallelization, slows delivery.

Fix: Split in a way that allows independent development. If dependencies are unavoidable, prioritize Story 1.


Pitfall 5: Ignoring the "So That"

Symptom: Split stories have the same "so that" statement.

Consequence: You've split the action but not the outcome—likely a task decomposition, not a story split.

Fix: Ensure each split has a distinct user outcome. If not, reconsider the split pattern.


References

Related Skills

  • skills/user-story/SKILL.md — Format for writing the split stories
  • skills/epic-hypothesis/SKILL.md — Epics often need splitting before becoming stories
  • skills/jobs-to-be-done/SKILL.md — Helps identify meaningful splits along user jobs

External Frameworks

  • Richard Lawrence & Peter Green, *The Humanizing Work Guide to Splitting User Stories* — Origin of the 8 splitting patterns
  • Bill Wake, *INVEST in Good Stories* (2003) — Criteria for well-formed stories (Independent, Negotiable, Valuable, Estimable, Small, Testable)
  • Mike Cohn, *User Stories Applied* (2004) — Story decomposition techniques

Dean's Work

  • User Story Splitting Prompt Template (based on Humanizing Work framework)

Provenance

  • Adapted from prompts/user-story-splitting-prompt-template.md in the https://github.com/deanpeters/product-manager-prompts repo.

Skill type: Component Suggested filename: user-story-splitting.md Suggested placement: /skills/components/ Dependencies: References skills/user-story/SKILL.md, skills/epic-hypothesis/SKILL.md Applies to: User stories, epics, and any work that's too large to complete in a single sprint

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34%
按下载量换算2,334

Claude

28.81%
按下载量换算1,978

Cursor

18.89%
按下载量换算1,297

Gemini CLI

9.88%
按下载量换算678

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills