autodoc-agent-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +362 -0
  2. package/package.json +49 -0
  3. package/src/core/module.yaml +5 -0
  4. package/src/modules/design/module.yaml +9 -0
  5. package/src/modules/design/skills/brand-guidelines/LICENSE.txt +202 -0
  6. package/src/modules/design/skills/brand-guidelines/SKILL.md +73 -0
  7. package/src/modules/design/skills/frontend-design/LICENSE.txt +177 -0
  8. package/src/modules/design/skills/frontend-design/SKILL.md +42 -0
  9. package/src/modules/design/skills/web-artifacts-builder/SKILL.md +229 -0
  10. package/src/modules/devops/module.yaml +10 -0
  11. package/src/modules/devops/skills/devops-helper/SKILL.md +60 -0
  12. package/src/modules/devops/skills/k8s-helm/SKILL.md +360 -0
  13. package/src/modules/devops/skills/monitoring-observability/SKILL.md +240 -0
  14. package/src/modules/devops/skills/security-auditor/SKILL.md +105 -0
  15. package/src/modules/engineering/module.yaml +22 -0
  16. package/src/modules/engineering/skills/ai-sdk/SKILL.md +314 -0
  17. package/src/modules/engineering/skills/api-designer/SKILL.md +77 -0
  18. package/src/modules/engineering/skills/code-reviewer/SKILL.md +71 -0
  19. package/src/modules/engineering/skills/db-architect/SKILL.md +50 -0
  20. package/src/modules/engineering/skills/debugger/SKILL.md +59 -0
  21. package/src/modules/engineering/skills/docs-generator/SKILL.md +51 -0
  22. package/src/modules/engineering/skills/git-workflow/SKILL.md +258 -0
  23. package/src/modules/engineering/skills/mcp-builder/LICENSE.txt +202 -0
  24. package/src/modules/engineering/skills/mcp-builder/SKILL.md +236 -0
  25. package/src/modules/engineering/skills/mcp-builder/reference/evaluation.md +602 -0
  26. package/src/modules/engineering/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
  27. package/src/modules/engineering/skills/mcp-builder/reference/node_mcp_server.md +970 -0
  28. package/src/modules/engineering/skills/mcp-builder/reference/python_mcp_server.md +719 -0
  29. package/src/modules/engineering/skills/mcp-builder/scripts/connections.py +151 -0
  30. package/src/modules/engineering/skills/mcp-builder/scripts/evaluation.py +373 -0
  31. package/src/modules/engineering/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
  32. package/src/modules/engineering/skills/mcp-builder/scripts/requirements.txt +2 -0
  33. package/src/modules/engineering/skills/nextjs-15/SKILL.md +312 -0
  34. package/src/modules/engineering/skills/perf-optimizer/SKILL.md +60 -0
  35. package/src/modules/engineering/skills/react-19/SKILL.md +257 -0
  36. package/src/modules/engineering/skills/refactorer/SKILL.md +60 -0
  37. package/src/modules/engineering/skills/skill-authoring-workflow/SKILL.md +183 -0
  38. package/src/modules/engineering/skills/skill-creator/LICENSE.txt +202 -0
  39. package/src/modules/engineering/skills/skill-creator/SKILL.md +356 -0
  40. package/src/modules/engineering/skills/skill-creator/references/output-patterns.md +82 -0
  41. package/src/modules/engineering/skills/skill-creator/references/workflows.md +28 -0
  42. package/src/modules/engineering/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-313.pyc +0 -0
  43. package/src/modules/engineering/skills/skill-creator/scripts/init_skill.py +303 -0
  44. package/src/modules/engineering/skills/skill-creator/scripts/package_skill.py +110 -0
  45. package/src/modules/engineering/skills/skill-creator/scripts/quick_validate.py +95 -0
  46. package/src/modules/engineering/skills/typescript/SKILL.md +231 -0
  47. package/src/modules/engineering/skills/zod-4/SKILL.md +223 -0
  48. package/src/modules/product/module.yaml +51 -0
  49. package/src/modules/product/skills/acquisition-channel-advisor/SKILL.md +643 -0
  50. package/src/modules/product/skills/acquisition-channel-advisor/examples/conversation-flow.md +531 -0
  51. package/src/modules/product/skills/ai-shaped-readiness-advisor/SKILL.md +923 -0
  52. package/src/modules/product/skills/altitude-horizon-framework/SKILL.md +250 -0
  53. package/src/modules/product/skills/altitude-horizon-framework/examples/sample.md +85 -0
  54. package/src/modules/product/skills/business-health-diagnostic/SKILL.md +783 -0
  55. package/src/modules/product/skills/company-research/SKILL.md +385 -0
  56. package/src/modules/product/skills/company-research/examples/sample.md +164 -0
  57. package/src/modules/product/skills/company-research/template.md +60 -0
  58. package/src/modules/product/skills/context-engineering-advisor/SKILL.md +763 -0
  59. package/src/modules/product/skills/customer-journey-map/SKILL.md +346 -0
  60. package/src/modules/product/skills/customer-journey-map/examples/meta-product-manager-skills.md +40 -0
  61. package/src/modules/product/skills/customer-journey-map/examples/sample.md +33 -0
  62. package/src/modules/product/skills/customer-journey-map/template.md +28 -0
  63. package/src/modules/product/skills/customer-journey-mapping-workshop/SKILL.md +523 -0
  64. package/src/modules/product/skills/director-readiness-advisor/SKILL.md +351 -0
  65. package/src/modules/product/skills/director-readiness-advisor/examples/conversation-flow.md +96 -0
  66. package/src/modules/product/skills/discovery-interview-prep/SKILL.md +410 -0
  67. package/src/modules/product/skills/discovery-process/SKILL.md +504 -0
  68. package/src/modules/product/skills/discovery-process/examples/sample.md +60 -0
  69. package/src/modules/product/skills/discovery-process/template.md +39 -0
  70. package/src/modules/product/skills/eol-message/SKILL.md +348 -0
  71. package/src/modules/product/skills/eol-message/examples/sample.md +87 -0
  72. package/src/modules/product/skills/eol-message/template.md +74 -0
  73. package/src/modules/product/skills/epic-breakdown-advisor/SKILL.md +665 -0
  74. package/src/modules/product/skills/epic-hypothesis/SKILL.md +277 -0
  75. package/src/modules/product/skills/epic-hypothesis/examples/sample.md +104 -0
  76. package/src/modules/product/skills/epic-hypothesis/template.md +30 -0
  77. package/src/modules/product/skills/executive-onboarding-playbook/SKILL.md +280 -0
  78. package/src/modules/product/skills/executive-onboarding-playbook/examples/sample.md +116 -0
  79. package/src/modules/product/skills/feature-investment-advisor/SKILL.md +639 -0
  80. package/src/modules/product/skills/feature-investment-advisor/examples/conversation-flow.md +538 -0
  81. package/src/modules/product/skills/finance-based-pricing-advisor/SKILL.md +763 -0
  82. package/src/modules/product/skills/finance-metrics-quickref/SKILL.md +309 -0
  83. package/src/modules/product/skills/jobs-to-be-done/SKILL.md +370 -0
  84. package/src/modules/product/skills/jobs-to-be-done/examples/sample.md +80 -0
  85. package/src/modules/product/skills/jobs-to-be-done/template.md +65 -0
  86. package/src/modules/product/skills/lean-ux-canvas/SKILL.md +561 -0
  87. package/src/modules/product/skills/lean-ux-canvas/examples/sample.md +88 -0
  88. package/src/modules/product/skills/lean-ux-canvas/template.md +32 -0
  89. package/src/modules/product/skills/opportunity-solution-tree/SKILL.md +420 -0
  90. package/src/modules/product/skills/opportunity-solution-tree/examples/sample.md +104 -0
  91. package/src/modules/product/skills/opportunity-solution-tree/template.md +33 -0
  92. package/src/modules/product/skills/pestel-analysis/SKILL.md +376 -0
  93. package/src/modules/product/skills/pestel-analysis/examples/sample.md +143 -0
  94. package/src/modules/product/skills/pestel-analysis/template.md +53 -0
  95. package/src/modules/product/skills/pol-probe/SKILL.md +217 -0
  96. package/src/modules/product/skills/pol-probe/examples/sample.md +136 -0
  97. package/src/modules/product/skills/pol-probe/template.md +59 -0
  98. package/src/modules/product/skills/pol-probe-advisor/SKILL.md +492 -0
  99. package/src/modules/product/skills/positioning-statement/SKILL.md +230 -0
  100. package/src/modules/product/skills/positioning-statement/examples/sample.md +51 -0
  101. package/src/modules/product/skills/positioning-statement/template.md +25 -0
  102. package/src/modules/product/skills/positioning-workshop/SKILL.md +424 -0
  103. package/src/modules/product/skills/prd-development/SKILL.md +655 -0
  104. package/src/modules/product/skills/prd-development/examples/sample.md +43 -0
  105. package/src/modules/product/skills/prd-development/template.md +55 -0
  106. package/src/modules/product/skills/press-release/SKILL.md +269 -0
  107. package/src/modules/product/skills/press-release/examples/sample.md +73 -0
  108. package/src/modules/product/skills/press-release/template.md +39 -0
  109. package/src/modules/product/skills/prioritization-advisor/SKILL.md +448 -0
  110. package/src/modules/product/skills/problem-framing-canvas/SKILL.md +466 -0
  111. package/src/modules/product/skills/problem-framing-canvas/examples/sample.md +58 -0
  112. package/src/modules/product/skills/problem-framing-canvas/template.md +22 -0
  113. package/src/modules/product/skills/problem-statement/SKILL.md +246 -0
  114. package/src/modules/product/skills/problem-statement/examples/sample.md +82 -0
  115. package/src/modules/product/skills/problem-statement/template.md +37 -0
  116. package/src/modules/product/skills/product-strategy-session/SKILL.md +426 -0
  117. package/src/modules/product/skills/product-strategy-session/examples/sample.md +67 -0
  118. package/src/modules/product/skills/product-strategy-session/template.md +38 -0
  119. package/src/modules/product/skills/proto-persona/SKILL.md +326 -0
  120. package/src/modules/product/skills/proto-persona/examples/sample.md +97 -0
  121. package/src/modules/product/skills/proto-persona/template.md +45 -0
  122. package/src/modules/product/skills/recommendation-canvas/SKILL.md +375 -0
  123. package/src/modules/product/skills/recommendation-canvas/examples/sample.md +94 -0
  124. package/src/modules/product/skills/recommendation-canvas/template.md +86 -0
  125. package/src/modules/product/skills/roadmap-planning/SKILL.md +505 -0
  126. package/src/modules/product/skills/roadmap-planning/examples/sample.md +62 -0
  127. package/src/modules/product/skills/roadmap-planning/template.md +30 -0
  128. package/src/modules/product/skills/saas-economics-efficiency-metrics/SKILL.md +694 -0
  129. package/src/modules/product/skills/saas-economics-efficiency-metrics/examples/cash-trap.md +365 -0
  130. package/src/modules/product/skills/saas-economics-efficiency-metrics/examples/healthy-unit-economics.md +279 -0
  131. package/src/modules/product/skills/saas-economics-efficiency-metrics/template.md +263 -0
  132. package/src/modules/product/skills/saas-revenue-growth-metrics/SKILL.md +630 -0
  133. package/src/modules/product/skills/saas-revenue-growth-metrics/examples/healthy-saas.md +131 -0
  134. package/src/modules/product/skills/saas-revenue-growth-metrics/examples/warning-signs.md +229 -0
  135. package/src/modules/product/skills/saas-revenue-growth-metrics/template.md +192 -0
  136. package/src/modules/product/skills/storyboard/SKILL.md +252 -0
  137. package/src/modules/product/skills/storyboard/examples/sample.md +71 -0
  138. package/src/modules/product/skills/storyboard/template.md +41 -0
  139. package/src/modules/product/skills/tam-sam-som-calculator/SKILL.md +392 -0
  140. package/src/modules/product/skills/tam-sam-som-calculator/examples/sample.md +142 -0
  141. package/src/modules/product/skills/tam-sam-som-calculator/scripts/market-sizing.py +95 -0
  142. package/src/modules/product/skills/tam-sam-som-calculator/template.md +35 -0
  143. package/src/modules/product/skills/user-story/SKILL.md +272 -0
  144. package/src/modules/product/skills/user-story/examples/sample.md +110 -0
  145. package/src/modules/product/skills/user-story/scripts/user-story-template.py +65 -0
  146. package/src/modules/product/skills/user-story/template.md +32 -0
  147. package/src/modules/product/skills/user-story-mapping/SKILL.md +285 -0
  148. package/src/modules/product/skills/user-story-mapping/examples/sample.md +77 -0
  149. package/src/modules/product/skills/user-story-mapping/template.md +41 -0
  150. package/src/modules/product/skills/user-story-mapping-workshop/SKILL.md +477 -0
  151. package/src/modules/product/skills/user-story-mapping-workshop/template.md +28 -0
  152. package/src/modules/product/skills/user-story-splitting/SKILL.md +303 -0
  153. package/src/modules/product/skills/user-story-splitting/examples/sample.md +147 -0
  154. package/src/modules/product/skills/user-story-splitting/template.md +37 -0
  155. package/src/modules/product/skills/vp-cpo-readiness-advisor/SKILL.md +409 -0
  156. package/src/modules/product/skills/vp-cpo-readiness-advisor/examples/conversation-flow.md +95 -0
  157. package/src/modules/product/skills/workshop-facilitation/SKILL.md +87 -0
  158. package/src/modules/productivity/module.yaml +9 -0
  159. package/src/modules/productivity/skills/doc-coauthoring/SKILL.md +375 -0
  160. package/src/modules/productivity/skills/internal-comms/LICENSE.txt +202 -0
  161. package/src/modules/productivity/skills/internal-comms/SKILL.md +32 -0
  162. package/src/modules/productivity/skills/internal-comms/examples/3p-updates.md +47 -0
  163. package/src/modules/productivity/skills/internal-comms/examples/company-newsletter.md +65 -0
  164. package/src/modules/productivity/skills/internal-comms/examples/faq-answers.md +30 -0
  165. package/src/modules/productivity/skills/internal-comms/examples/general-comms.md +16 -0
  166. package/src/modules/productivity/skills/technical-writing/SKILL.md +266 -0
  167. package/src/modules/qa/module.yaml +9 -0
  168. package/src/modules/qa/skills/test-strategy/SKILL.md +263 -0
  169. package/src/modules/qa/skills/test-writer/SKILL.md +57 -0
  170. package/src/modules/qa/skills/webapp-testing/LICENSE.txt +202 -0
  171. package/src/modules/qa/skills/webapp-testing/SKILL.md +96 -0
  172. package/src/modules/qa/skills/webapp-testing/examples/console_logging.py +35 -0
  173. package/src/modules/qa/skills/webapp-testing/examples/element_discovery.py +40 -0
  174. package/src/modules/qa/skills/webapp-testing/examples/static_html_automation.py +33 -0
  175. package/src/modules/qa/skills/webapp-testing/scripts/with_server.py +106 -0
  176. package/tools/autodoc-npx-wrapper.js +34 -0
  177. package/tools/cli/autodoc-cli.js +55 -0
  178. package/tools/cli/commands/install.js +36 -0
  179. package/tools/cli/commands/status.js +35 -0
  180. package/tools/cli/commands/uninstall.js +60 -0
  181. package/tools/cli/installers/lib/core/installer.js +164 -0
  182. package/tools/cli/installers/lib/core/manifest.js +49 -0
  183. package/tools/cli/installers/lib/ide/manager.js +112 -0
  184. package/tools/cli/installers/lib/ide/platform-codes.yaml +207 -0
  185. package/tools/cli/installers/lib/modules/manager.js +59 -0
  186. package/tools/cli/lib/ui.js +199 -0
  187. package/tools/cli/lib/welcome.js +82 -0
