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,665 @@
1
+ ---
2
+ name: epic-breakdown-advisor
3
+ description: Break down epics into user stories with Humanizing Work split patterns. Use when a backlog item is too large to estimate, sequence, or deliver safely.
4
+ intent: >-
5
+ Guide product managers through breaking down epics into user stories using Richard Lawrence's complete Humanizing Work methodology—a systematic, flowchart-driven approach that applies 9 splitting patterns sequentially. Use this to identify which pattern applies, split while preserving user value, and evaluate splits based on what they reveal about low-value work you can eliminate. This ensures vertical slicing (end-to-end value) rather than horizontal slicing (technical layers).
6
+ type: interactive
7
+ best_for:
8
+ - "Splitting epics into smaller vertical slices"
9
+ - "Choosing the right story split pattern for a large backlog item"
10
+ - "Turning vague feature blobs into sprint-sized stories"
11
+ scenarios:
12
+ - "Break this onboarding epic into smaller user stories"
13
+ - "Help me split a large reporting feature before sprint planning"
14
+ - "Which story-splitting pattern should I use for this admin workflow epic?"
15
+ ---
16
+
17
+
18
+ ## Purpose
19
+ Guide product managers through breaking down epics into user stories using Richard Lawrence's complete Humanizing Work methodology—a systematic, flowchart-driven approach that applies 9 splitting patterns sequentially. Use this to identify which pattern applies, split while preserving user value, and evaluate splits based on what they reveal about low-value work you can eliminate. This ensures vertical slicing (end-to-end value) rather than horizontal slicing (technical layers).
20
+
21
+ This is not arbitrary slicing—it's a proven, methodical process that starts with validation, walks through patterns in order, and evaluates results strategically.
22
+
23
+ ## Key Concepts
24
+
25
+ ### Core Principles: Vertical Slices Preserve Value
26
+ A user story is "a description of a change in system behavior from the perspective of a user." Splitting must maintain **vertical slices**—work that touches multiple architectural layers and delivers observable user value—not horizontal slices addressing single components (e.g., "front-end story" + "back-end story").
27
+
28
+ ### The Three-Step Process
29
+ 1. **Pre-Split Validation:** Check if story satisfies INVEST criteria (except "Small")
30
+ 2. **Apply Splitting Patterns:** Work through 9 patterns sequentially until one fits
31
+ 3. **Evaluate Splits:** Choose the split that reveals low-value work or produces equal-sized stories
32
+
33
+ ### The 9 Splitting Patterns (In Order)
34
+ 1. **Workflow Steps** — Thin end-to-end slices, not step-by-step
35
+ 2. **Operations (CRUD)** — Create, Read, Update, Delete as separate stories
36
+ 3. **Business Rule Variations** — Different rules = different stories
37
+ 4. **Data Variations** — Different data types/structures
38
+ 5. **Data Entry Methods** — Simple UI first, fancy UI later
39
+ 6. **Major Effort** — "Implement one + add remaining"
40
+ 7. **Simple/Complex** — Core simplest version first, variations later
41
+ 8. **Defer Performance** — "Make it work" before "make it fast"
42
+ 9. **Break Out a Spike** — Time-box investigation when uncertainty blocks splitting
43
+
44
+ ### Meta-Pattern (Applies Across All Patterns)
45
+ 1. Identify the core complexity
46
+ 2. List all variations
47
+ 3. Reduce variations to **one complete slice**
48
+ 4. Make other variations separate stories
49
+
50
+ ### Why This Works
51
+ - **Prevents arbitrary splitting:** Methodical checklist prevents guessing
52
+ - **Preserves user value:** Every story delivers observable value
53
+ - **Reveals waste:** Good splits expose low-value work you can deprioritize
54
+ - **Repeatable:** Apply to any epic consistently
55
+
56
+ ---
57
+
58
+ ### Facilitation Source of Truth
59
+
60
+ Use [`workshop-facilitation`](../workshop-facilitation/SKILL.md) as the default interaction protocol for this skill.
61
+
62
+ It defines:
63
+ - session heads-up + entry mode (Guided, Context dump, Best guess)
64
+ - one-question turns with plain-language prompts
65
+ - progress labels (for example, Context Qx/8 and Scoring Qx/5)
66
+ - interruption handling and pause/resume behavior
67
+ - numbered recommendations at decision points
68
+ - quick-select numbered response options for regular questions (include `Other (specify)` when useful)
69
+
70
+ This file defines the domain-specific assessment content. If there is a conflict, follow this file's domain logic.
71
+
72
+ ## Application
73
+
74
+ ### Step 0: Provide Epic Context
75
+
76
+ **Agent asks:**
77
+
78
+ Please share your epic:
79
+
80
+ - Epic title/ID
81
+ - Description or hypothesis
82
+ - Acceptance criteria (especially multiple "When/Then" pairs)
83
+ - Target persona
84
+ - Rough estimate
85
+
86
+ **You can paste from Jira, Linear, or describe briefly.**
87
+
88
+ ---
89
+
90
+ ### Step 1: Pre-Split Validation (INVEST Check)
91
+
92
+ **Before splitting, verify your story satisfies INVEST criteria (except "Small"):**
93
+
94
+ **Agent asks questions sequentially:**
95
+
96
+ **1. Independent?**
97
+ "Can this story be prioritized and developed without hard technical dependencies on other stories?"
98
+
99
+ **Options:**
100
+ - Yes — No blocking dependencies
101
+ - No — Requires other work first (flag this)
102
+
103
+ ---
104
+
105
+ **2. Negotiable?**
106
+ "Does this story leave room for the team to discover implementation details collaboratively, rather than prescribing exact solutions?"
107
+
108
+ **Options:**
109
+ - Yes — It's a conversation starter, not a spec
110
+ - No — It's too prescriptive (may need reframing)
111
+
112
+ ---
113
+
114
+ **3. Valuable?**
115
+ "Does this story deliver observable value to a user? (If not, combine it with related work rather than splitting.)"
116
+
117
+ **Options:**
118
+ - Yes — Users see/experience something different
119
+ - No — It's a technical task (not a user story—don't split, reframe)
120
+
121
+ **⚠️ Critical Check:** If story fails "Valuable," STOP. Don't split. Instead, combine with other work to create a meaningful increment.
122
+
123
+ ---
124
+
125
+ **4. Estimable?**
126
+ "Can your team size this story relatively (even if roughly)?"
127
+
128
+ **Options:**
129
+ - Yes — Team can estimate days/points
130
+ - No — Too much uncertainty (may need spike first)
131
+
132
+ ---
133
+
134
+ **5. Testable?**
135
+ "Does this story have concrete acceptance criteria that QA can verify?"
136
+
137
+ **Options:**
138
+ - Yes — Clear pass/fail conditions
139
+ - No — Needs clearer acceptance criteria (refine before splitting)
140
+
141
+ ---
142
+
143
+ **If story passes all checks → Proceed to Step 2 (Splitting Patterns)**
144
+ **If story fails any check → Fix the issue before splitting**
145
+
146
+ ---
147
+
148
+ ### Step 2: Apply Splitting Patterns Sequentially
149
+
150
+ Work through patterns in order. For each pattern, ask "Does this apply?"
151
+
152
+ ---
153
+
154
+ ### Pattern 1: Workflow Steps
155
+
156
+ **Key insight:** Split into **thin end-to-end slices**, not step-by-step. Start with a simple case covering the **full workflow**, then add intermediate steps as separate stories.
157
+
158
+ **Agent asks:**
159
+ "Does your epic involve a multi-step workflow where you could deliver a simple case first, then add intermediate steps later?"
160
+
161
+ **Example:**
162
+ - **Original:** "Publish content (requires editorial review, legal approval, staging)"
163
+ - **❌ Wrong split (step-by-step):** Story 1 = Editorial review, Story 2 = Legal approval, Story 3 = Publish
164
+ - **✅ Right split (thin end-to-end):**
165
+ - Story 1: Publish content (simple path: author uploads, content goes live immediately—no reviews)
166
+ - Story 2: Add editorial review step (now content waits for editor approval before going live)
167
+ - Story 3: Add legal approval step (content waits for legal + editorial before going live)
168
+
169
+ **Each story delivers full workflow**, just with increasing sophistication.
170
+
171
+ **Options:**
172
+ 1. **Yes, multi-step workflow** → "Describe the workflow steps"
173
+ 2. **No, single step** → Continue to Pattern 2
174
+
175
+ **If YES:** Agent generates thin end-to-end slice splits.
176
+
177
+ ---
178
+
179
+ ### Pattern 2: Operations (CRUD)
180
+
181
+ **Key insight:** The word "manage" signals multiple operations. Split into Create, Read, Update, Delete.
182
+
183
+ **Agent asks:**
184
+ "Does your epic use words like 'manage,' 'handle,' or 'maintain'? If so, it likely bundles multiple operations (CRUD)."
185
+
186
+ **Example:**
187
+ - **Original:** "Manage user accounts"
188
+ - **Split:**
189
+ - Story 1: Create user account
190
+ - Story 2: View user account details
191
+ - Story 3: Edit user account info
192
+ - Story 4: Delete user account
193
+
194
+ **Options:**
195
+ 1. **Yes, contains multiple operations** → "List the operations (Create/Read/Update/Delete/etc.)"
196
+ 2. **No, single operation** → Continue to Pattern 3
197
+
198
+ **If YES:** Agent generates one story per operation.
199
+
200
+ ---
201
+
202
+ ### Pattern 3: Business Rule Variations
203
+
204
+ **Key insight:** When identical functionality operates under different rules, each rule becomes its own story.
205
+
206
+ **Agent asks:**
207
+ "Does your epic have different business rules for different scenarios (user types, regions, tiers, conditions)?"
208
+
209
+ **Example:**
210
+ - **Original:** "Flight search with flexible dates (date range, specific weekends, date offsets)"
211
+ - **Split:**
212
+ - Story 1: Search by date range (+/- N days)
213
+ - Story 2: Search by specific weekends only
214
+ - Story 3: Search by date offsets (N days before/after)
215
+
216
+ **Options:**
217
+ 1. **Yes, different rules** → "Describe the rule variations"
218
+ 2. **No, same rules for all** → Continue to Pattern 4
219
+
220
+ **If YES:** Agent generates one story per rule variation.
221
+
222
+ ---
223
+
224
+ ### Pattern 4: Data Variations
225
+
226
+ **Key insight:** Complexity from handling different data types or structures. Add variations **just-in-time** as needed.
227
+
228
+ **Agent asks:**
229
+ "Does your epic handle different data types, formats, or structures (e.g., file types, geographic levels, user attributes)?"
230
+
231
+ **Example:**
232
+ - **Original:** "Geographic search (counties, cities/towns/neighborhoods, custom provider areas)"
233
+ - **Split:**
234
+ - Story 1: Search by county
235
+ - Story 2: Add city/town/neighborhood search
236
+ - Story 3: Add custom provider area search
237
+
238
+ **Options:**
239
+ 1. **Yes, different data types** → "List the data variations"
240
+ 2. **No, single data type** → Continue to Pattern 5
241
+
242
+ **If YES:** Agent generates one story per data variation (deliver simplest first).
243
+
244
+ ---
245
+
246
+ ### Pattern 5: Data Entry Methods
247
+
248
+ **Key insight:** UI complexity independent of core functionality. Build simplest interface first, then add sophisticated UI as follow-ups.
249
+
250
+ **Agent asks:**
251
+ "Does your epic include fancy UI elements (date pickers, autocomplete, drag-and-drop) that aren't essential to core functionality?"
252
+
253
+ **Example:**
254
+ - **Original:** "Search with calendar date picker"
255
+ - **Split:**
256
+ - Story 1: Search by date (basic text input: "YYYY-MM-DD")
257
+ - Story 2: Add visual calendar picker UI
258
+
259
+ **Options:**
260
+ 1. **Yes, fancy UI elements** → "Describe the UI enhancements"
261
+ 2. **No, basic UI only** → Continue to Pattern 6
262
+
263
+ **If YES:** Agent generates Story 1 = basic input, Story 2+ = UI enhancements.
264
+
265
+ ---
266
+
267
+ ### Pattern 6: Major Effort
268
+
269
+ **Key insight:** When **initial implementation** carries most complexity, with additions being trivial. Frame as "implement one + add remaining."
270
+
271
+ **Agent asks:**
272
+ "Does your epic involve building infrastructure where the **first implementation** is hard, but adding more is easy?"
273
+
274
+ **Example:**
275
+ - **Original:** "Accept credit card payments (Visa, Mastercard, Amex, Discover)"
276
+ - **Split:**
277
+ - Story 1: Accept Visa payments (build full payment infrastructure)
278
+ - Story 2: Add Mastercard, Amex, Discover support (trivial additions)
279
+
280
+ **⚠️ Note:** First story does the heavy lift (payment gateway, security, compliance). Subsequent stories are small additions.
281
+
282
+ **Options:**
283
+ 1. **Yes, major effort pattern** → "What's the first implementation + what are the additions?"
284
+ 2. **No, no infrastructure work** → Continue to Pattern 7
285
+
286
+ **If YES:** Agent generates Story 1 = build infrastructure, Story 2 = add remaining variants.
287
+
288
+ ---
289
+
290
+ ### Pattern 7: Simple/Complex
291
+
292
+ **Key insight:** Identify story's core by asking "What's the simplest version?" Extract variations into separate stories.
293
+
294
+ **Agent asks:**
295
+ "What's the **simplest version** of this epic that still delivers value? Can you strip away complexity and add it back later?"
296
+
297
+ **Example:**
298
+ - **Original:** "Flight search (with max stops, nearby airports, flexible dates)"
299
+ - **Split:**
300
+ - Story 1: Basic flight search (origin, destination, date)
301
+ - Story 2: Add max stops filter
302
+ - Story 3: Add nearby airports option
303
+ - Story 4: Add flexible dates option
304
+
305
+ **Options:**
306
+ 1. **Yes, can identify simplest core** → "Describe the simplest version + what variations to defer"
307
+ 2. **No, it's already simple** → Continue to Pattern 8
308
+
309
+ **If YES:** Agent generates Story 1 = simplest core, Story 2+ = variations.
310
+
311
+ ---
312
+
313
+ ### Pattern 8: Defer Performance
314
+
315
+ **Key insight:** Split "make it work" from "make it fast." Non-functional requirements (performance, security, scalability) can follow functional delivery.
316
+
317
+ **Agent asks:**
318
+ "Can you deliver functional value first, then optimize performance/security/scalability later?"
319
+
320
+ **Example:**
321
+ - **Original:** "Real-time search with <100ms response time"
322
+ - **Split:**
323
+ - Story 1: Search works (functional, no performance guarantee)
324
+ - Story 2: Optimize search to <100ms (add caching, indexing)
325
+
326
+ **Options:**
327
+ 1. **Yes, can defer optimization** → "What's the functional version + what's the optimization?"
328
+ 2. **No, performance is essential** → Continue to Pattern 9
329
+
330
+ **If YES:** Agent generates Story 1 = functional, Story 2 = optimize.
331
+
332
+ ---
333
+
334
+ ### Pattern 9: Break Out a Spike
335
+
336
+ **Key insight:** Last resort when **uncertainty prevents splitting**. Time-box investigation to answer specific questions, then split implementation story with better understanding.
337
+
338
+ **Agent says:**
339
+ "None of patterns 1-8 apply, which suggests **high uncertainty**. Before splitting, run a **spike** to reduce uncertainty."
340
+
341
+ **A spike is a time-boxed investigation (not a story), answering questions like:**
342
+ - Is this technically feasible?
343
+ - Which approach performs best?
344
+ - What does the API actually return?
345
+
346
+ **Agent asks:**
347
+ "What's the biggest unknown preventing you from splitting this epic?"
348
+
349
+ **Options:**
350
+ 1. **Technical feasibility** — "Can we build this with our stack?"
351
+ 2. **Approach uncertainty** — "Multiple ways to solve it, unclear which is best"
352
+ 3. **External dependency** — "Don't know what third-party API provides"
353
+
354
+ **Agent recommends:**
355
+ → "Run a 1-2 day spike to answer [question]. After the spike, come back and we'll split the epic with better understanding."
356
+
357
+ **⚠️ Spikes produce learning, not shippable code. After the spike, restart at Pattern 1.**
358
+
359
+ ---
360
+
361
+ ### Step 3: Evaluate Split Quality
362
+
363
+ **After splitting, evaluate using these criteria:**
364
+
365
+ **Agent asks:**
366
+
367
+ **1. Does this split reveal low-value work you can deprioritize or eliminate?**
368
+ - Good splits expose the 80/20 principle: most value concentrates in a small portion of functionality
369
+ - Example: After splitting "Flight search" into 4 stories, you realize "flexible dates" is rarely used → deprioritize or kill it
370
+
371
+ **2. Does this split produce more equally-sized stories?**
372
+ - Equal-sized stories give Product Owners greater prioritization flexibility
373
+ - Example: Instead of one 10-day epic, five 2-day stories allow reordering mid-sprint
374
+
375
+ **If split doesn't satisfy either criterion, try a different pattern.**
376
+
377
+ ---
378
+
379
+ ### Meta-Pattern Application
380
+
381
+ **Across all patterns, follow this sequence:**
382
+ 1. **Identify core complexity** — What makes this epic hard?
383
+ 2. **List variations** — What are all the different ways/cases/rules?
384
+ 3. **Reduce to one complete slice** — Pick the simplest variation that still delivers end-to-end value
385
+ 4. **Make other variations separate stories**
386
+
387
+ ---
388
+
389
+ ### Cynefin Domain Considerations
390
+
391
+ **Strategy shifts based on complexity domain:**
392
+
393
+ **Agent asks:**
394
+ "How much uncertainty surrounds this epic?"
395
+
396
+ **Options:**
397
+
398
+ 1. **Low uncertainty (Obvious/Complicated domain)** — "We know what to build; it's just engineering work"
399
+ → Find all stories, prioritize by value/risk
400
+
401
+ 2. **High uncertainty (Complex domain)** — "We're not sure what customers want or what will work"
402
+ → Identify 1-2 **learning stories**; avoid exhaustive enumeration (work itself teaches what matters)
403
+
404
+ 3. **Chaos** — "Everything is on fire; priorities shift daily"
405
+ → **Defer splitting** until stability emerges; focus on stabilization first
406
+
407
+ ---
408
+
409
+ ### Output: Generate Story Breakdown
410
+
411
+ ```markdown
412
+ # Epic Breakdown Plan
413
+
414
+ **Epic:** [Original epic]
415
+ **Pre-Split Validation:** ✅ Passes INVEST (except Small)
416
+ **Splitting Pattern Applied:** [Pattern name]
417
+ **Rationale:** [Why this pattern fits]
418
+
419
+ ---
420
+
421
+ ## Story Breakdown
422
+
423
+ ### Story 1: [Title] (Simplest Complete Slice)
424
+
425
+ **Summary:** [User-value-focused title]
426
+
427
+ **Use Case:**
428
+ - **As a** [persona]
429
+ - **I want to** [action]
430
+ - **so that** [outcome]
431
+
432
+ **Acceptance Criteria:**
433
+ - **Given:** [Preconditions]
434
+ - **When:** [Action]
435
+ - **Then:** [Outcome]
436
+
437
+ **Why This First:** [Delivers core value; simpler variations follow]
438
+ **Estimated Effort:** [Days/points]
439
+
440
+ ---
441
+
442
+ ### Story 2: [Title] (First Variation)
443
+
444
+ [Repeat...]
445
+
446
+ ---
447
+
448
+ ### Story 3: [Title] (Second Variation)
449
+
450
+ [Repeat...]
451
+
452
+ ---
453
+
454
+ ## Split Evaluation
455
+
456
+ ✅ **Does this split reveal low-value work?**
457
+ - [Analysis: Which stories could be deprioritized/eliminated?]
458
+
459
+ ✅ **Does this split produce equal-sized stories?**
460
+ - [Analysis: Are stories roughly equal in effort?]
461
+
462
+ ---
463
+
464
+ ## INVEST Validation (Each Story)
465
+
466
+ ✅ **Independent:** Stories can be developed in any order
467
+ ✅ **Negotiable:** Implementation details can be discovered collaboratively
468
+ ✅ **Valuable:** Each story delivers observable user value
469
+ ✅ **Estimable:** Team can size each story
470
+ ✅ **Small:** Each story fits in 1-5 days
471
+ ✅ **Testable:** Clear acceptance criteria for each
472
+
473
+ ---
474
+
475
+ ## Next Steps
476
+
477
+ 1. **Review with team:** Do PM, design, engineering agree?
478
+ 2. **Check for further splitting:** Are any stories still >5 days? If yes, **restart at Pattern 1** for that story.
479
+ 3. **Prioritize:** Which story delivers most value first?
480
+ 4. **Consider eliminating:** Did split reveal low-value stories? Kill or defer them.
481
+
482
+ ---
483
+
484
+ **If stories are still too large, re-apply patterns starting at Pattern 1.**
485
+ ```
486
+
487
+ ---
488
+
489
+ ## Examples
490
+
491
+ ### Example 1: Pattern 1 Applied (Workflow Steps - Thin End-to-End)
492
+
493
+ **Epic:** "Publish blog post (requires editorial review, legal approval, staging)"
494
+
495
+ **Pre-Split Validation:** ✅ Passes INVEST
496
+
497
+ **Pattern 1:** "Does this have workflow steps?" → YES ✅
498
+
499
+ **❌ Wrong Split (Step-by-Step):**
500
+ 1. Editorial review story
501
+ 2. Legal approval story
502
+ 3. Publish story
503
+ → Problem: Story 1 doesn't deliver value (users see nothing)
504
+
505
+ **✅ Right Split (Thin End-to-End):**
506
+ 1. **Publish post (simple path)** — Author uploads, post goes live immediately (no reviews)
507
+ 2. **Add editorial review** — Post now waits for editor approval before going live
508
+ 3. **Add legal approval** — Post waits for legal + editorial before going live
509
+
510
+ **Why this works:** Each story delivers **full workflow**, just with increasing sophistication.
511
+
512
+ ---
513
+
514
+ ### Example 2: Pattern 2 Applied (CRUD Operations)
515
+
516
+ **Epic:** "Manage user profiles"
517
+
518
+ **Pattern 2:** "Does this say 'manage'?" → YES ✅ (signals CRUD)
519
+
520
+ **Split:**
521
+ 1. Create user profile
522
+ 2. View user profile details
523
+ 3. Edit user profile info
524
+ 4. Delete user profile
525
+
526
+ **Split Evaluation:**
527
+ - ✅ **Reveals low-value work:** After analysis, "Delete profile" is rarely used → deprioritize
528
+ - ✅ **Equal-sized stories:** Each 1-2 days
529
+
530
+ ---
531
+
532
+ ### Example 3: Pattern 7 Applied (Simple/Complex)
533
+
534
+ **Epic:** "Flight search with max stops, nearby airports, flexible dates"
535
+
536
+ **Pattern 7:** "What's the simplest version?" → Basic search ✅
537
+
538
+ **Split:**
539
+ 1. Basic flight search (origin, destination, date) — **Core value**
540
+ 2. Add max stops filter — **Enhancement**
541
+ 3. Add nearby airports option — **Enhancement**
542
+ 4. Add flexible dates option — **Enhancement**
543
+
544
+ **Split Evaluation:**
545
+ - ✅ **Reveals low-value work:** User research shows "flexible dates" rarely used → kill or defer
546
+ - ✅ **Equal-sized stories:** Story 1 = 3 days, others = 1 day each
547
+
548
+ ---
549
+
550
+ ### Example 4: Iterative Splitting (Multiple Patterns)
551
+
552
+ **Epic:** "Checkout flow with discounts (member, VIP, first-time) and payment (Visa, Mastercard, Amex)"
553
+
554
+ **First Pass - Pattern 1 (Workflow):** YES ✅
555
+ - Story 1: Add items to cart
556
+ - Story 2: Apply discount
557
+ - Story 3: Complete payment
558
+
559
+ **Check Story 2 ("Apply discount"):** Still 4 days → Too large, re-split
560
+
561
+ **Second Pass on Story 2 - Pattern 3 (Business Rules):** YES ✅
562
+ - Story 2a: Apply member discount (10%)
563
+ - Story 2b: Apply VIP discount (20%)
564
+ - Story 2c: Apply first-time discount (5%)
565
+
566
+ **Check Story 3 ("Complete payment"):** Still 5 days → Too large, re-split
567
+
568
+ **Third Pass on Story 3 - Pattern 6 (Major Effort):** YES ✅
569
+ - Story 3a: Accept Visa payments (build payment infrastructure)
570
+ - Story 3b: Add Mastercard, Amex support
571
+
572
+ **Final Breakdown:** 6 stories, all 1-2 days each
573
+
574
+ ---
575
+
576
+ ## Common Pitfalls
577
+
578
+ ### Pitfall 1: Skipping Pre-Split Validation
579
+ **Symptom:** Jump straight to splitting without checking INVEST
580
+
581
+ **Consequence:** Split a story that shouldn't be split (e.g., not Valuable = technical task)
582
+
583
+ **Fix:** Always run Step 1 (INVEST check) before Step 2 (splitting patterns)
584
+
585
+ ---
586
+
587
+ ### Pitfall 2: Step-by-Step Workflow Splitting (Pattern 1 Done Wrong)
588
+ **Symptom:** Story 1 = "Editorial review," Story 2 = "Legal approval"
589
+
590
+ **Consequence:** Stories don't deliver end-to-end value
591
+
592
+ **Fix:** Each story should cover **full workflow** (thin end-to-end slice), just with increasing sophistication
593
+
594
+ ---
595
+
596
+ ### Pitfall 3: Horizontal Slicing (Technical Layers)
597
+ **Symptom:** "Story 1: Build API. Story 2: Build UI."
598
+
599
+ **Consequence:** Neither story delivers user value
600
+
601
+ **Fix:** Vertical slicing—each story includes front-end + back-end to deliver observable user behavior
602
+
603
+ ---
604
+
605
+ ### Pitfall 4: Forcing a Pattern That Doesn't Fit
606
+ **Symptom:** "We'll split by workflow even though there's no sequence"
607
+
608
+ **Consequence:** Arbitrary, meaningless split
609
+
610
+ **Fix:** If pattern doesn't apply, say NO and continue to next pattern
611
+
612
+ ---
613
+
614
+ ### Pitfall 5: Not Re-Splitting Large Stories
615
+ **Symptom:** Split epic into 3 stories, but each is still 5+ days
616
+
617
+ **Consequence:** Stories too large for sprint
618
+
619
+ **Fix:** **Restart at Pattern 1** for each large story until all are 1-5 days
620
+
621
+ ---
622
+
623
+ ### Pitfall 6: Ignoring Split Evaluation (Step 3)
624
+ **Symptom:** Split but don't evaluate if it reveals low-value work
625
+
626
+ **Consequence:** Miss opportunity to eliminate waste
627
+
628
+ **Fix:** After splitting, ask: "Does this reveal work we can kill or defer?"
629
+
630
+ ---
631
+
632
+ ## Practice & Skill Development
633
+
634
+ **Humanizing Work recommendation:** Teams reach fluency in **2.5-3 hours** across multiple practice sessions.
635
+
636
+ **Practice approach:**
637
+ 1. **Analyze recently completed features** (hindsight makes patterns obvious)
638
+ 2. **Walk completed work through the flowchart** — Which pattern would have applied?
639
+ 3. **Find multiple split approaches** for each feature
640
+ 4. **Build shared vocabulary** of domain-specific pattern examples
641
+
642
+ **Don't skip practice work.** Skill develops through analyzing past deliverables, not just refining future work.
643
+
644
+ ---
645
+
646
+ ## References
647
+
648
+ ### Related Skills
649
+ - `user-story-splitting.md` — The 9 patterns in detail
650
+ - `user-story.md` — Format for writing stories
651
+ - `epic-hypothesis.md` — Original epic format
652
+
653
+ ### External Frameworks
654
+ - Richard Lawrence & Peter Green, *The Humanizing Work Guide to Splitting User Stories* — Complete methodology
655
+ - Bill Wake, *INVEST in Good Stories* (2003) — Quality criteria
656
+
657
+ ### Sources
658
+ - https://www.humanizingwork.com/the-humanizing-work-guide-to-splitting-user-stories/
659
+
660
+ ---
661
+
662
+ **Skill type:** Interactive
663
+ **Suggested filename:** `epic-breakdown-advisor.md`
664
+ **Suggested placement:** `/skills/interactive/`
665
+ **Dependencies:** Uses `user-story-splitting.md`, `user-story.md`, `epic-hypothesis.md`