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,277 @@
1
+ ---
2
+ name: epic-hypothesis
3
+ description: Frame an epic as a testable hypothesis with target user, expected outcome, and validation method. Use when defining a major initiative before roadmap, discovery, or delivery planning.
4
+ intent: >-
5
+ Frame epics as testable hypotheses using an if/then structure that articulates the action or solution, the target beneficiary, the expected outcome, and how you'll validate success. Use this to manage uncertainty in product development by making assumptions explicit, defining lightweight experiments ("tiny acts of discovery"), and establishing measurable success criteria before committing to full build-out.
6
+ type: component
7
+ ---
8
+
9
+
10
+ ## Purpose
11
+ Frame epics as testable hypotheses using an if/then structure that articulates the action or solution, the target beneficiary, the expected outcome, and how you'll validate success. Use this to manage uncertainty in product development by making assumptions explicit, defining lightweight experiments ("tiny acts of discovery"), and establishing measurable success criteria before committing to full build-out.
12
+
13
+ This is not a requirements spec—it's a hypothesis you're testing, not a feature you're committed to shipping.
14
+
15
+ ## Key Concepts
16
+
17
+ ### The Epic Hypothesis Framework
18
+ Inspired by Tim Herbig's Lean UX hypothesis format, the structure is:
19
+
20
+ **If/Then Hypothesis:**
21
+ - **If we** [action or solution on behalf of target persona]
22
+ - **for** [target persona]
23
+ - **Then we will** [attain or achieve a desirable outcome or job-to-be-done]
24
+
25
+ **Tiny Acts of Discovery Experiments:**
26
+ - **We will test our assumption by:**
27
+ - [Experiment 1]
28
+ - [Experiment 2]
29
+ - [Add more as necessary]
30
+
31
+ **Validation Measures:**
32
+ - **We know our hypothesis is valid if within** [timeframe]
33
+ - **we observe:**
34
+ - [Quantitative measurable outcome]
35
+ - [Qualitative measurable outcome]
36
+ - [Add more as necessary]
37
+
38
+ ### Why This Structure Works
39
+ - **Hypothesis-driven:** Forces you to state what you believe (and could be wrong about)
40
+ - **Outcome-focused:** "Then we will" emphasizes user benefit, not feature output
41
+ - **Experiment-first:** Encourages lightweight validation before full build
42
+ - **Falsifiable:** Clear success criteria make it possible to kill bad ideas early
43
+ - **Risk management:** Treats epics as bets, not commitments
44
+
45
+ ### Anti-Patterns (What This Is NOT)
46
+ - **Not a feature spec:** "Build a dashboard with 5 charts" is a feature, not a hypothesis
47
+ - **Not a guaranteed commitment:** Hypotheses can (and should) be invalidated
48
+ - **Not output-focused:** "Ship feature X by Q2" misses the point—did it achieve the outcome?
49
+ - **Not experiment-free:** If you skip experiments and go straight to build, you're not testing a hypothesis
50
+
51
+ ### When to Use This
52
+ - Early-stage feature exploration (before committing to full roadmap)
53
+ - Validating product-market fit for new capabilities
54
+ - Prioritizing backlog (epics with validated hypotheses get higher priority)
55
+ - Managing stakeholder expectations (frame work as experiments, not promises)
56
+
57
+ ### When NOT to Use This
58
+ - For well-validated features (if you've already proven demand, skip straight to user stories)
59
+ - For trivial features (don't over-engineer small tweaks)
60
+ - When experiments aren't feasible (rare, but sometimes you must commit before testing)
61
+
62
+ ---
63
+
64
+ ## Application
65
+
66
+ Use `template.md` for the full fill-in structure.
67
+
68
+ ### Step 1: Gather Context
69
+ Before drafting an epic hypothesis, ensure you have:
70
+ - **Problem understanding:** What user problem does this address? (reference `skills/problem-statement/SKILL.md`)
71
+ - **Target persona:** Who benefits? (reference `skills/proto-persona/SKILL.md`)
72
+ - **Jobs-to-be-Done:** What outcome are they trying to achieve? (reference `skills/jobs-to-be-done/SKILL.md`)
73
+ - **Current alternatives:** What do users do today? (competitors, workarounds, doing nothing)
74
+
75
+ **If missing context:** Run discovery interviews or problem validation work first.
76
+
77
+ ---
78
+
79
+ ### Step 2: Draft the If/Then Hypothesis
80
+
81
+ Fill in the template:
82
+
83
+ ```markdown
84
+ ### If/Then Hypothesis
85
+
86
+ **If we** [action or solution on behalf of the target persona]
87
+ **for** [target persona]
88
+ **Then we will** [attain or achieve a desirable outcome or job-to-be-done for the persona]
89
+ ```
90
+
91
+ **Quality checks:**
92
+ - **"If we" is specific:** Not "improve the product" but "add one-click Slack notifications when tasks are assigned"
93
+ - **"For" is a clear persona:** Not "users" but "remote project managers juggling 3+ distributed teams" (reference `skills/proto-persona/SKILL.md`)
94
+ - **"Then we will" is an outcome:** Not "users will have notifications" but "users will respond to task assignments 50% faster"
95
+
96
+ **Examples:**
97
+ - ✅ "If we add one-click Google Calendar integration for trial users, then we will increase activation rates by 20% within 30 days"
98
+ - ✅ "If we provide bulk delete functionality for power users managing 1000+ items, then we will reduce time spent on cleanup tasks by 70%"
99
+ - ❌ "If we build a dashboard, then users will use it" (vague, not measurable)
100
+
101
+ ---
102
+
103
+ ### Step 3: Design Tiny Acts of Discovery Experiments
104
+
105
+ Before building the full epic, define lightweight experiments to test the hypothesis:
106
+
107
+ ```markdown
108
+ ### Tiny Acts of Discovery Experiments
109
+
110
+ **We will test our assumption by:**
111
+ - [Experiment 1: low-cost, fast test]
112
+ - [Experiment 2: another low-cost, fast test]
113
+ - [Add more as necessary]
114
+ ```
115
+
116
+ **Experiment types:**
117
+ - **Prototype + user testing:** Fake the feature with a clickable prototype, test with 5-10 users
118
+ - **Concierge test:** Manually perform the feature for a few users, see if they value it
119
+ - **Landing page test:** Describe the feature, measure sign-ups or interest
120
+ - **Wizard of Oz test:** Present the feature as if it's automated, but do it manually behind the scenes
121
+ - **A/B test (if feasible):** Test a lightweight version vs. control
122
+
123
+ **Quality checks:**
124
+ - **Fast:** Experiments should take days/weeks, not months
125
+ - **Cheap:** Avoid full engineering builds—use prototypes, manual processes, or existing tools
126
+ - **Falsifiable:** Design experiments that could prove you *wrong*
127
+
128
+ **Examples:**
129
+ - "Create a Figma prototype of the bulk delete flow and test with 5 power users"
130
+ - "Manually send Slack notifications to 10 trial users and track response time"
131
+ - "Add a 'Request this feature' button to the UI and measure click-through rate"
132
+
133
+ ---
134
+
135
+ ### Step 4: Define Validation Measures
136
+
137
+ Specify what success looks like and the timeframe for evaluation:
138
+
139
+ ```markdown
140
+ ### Validation Measures
141
+
142
+ **We know our hypothesis is valid if within** [timeframe in days or weeks]
143
+ **we observe:**
144
+ - [Desirable quantitative, measurable outcome]
145
+ - [Desirable qualitative, measurable outcome]
146
+ - [Add more as necessary]
147
+ ```
148
+
149
+ **Quality checks:**
150
+ - **Timeframe is realistic:** Not "within 6 months" (too slow) or "within 3 days" (too fast)
151
+ - **Quantitative measures are specific:** Not "more users" but "20% increase in activation rate"
152
+ - **Qualitative measures are observable:** Not "users like it" but "8 out of 10 users say they'd pay for this feature"
153
+
154
+ **Examples:**
155
+ - ✅ "Within 4 weeks, we observe:"
156
+ - "Activation rate increases from 40% to 50% (quantitative)"
157
+ - "75% of surveyed trial users say the integration saved them time (qualitative)"
158
+ - ❌ "Within 1 year, we observe:"
159
+ - "Revenue goes up" (too vague, too long)
160
+
161
+ ---
162
+
163
+ ### Step 5: Run Experiments and Evaluate
164
+
165
+ - **Execute experiments:** Build prototypes, run tests, gather data
166
+ - **Measure results:** Did you hit the validation measures?
167
+ - **Decision point:**
168
+ - ✅ **Hypothesis validated:** Proceed to building user stories and adding to roadmap
169
+ - ❌ **Hypothesis invalidated:** Kill the epic or pivot to a different hypothesis
170
+ - ⚠️ **Inconclusive:** Run additional experiments or tighten validation measures
171
+
172
+ ---
173
+
174
+ ### Step 6: Convert to User Stories (If Validated)
175
+
176
+ Once the hypothesis is validated, break the epic into user stories:
177
+
178
+ ```markdown
179
+ ### Epic: [Epic Name]
180
+
181
+ **Stories:**
182
+ 1. [User Story 1 - reference `skills/user-story/SKILL.md`]
183
+ 2. [User Story 2]
184
+ 3. [User Story 3]
185
+ ```
186
+
187
+ ---
188
+
189
+ ## Examples
190
+
191
+ See `examples/sample.md` for full epic hypothesis examples.
192
+
193
+ Mini example excerpt:
194
+
195
+ ```markdown
196
+ **If we** provide one-click Google Calendar integration
197
+ **for** trial users managing multiple meetings
198
+ **Then we will** increase activation rate from 40% to 50%
199
+ ```
200
+
201
+ ---
202
+
203
+ ## Common Pitfalls
204
+
205
+ ### Pitfall 1: Hypothesis is a Feature, Not an Outcome
206
+ **Symptom:** "If we build a dashboard, then we will have a dashboard"
207
+
208
+ **Consequence:** You're describing output, not outcome. This doesn't test anything.
209
+
210
+ **Fix:** Focus on the user outcome: "If we build a dashboard showing real-time task status, then PMs will spend 50% less time asking for status updates."
211
+
212
+ ---
213
+
214
+ ### Pitfall 2: Skipping Experiments
215
+ **Symptom:** "We'll test our assumption by building the full feature"
216
+
217
+ **Consequence:** You've committed to building before validating. Not a hypothesis—it's a feature commitment.
218
+
219
+ **Fix:** Design lightweight experiments (prototypes, concierge tests, landing pages) that take days/weeks, not months.
220
+
221
+ ---
222
+
223
+ ### Pitfall 3: Vague Validation Measures
224
+ **Symptom:** "We know it's valid if users are happy"
225
+
226
+ **Consequence:** Success criteria are subjective and unmeasurable.
227
+
228
+ **Fix:** Define specific, falsifiable metrics: "80% of surveyed users rate the feature 4+ out of 5" or "Response time drops by 50%."
229
+
230
+ ---
231
+
232
+ ### Pitfall 4: Unrealistic Timeframes
233
+ **Symptom:** "We know it's valid if within 6 months revenue increases"
234
+
235
+ **Consequence:** Too slow to inform decisions. By then, you've already built it.
236
+
237
+ **Fix:** Aim for 2-4 week validation cycles. If you can't measure in that timeframe, choose a leading indicator (e.g., activation rate, not annual revenue).
238
+
239
+ ---
240
+
241
+ ### Pitfall 5: Treating Epics as Commitments
242
+ **Symptom:** "We already told the CEO we're shipping this, so we have to validate it"
243
+
244
+ **Consequence:** Experiments are theater—you're going to build it regardless of results.
245
+
246
+ **Fix:** Frame epics as hypotheses *before* making commitments. If stakeholders need certainty, explain the risk of building unvalidated features.
247
+
248
+ ---
249
+
250
+ ## References
251
+
252
+ ### Related Skills
253
+ - `skills/problem-statement/SKILL.md` — Hypothesis should address a validated problem
254
+ - `skills/proto-persona/SKILL.md` — Defines the "for [persona]" section
255
+ - `skills/jobs-to-be-done/SKILL.md` — Informs the "then we will" outcome
256
+ - `skills/user-story/SKILL.md` — Validated epics decompose into user stories
257
+ - `skills/user-story-splitting/SKILL.md` — How to break validated epics into stories
258
+
259
+ ### External Frameworks
260
+ - Tim Herbig, *Lean UX Hypothesis Statement* — Origin of if/then hypothesis format
261
+ - Jeff Gothelf & Josh Seiden, *Lean UX* (2013) — Hypothesis-driven product development
262
+ - Alberto Savoia, *Pretotype It* (2011) — Lightweight experiments to validate ideas
263
+ - Eric Ries, *The Lean Startup* (2011) — Build-Measure-Learn cycle
264
+
265
+ ### Dean's Work
266
+ - Backlog Epic Hypothesis Prompt (inspired by Tim Herbig's framework)
267
+
268
+ ### Provenance
269
+ - Adapted from `prompts/backlog-epic-hypothesis.md` in the `https://github.com/deanpeters/product-manager-prompts` repo.
270
+
271
+ ---
272
+
273
+ **Skill type:** Component
274
+ **Suggested filename:** `epic-hypothesis.md`
275
+ **Suggested placement:** `/skills/components/`
276
+ **Dependencies:** References `skills/problem-statement/SKILL.md`, `skills/proto-persona/SKILL.md`, `skills/jobs-to-be-done/SKILL.md`
277
+ **Used by:** `skills/user-story/SKILL.md`, `skills/user-story-splitting/SKILL.md`
@@ -0,0 +1,104 @@
1
+ # Epic Hypothesis Examples
2
+
3
+ ## Example 1: Good Epic Hypothesis
4
+
5
+ ```markdown
6
+ ### Epic Hypothesis: Google Calendar Integration for Trial Users
7
+
8
+ #### If/Then Hypothesis
9
+
10
+ **If we** provide one-click Google Calendar integration during onboarding
11
+ **for** trial users who manage multiple meetings and tasks daily
12
+ **Then we will** increase activation rate (defined as completing setup + creating first task) from 40% to 50%
13
+
14
+ #### Tiny Acts of Discovery Experiments
15
+
16
+ **We will test our assumption by:**
17
+ 1. Creating a clickable Figma prototype of the integration flow and testing with 10 trial users
18
+ 2. Adding a "Connect Google Calendar" CTA to the onboarding flow (but it's non-functional) and measuring click-through rate
19
+ 3. Manually syncing Google Calendar for 5 trial users and surveying them after 1 week on perceived value
20
+
21
+ #### Validation Measures
22
+
23
+ **We know our hypothesis is valid if within 4 weeks we observe:**
24
+ - Click-through rate on the CTA is > 60% (quantitative)
25
+ - 8 out of 10 prototype testers say they'd use this feature regularly (qualitative)
26
+ - Manually synced users report saving 10+ minutes per day on task entry (qualitative)
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Example 2: Bad Epic Hypothesis (Vague)
32
+
33
+ ```markdown
34
+ ### Epic Hypothesis: Improve Dashboard
35
+
36
+ #### If/Then Hypothesis
37
+
38
+ **If we** improve the dashboard
39
+ **for** users
40
+ **Then we will** make the product better
41
+
42
+ #### Tiny Acts of Discovery Experiments
43
+
44
+ **We will test our assumption by:**
45
+ 1. Building the dashboard
46
+
47
+ #### Validation Measures
48
+
49
+ **We know our hypothesis is valid if we observe:**
50
+ - Users like it
51
+ ```
52
+
53
+ **Why this fails:**
54
+ - "Improve the dashboard" is not specific (improve how?)
55
+ - "Users" is not a persona (which users? all users?)
56
+ - "Make the product better" is not measurable
57
+ - Experiment is "build it" (not a lightweight test)
58
+ - Validation is subjective ("users like it" = not falsifiable)
59
+
60
+ **How to fix it:**
61
+ - Specify the hypothesis: "If we add real-time task status updates to the dashboard for project managers, then we will reduce time spent checking task progress from 20 min/day to 5 min/day"
62
+ - Define persona: "for project managers managing 10+ team members"
63
+ - Design experiments: "Prototype the dashboard, test with 5 PMs, measure time savings"
64
+ - Specify validation: "8 out of 10 PMs report saving 10+ min/day"
65
+
66
+ ---
67
+
68
+ ## Example 3: Invalidated Hypothesis (Good Process)
69
+
70
+ ```markdown
71
+ ### Epic Hypothesis: Slack Integration for Notifications
72
+
73
+ #### If/Then Hypothesis
74
+
75
+ **If we** send Slack notifications when tasks are assigned
76
+ **for** remote project managers
77
+ **Then we will** reduce task response time from 4 hours to 1 hour
78
+
79
+ #### Tiny Acts of Discovery Experiments
80
+
81
+ **We will test our assumption by:**
82
+ 1. Manually send Slack notifications to 10 project managers for 2 weeks
83
+ 2. Measure response time before/after
84
+ 3. Survey users on perceived value
85
+
86
+ #### Validation Measures
87
+
88
+ **We know our hypothesis is valid if within 2 weeks we observe:**
89
+ - Average response time drops from 4 hours to 1 hour (quantitative)
90
+ - 8 out of 10 users say Slack notifications helped them respond faster (qualitative)
91
+
92
+ ---
93
+
94
+ **Results after 2 weeks:**
95
+ - Average response time: 3.5 hours (minimal improvement)
96
+ - User feedback: "I already get too many Slack notifications. I ignore most of them."
97
+ - **Decision: Hypothesis INVALIDATED. Users don't want more Slack noise. Pivot to in-app notifications or email digests.**
98
+ ```
99
+
100
+ **Why this is good:**
101
+ - Hypothesis was tested (not just built)
102
+ - Experiments were lightweight (manual Slack messages, not full integration)
103
+ - Results showed the hypothesis was wrong
104
+ - Team killed the epic before wasting engineering time
@@ -0,0 +1,30 @@
1
+ # Epic Hypothesis Template
2
+
3
+ Use this template to frame an epic as a testable hypothesis with experiments and validation measures.
4
+
5
+ ## Provenance
6
+ Adapted from `prompts/backlog-epic-hypothesis.md` in the `https://github.com/deanpeters/product-manager-prompts` repo.
7
+
8
+ ## Template
9
+ ```markdown
10
+ ### If/Then Hypothesis
11
+
12
+ **If we** [action or solution on behalf of the target persona]
13
+ **for** [target persona]
14
+ **Then we will** [desirable outcome or job-to-be-done]
15
+
16
+ ### Tiny Acts of Discovery Experiments
17
+
18
+ **We will test our assumption by:**
19
+ - [Experiment 1]
20
+ - [Experiment 2]
21
+ - [Add more as necessary]
22
+
23
+ ### Validation Measures
24
+
25
+ **We know our hypothesis is valid if within** [timeframe]
26
+ **we observe:**
27
+ - [Quantitative measurable outcome]
28
+ - [Qualitative measurable outcome]
29
+ - [Add more as necessary]
30
+ ```