@@ -0,0 +1,303 @@
1
+ ---
2
+ name: user-story-splitting
3
+ description: Break a large story or epic into smaller deliverable stories using proven split patterns. Use when backlog items are too big for estimation, sequencing, or independent release.
4
+ intent: >-
5
+ 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.
6
+ type: component
7
+ ---
8
+
9
+
10
+ ## Purpose
11
+ 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.
12
+
13
+ This is not arbitrary slicing—it's strategic decomposition that preserves user value while reducing complexity.
14
+
15
+ ## Key Concepts
16
+
17
+ ### The Story Splitting Framework
18
+ Based on Richard Lawrence and Peter Green's "Humanizing Work Guide to Splitting User Stories," the framework provides 8 systematic patterns for splitting work:
19
+
20
+ 1. **Workflow steps:** Split along sequential steps in a user's journey
21
+ 2. **Business rule variations:** Split by different rule scenarios (permissions, calculations, etc.)
22
+ 3. **Data variations:** Split by different data types or inputs
23
+ 4. **Acceptance criteria complexity:** Split when multiple "When" or "Then" statements exist
24
+ 5. **Major effort:** Split by technical milestones or implementation phases
25
+ 6. **External dependencies:** Split along dependency boundaries (APIs, third parties, etc.)
26
+ 7. **DevOps steps:** Split by deployment or infrastructure requirements
27
+ 8. **Tiny Acts of Discovery (TADs):** When none of the above apply, use small experiments to unpack unknowns
28
+
29
+ ### Why Split Stories?
30
+ - **Faster feedback:** Smaller stories ship sooner, allowing earlier validation
31
+ - **Reduced risk:** Less to build = less that can go wrong
32
+ - **Better estimation:** Small stories are easier to estimate accurately
33
+ - **Maintain flow:** Keeps work moving through the sprint without bottlenecks
34
+ - **Testability:** Smaller scope = easier to write and run tests
35
+
36
+ ### Anti-Patterns (What This Is NOT)
37
+ - **Not horizontal slicing:** Don't split into "front-end story" and "back-end story" (each story should deliver user value)
38
+ - **Not task decomposition:** Stories aren't tasks ("Set up database," "Write API")
39
+ - **Not arbitrary chopping:** Don't split "Add user management" into "Add user" and "Management" (meaningless)
40
+
41
+ ### When to Use This
42
+ - Story is too large for a single sprint
43
+ - Multiple "When" or "Then" statements in acceptance criteria
44
+ - Epic needs to be broken down into deliverable increments
45
+ - Team can't reach consensus on story size or scope
46
+ - Story has multiple personas or workflows bundled together
47
+
48
+ ### When NOT to Use This
49
+ - Story is already small and well-scoped (don't over-split)
50
+ - Splitting would create dependencies that slow delivery
51
+ - The story is a technical task (use engineering task breakdown instead)
52
+
53
+ ---
54
+
55
+ ## Application
56
+
57
+ ### Step 1: Identify the Original Story
58
+ 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`).
59
+
60
+ ```markdown
61
+ ### Original Story:
62
+ [Story formatted with use case and acceptance criteria]
63
+ ```
64
+
65
+ ---
66
+
67
+ ### Step 2: Apply the Splitting Logic
68
+
69
+ Use `template.md` for the full fill-in structure and output format.
70
+
71
+ Work through the 8 splitting patterns in order. Stop when you find one that applies.
72
+
73
+ #### Pattern 1: Workflow Steps
74
+ **Ask:** Does this story contain multiple sequential steps?
75
+
76
+ **Example:**
77
+ - Original: "As a user, I want to sign up, verify my email, and complete onboarding"
78
+ - Split:
79
+ 1. "As a user, I want to sign up with email/password"
80
+ 2. "As a user, I want to verify my email via a confirmation link"
81
+ 3. "As a user, I want to complete onboarding by answering 3 profile questions"
82
+
83
+ ---
84
+
85
+ #### Pattern 2: Business Rule Variations
86
+ **Ask:** Does this story have different rules for different scenarios?
87
+
88
+ **Example:**
89
+ - Original: "As a user, I want to apply discounts (10% for members, 20% for VIPs, 5% for first-time buyers)"
90
+ - Split:
91
+ 1. "As a member, I want to apply a 10% discount at checkout"
92
+ 2. "As a VIP, I want to apply a 20% discount at checkout"
93
+ 3. "As a first-time buyer, I want to apply a 5% discount at checkout"
94
+
95
+ ---
96
+
97
+ #### Pattern 3: Data Variations
98
+ **Ask:** Does this story handle different types of data or inputs?
99
+
100
+ **Example:**
101
+ - Original: "As a user, I want to upload files (images, PDFs, videos)"
102
+ - Split:
103
+ 1. "As a user, I want to upload image files (JPG, PNG)"
104
+ 2. "As a user, I want to upload PDF documents"
105
+ 3. "As a user, I want to upload video files (MP4, MOV)"
106
+
107
+ ---
108
+
109
+ #### Pattern 4: Acceptance Criteria Complexity
110
+ **Ask:** Does this story have multiple "When" or "Then" statements?
111
+
112
+ **Example:**
113
+ - Original: "As a user, I want to manage my cart"
114
+ - When I add an item, Then it appears in my cart
115
+ - When I remove an item, Then it disappears from my cart
116
+ - When I update quantity, Then the cart total updates
117
+ - Split:
118
+ 1. "As a user, I want to add items to my cart so I can purchase them later"
119
+ 2. "As a user, I want to remove items from my cart so I can change my mind"
120
+ 3. "As a user, I want to update item quantities so I can buy the right amount"
121
+
122
+ **Note:** This is the most common indicator that a story needs splitting. If you see multiple "When/Then" pairs, split along those boundaries.
123
+
124
+ ---
125
+
126
+ #### Pattern 5: Major Effort
127
+ **Ask:** Does this story require significant technical work that can be delivered incrementally?
128
+
129
+ **Example:**
130
+ - Original: "As a user, I want real-time collaboration on documents"
131
+ - Split:
132
+ 1. "As a user, I want to see who else is viewing the document (read-only presence)"
133
+ 2. "As a user, I want to see live cursor positions of other editors"
134
+ 3. "As a user, I want to see live edits from other users in real-time"
135
+
136
+ ---
137
+
138
+ #### Pattern 6: External Dependencies
139
+ **Ask:** Does this story depend on multiple external systems or APIs?
140
+
141
+ **Example:**
142
+ - Original: "As a user, I want to log in with Google, Facebook, or Twitter"
143
+ - Split:
144
+ 1. "As a user, I want to log in with Google OAuth"
145
+ 2. "As a user, I want to log in with Facebook OAuth"
146
+ 3. "As a user, I want to log in with Twitter OAuth"
147
+
148
+ ---
149
+
150
+ #### Pattern 7: DevOps Steps
151
+ **Ask:** Does this story require complex deployment, infrastructure, or operational work?
152
+
153
+ **Example:**
154
+ - Original: "As a user, I want to upload large files to cloud storage"
155
+ - Split:
156
+ 1. "As a user, I want to upload small files (<10MB) to cloud storage"
157
+ 2. "As a user, I want to upload large files (10MB-1GB) with progress tracking"
158
+ 3. "As a user, I want to resume interrupted uploads"
159
+
160
+ ---
161
+
162
+ #### Pattern 8: Tiny Acts of Discovery (TADs)
163
+ **Ask:** If none of the above apply, are there unknowns or assumptions that need unpacking?
164
+
165
+ **Example:**
166
+ - Original: "As a user, I want AI-powered recommendations" (too vague, too many unknowns)
167
+ - TADs:
168
+ 1. Prototype 3 recommendation algorithms and test with 10 users
169
+ 2. Define success criteria (click-through rate, user satisfaction)
170
+ 3. Build the simplest recommendation engine (collaborative filtering)
171
+ 4. Measure and iterate
172
+
173
+ **Note:** TADs aren't stories—they're experiments. Use them to de-risk and clarify before writing stories.
174
+
175
+ ---
176
+
177
+ ### Step 3: Write the Split Stories
178
+
179
+ For each split, write a complete user story using the format from `skills/user-story/SKILL.md`:
180
+
181
+ ```markdown
182
+ ### Split 1 using [Pattern Name]:
183
+
184
+ #### User Story [ID]:
185
+ - **Summary:** [Brief title]
186
+
187
+ **Use Case:**
188
+ - **As a** [persona]
189
+ - **I want to** [action]
190
+ - **so that** [outcome]
191
+
192
+ **Acceptance Criteria:**
193
+ - **Scenario:** [Description]
194
+ - **Given:** [Preconditions]
195
+ - **When:** [Action]
196
+ - **Then:** [Outcome]
197
+ ```
198
+
199
+ ---
200
+
201
+ ### Step 4: Validate the Splits
202
+
203
+ Ask these questions:
204
+ 1. **Does each split deliver user value?** (Not just "front-end done")
205
+ 2. **Can each split be developed independently?** (No hard dependencies)
206
+ 3. **Can each split be tested independently?** (Clear acceptance criteria)
207
+ 4. **Is each split small enough for a sprint?** (1-5 days of work)
208
+ 5. **Do the splits, when combined, equal the original?** (Nothing lost in translation)
209
+
210
+ If any answer is "no," revise.
211
+
212
+ ---
213
+
214
+ ## Examples
215
+
216
+ See `examples/sample.md` for full splitting examples.
217
+
218
+ Mini example excerpt:
219
+
220
+ ```markdown
221
+ ### Original Story:
222
+ As a team admin, I want to manage team members so that I can control access.
223
+
224
+ ### Suggested Splits (Acceptance Criteria Complexity):
225
+ 1. Invite new team members
226
+ 2. Remove team members
227
+ 3. Update team member roles
228
+ ```
229
+
230
+ ---
231
+
232
+ ## Common Pitfalls
233
+
234
+ ### Pitfall 1: Horizontal Slicing (Technical Layers)
235
+ **Symptom:** "Story 1: Build the API. Story 2: Build the UI."
236
+
237
+ **Consequence:** Neither story delivers user value independently.
238
+
239
+ **Fix:** Split vertically—each story should include front-end + back-end work to deliver a complete user-facing capability.
240
+
241
+ ---
242
+
243
+ ### Pitfall 2: Over-Splitting
244
+ **Symptom:** "Story 1: Add button. Story 2: Wire button to API. Story 3: Display result."
245
+
246
+ **Consequence:** Creates unnecessary overhead and dependencies.
247
+
248
+ **Fix:** Only split when the story is too large. A 2-day story doesn't need splitting.
249
+
250
+ ---
251
+
252
+ ### Pitfall 3: Meaningless Splits
253
+ **Symptom:** "Story 1: First half of feature. Story 2: Second half of feature."
254
+
255
+ **Consequence:** Arbitrary splits that don't map to user value or workflow.
256
+
257
+ **Fix:** Use one of the 8 splitting patterns—each split should have a clear rationale.
258
+
259
+ ---
260
+
261
+ ### Pitfall 4: Creating Hard Dependencies
262
+ **Symptom:** "Story 2 can't start until Story 1 is 100% done, tested, and deployed."
263
+
264
+ **Consequence:** No parallelization, slows delivery.
265
+
266
+ **Fix:** Split in a way that allows independent development. If dependencies are unavoidable, prioritize Story 1.
267
+
268
+ ---
269
+
270
+ ### Pitfall 5: Ignoring the "So That"
271
+ **Symptom:** Split stories have the same "so that" statement.
272
+
273
+ **Consequence:** You've split the action but not the outcome—likely a task decomposition, not a story split.
274
+
275
+ **Fix:** Ensure each split has a distinct user outcome. If not, reconsider the split pattern.
276
+
277
+ ---
278
+
279
+ ## References
280
+
281
+ ### Related Skills
282
+ - `skills/user-story/SKILL.md` — Format for writing the split stories
283
+ - `skills/epic-hypothesis/SKILL.md` — Epics often need splitting before becoming stories
284
+ - `skills/jobs-to-be-done/SKILL.md` — Helps identify meaningful splits along user jobs
285
+
286
+ ### External Frameworks
287
+ - Richard Lawrence & Peter Green, *The Humanizing Work Guide to Splitting User Stories* — Origin of the 8 splitting patterns
288
+ - Bill Wake, *INVEST in Good Stories* (2003) — Criteria for well-formed stories (Independent, Negotiable, Valuable, Estimable, Small, Testable)
289
+ - Mike Cohn, *User Stories Applied* (2004) — Story decomposition techniques
290
+
291
+ ### Dean's Work
292
+ - User Story Splitting Prompt Template (based on Humanizing Work framework)
293
+
294
+ ### Provenance
295
+ - Adapted from `prompts/user-story-splitting-prompt-template.md` in the `https://github.com/deanpeters/product-manager-prompts` repo.
296
+
297
+ ---
298
+
299
+ **Skill type:** Component
300
+ **Suggested filename:** `user-story-splitting.md`
301
+ **Suggested placement:** `/skills/components/`
302
+ **Dependencies:** References `skills/user-story/SKILL.md`, `skills/epic-hypothesis/SKILL.md`
303
+ **Applies to:** User stories, epics, and any work that's too large to complete in a single sprint
@@ -0,0 +1,147 @@
1
+ # User Story Splitting Examples
2
+
3
+ ## Example 1: Splitting by Workflow Steps
4
+
5
+ **Original Story:**
6
+ ```markdown
7
+ ### User Story 100: Complete Checkout Process
8
+
9
+ **Use Case:**
10
+ - **As a** shopper
11
+ - **I want to** complete checkout, including entering shipping, payment, and confirming my order
12
+ - **so that** I can receive my items
13
+
14
+ **Acceptance Criteria:**
15
+ - **Given:** I have items in my cart
16
+ - **When:** I enter shipping address, payment info, and confirm
17
+ - **Then:** My order is placed
18
+ ```
19
+
20
+ **Why it needs splitting:** Multiple workflow steps bundled together.
21
+
22
+ **Split using Workflow Steps:**
23
+
24
+ ```markdown
25
+ ### Split 1: Enter Shipping Address
26
+
27
+ **User Story 101:**
28
+ - **Summary:** Enter shipping address during checkout
29
+
30
+ **Use Case:**
31
+ - **As a** shopper
32
+ - **I want to** enter my shipping address
33
+ - **so that** my items are delivered to the right location
34
+
35
+ **Acceptance Criteria:**
36
+ - **Given:** I have items in my cart
37
+ - **When:** I enter a valid shipping address and click "Continue"
38
+ - **Then:** I proceed to payment entry
39
+
40
+ ---
41
+
42
+ ### Split 2: Enter Payment Information
43
+
44
+ **User Story 102:**
45
+ - **Summary:** Enter payment info during checkout
46
+
47
+ **Use Case:**
48
+ - **As a** shopper
49
+ - **I want to** enter my credit card information
50
+ - **so that** I can pay for my order
51
+
52
+ **Acceptance Criteria:**
53
+ - **Given:** I have entered a shipping address
54
+ - **When:** I enter valid payment info and click "Continue"
55
+ - **Then:** I proceed to order confirmation
56
+
57
+ ---
58
+
59
+ ### Split 3: Confirm Order
60
+
61
+ **User Story 103:**
62
+ - **Summary:** Review and confirm order
63
+
64
+ **Use Case:**
65
+ - **As a** shopper
66
+ - **I want to** review my order details and confirm
67
+ - **so that** my order is placed
68
+
69
+ **Acceptance Criteria:**
70
+ - **Given:** I have entered shipping and payment info
71
+ - **When:** I review the order summary and click "Place Order"
72
+ - **Then:** My order is submitted and I receive a confirmation
73
+ ```
74
+
75
+ ---
76
+
77
+ ## Example 2: Splitting by Acceptance Criteria Complexity
78
+
79
+ **Original Story:**
80
+ ```markdown
81
+ ### User Story 200: Manage Team Members
82
+
83
+ **Use Case:**
84
+ - **As a** team admin
85
+ - **I want to** manage team members
86
+ - **so that** I can control access
87
+
88
+ **Acceptance Criteria:**
89
+ - **When:** I add a member, Then they receive an invite
90
+ - **When:** I remove a member, Then they lose access
91
+ - **When:** I change a member's role, Then their permissions update
92
+ ```
93
+
94
+ **Why it needs splitting:** Multiple "When/Then" statements.
95
+
96
+ **Split using Acceptance Criteria Complexity:**
97
+
98
+ ```markdown
99
+ ### Split 1: Add Team Members
100
+
101
+ **User Story 201:**
102
+ - **Summary:** Invite new team members
103
+
104
+ **Use Case:**
105
+ - **As a** team admin
106
+ - **I want to** invite new members to my team
107
+ - **so that** they can access shared resources
108
+
109
+ **Acceptance Criteria:**
110
+ - **Given:** I have admin permissions
111
+ - **When:** I enter an email and click "Invite"
112
+ - **Then:** The recipient receives an email invitation
113
+
114
+ ---
115
+
116
+ ### Split 2: Remove Team Members
117
+
118
+ **User Story 202:**
119
+ - **Summary:** Remove team members
120
+
121
+ **Use Case:**
122
+ - **As a** team admin
123
+ - **I want to** remove members from my team
124
+ - **so that** they no longer have access
125
+
126
+ **Acceptance Criteria:**
127
+ - **Given:** I have admin permissions
128
+ - **When:** I click "Remove" next to a member's name
129
+ - **Then:** That member loses access immediately
130
+
131
+ ---
132
+
133
+ ### Split 3: Change Member Roles
134
+
135
+ **User Story 203:**
136
+ - **Summary:** Update team member roles
137
+
138
+ **Use Case:**
139
+ - **As a** team admin
140
+ - **I want to** change a member's role
141
+ - **so that** their permissions match their responsibilities
142
+
143
+ **Acceptance Criteria:**
144
+ - **Given:** I have admin permissions
145
+ - **When:** I select a new role for a member and save
146
+ - **Then:** Their permissions update to match the new role
147
+ ```
@@ -0,0 +1,37 @@
1
+ # User Story Splitting Template
2
+
3
+ Use this template to split a large story into smaller, independently deliverable user stories.
4
+
5
+ ## Provenance
6
+ Adapted from `prompts/user-story-splitting-prompt-template.md` in the `https://github.com/deanpeters/product-manager-prompts` repo.
7
+
8
+ ## Splitting Logic (Use in Order)
9
+ 1. Workflow steps
10
+ 2. Business rule variations
11
+ 3. Data variations
12
+ 4. Acceptance criteria complexity (multiple When/Then pairs)
13
+ 5. Major effort milestones
14
+ 6. External dependencies
15
+ 7. DevOps steps
16
+ 8. Tiny Acts of Discovery (TADs) if none apply
17
+
18
+ ## Output Template
19
+ ```markdown
20
+ ### Original Story
21
+ [Story written using `skills/user-story/template.md`]
22
+
23
+ ### Suggested Splits
24
+ 1. Split 1 using **[rule name]**:
25
+ - [Left split story, using `skills/user-story/template.md`]
26
+ - [Right split story, using `skills/user-story/template.md`]
27
+ 2. Split 2 using **[rule name]**:
28
+ - [Left split story]
29
+ - [Right split story]
30
+ 3. Split 3 using **[rule name]**:
31
+ - [Left split story]
32
+ - [Right split story]
33
+ ```
34
+
35
+ ## Notes
36
+ - Each split should deliver user value on its own.
37
+ - If no rule applies, propose TADs to de-risk and clarify before writing stories.