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,365 @@
1
+ # Example: Cash Trap (Good LTV:CAC, Terrible Payback)
2
+
3
+ **Company:** EnterpriseCRM (enterprise sales-led CRM)
4
+ **Stage:** Series A, post-product-market fit
5
+ **Customer Base:** 50 enterprise accounts
6
+ **Period:** Q2 2024
7
+
8
+ ---
9
+
10
+ ## The Illusion: Great LTV:CAC Ratio
11
+
12
+ ### Unit Economics (Look Great!)
13
+ ```
14
+ CAC: $80,000
15
+ LTV: $400,000
16
+ LTV:CAC: 5:1 ✅ (looks healthy!)
17
+ Gross Margin: 85%
18
+ ```
19
+
20
+ **First impression:** "5:1 LTV:CAC is amazing! Let's scale!"
21
+
22
+ ---
23
+
24
+ ## The Reality: Terrible Payback Period
25
+
26
+ ### Deep Dive on Payback
27
+ ```
28
+ CAC: $80,000
29
+ Monthly ARPU: $8,333 (from $100K annual contracts)
30
+ Gross Margin: 85%
31
+
32
+ Payback Period = $80,000 / ($8,333 × 85%)
33
+ Payback Period = $80,000 / $7,083
34
+ Payback Period = 11.3 months
35
+
36
+ Wait... that doesn't look terrible?
37
+ ```
38
+
39
+ ### But Wait—Payment Terms Reality
40
+ ```
41
+ Average Contract: $100,000/year
42
+ Payment Terms: Quarterly invoicing (not annual upfront)
43
+ Actual Monthly Cash Collection: $8,333/month
44
+
45
+ CAC Spend Timing: Upfront (sales cycle complete)
46
+ Revenue Collection: Monthly over 12+ months
47
+
48
+ Cash Payback = Time until cash in > cash out
49
+ Actual Cash Payback: 11.3 months ⚠️
50
+ ```
51
+
52
+ ### The Real Problem: Sales Cycle + Deal Size
53
+ ```
54
+ Average Sales Cycle: 6 months
55
+ CAC Timing: Spent over 6-month sales cycle ($80K total)
56
+ First Payment: Month 7 (after deal closes)
57
+ Monthly Cash: $8,333
58
+
59
+ True Payback Timeline:
60
+ - Month 0-6: Spend $80K acquiring customer (no revenue)
61
+ - Month 7: First $8,333 payment
62
+ - Month 18: Finally break even on cash ($8,333 × 11.3 = ~$94K collected)
63
+
64
+ Effective Payback: 18 months from start of sales cycle ��
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Capital Efficiency Reality Check
70
+
71
+ ### Burn Rate & Runway
72
+ ```
73
+ Monthly Expenses:
74
+ - S&M: $500,000 (mostly sales team for 6-month cycles)
75
+ - R&D: $300,000
76
+ - G&A: $100,000
77
+ - COGS: $50,000
78
+ Total Monthly Burn: $950,000
79
+
80
+ Monthly Revenue: $416,665 ($5M ARR / 12)
81
+ Net Burn: $533,335/month 🚨
82
+
83
+ Cash Balance: $6,000,000
84
+ Runway: $6M / $533K = 11.3 months 🚨
85
+ ```
86
+
87
+ ---
88
+
89
+ ## The Cash Trap Equation
90
+
91
+ ### What Happens When You Try to Scale
92
+
93
+ **Current state:**
94
+ - 50 customers
95
+ - $5M ARR
96
+ - 11.3 months runway
97
+
98
+ **CEO decision:** "5:1 LTV:CAC is great! Let's double sales headcount and scale!"
99
+
100
+ **What happens:**
101
+ ```
102
+ Scenario: Double sales team (10 → 20 AEs)
103
+
104
+ New Monthly Burn:
105
+ - S&M: $1,000,000 (doubled)
106
+ - R&D: $300,000 (same)
107
+ - G&A: $120,000 (+20% for ops support)
108
+ - COGS: $50,000 (same for now)
109
+ Total: $1,470,000/month
110
+
111
+ Revenue (first 6 months): Still $416K/month (deals haven't closed yet)
112
+ Net Burn: $1,054,000/month 🚨🚨
113
+
114
+ NEW Runway: $6M / $1.05M = 5.7 months 🚨🚨🚨
115
+ ```
116
+
117
+ **Result:** You'll run out of money in 6 months, right when the new deals START to close. You've accelerated your own death.
118
+
119
+ ---
120
+
121
+ ## The Math of the Trap
122
+
123
+ ### Why 5:1 LTV:CAC Doesn't Save You
124
+
125
+ **Year 1 Cash Flow (Before Scaling):**
126
+ ```
127
+ Customers Added: 20 (existing sales team capacity)
128
+ CAC Spent: 20 × $80K = $1.6M cash out
129
+ Revenue Collected (Year 1): 20 × $100K × 11.3/12 = $1.88M cash in
130
+
131
+ Net Cash from New Customers: +$280K (barely positive)
132
+ ```
133
+
134
+ **Year 1 Cash Flow (After Scaling—Doubling Sales Team):**
135
+ ```
136
+ Customers Added: 40 (doubled capacity)
137
+ CAC Spent: 40 × $80K = $3.2M cash out
138
+ Revenue Collected (Year 1): 40 × $100K × 11.3/12 = $3.77M cash in
139
+
140
+ BUT: Existing S&M spend doubled for full year
141
+ Additional S&M Burn: $500K × 12 = $6M extra per year
142
+
143
+ Net Cash Impact: $3.77M revenue - $3.2M CAC - $6M extra S&M = -$5.43M 🚨
144
+ ```
145
+
146
+ **You burned an extra $5.43M to add $4M in ARR. That's a 1.4:1 cash-to-ARR ratio—terrible.**
147
+
148
+ ---
149
+
150
+ ## Analysis
151
+
152
+ ### 🚨 The Cash Trap Mechanics
153
+
154
+ **Why this happens:**
155
+ 1. **Long sales cycles** (6 months) delay revenue
156
+ 2. **Monthly/quarterly billing** delays cash collection
157
+ 3. **High CAC** ($80K) requires significant upfront investment
158
+ 4. **Payback period** (11.3 months) is manageable but not fast
159
+ 5. **Combined effect:** 18 months from sales start to cash payback
160
+
161
+ **The trap:**
162
+ - LTV:CAC ratio looks healthy (5:1)
163
+ - But cash recovery takes 18 months from sales cycle start
164
+ - Scaling burns cash faster than you can recover it
165
+ - Runway shrinks even as you "grow"
166
+
167
+ ---
168
+
169
+ ### 📊 Why Traditional Metrics Mislead
170
+
171
+ **What looks good:**
172
+ - ✅ LTV:CAC = 5:1 (healthy by any standard)
173
+ - ✅ Gross margin = 85% (excellent)
174
+ - ✅ Average contract value = $100K (enterprise deals)
175
+ - ✅ Customer lifetime = 4+ years (good retention)
176
+
177
+ **What's hidden:**
178
+ - 🚨 18-month effective payback from sales start
179
+ - 🚨 6-month sales cycle delays revenue
180
+ - 🚨 Quarterly billing delays cash
181
+ - 🚨 High CAC requires patient capital
182
+ - 🚨 Scaling accelerates cash burn before revenue arrives
183
+
184
+ ---
185
+
186
+ ## How to Escape the Cash Trap
187
+
188
+ ### Option 1: Shorten Payback Period (Best)
189
+
190
+ **A. Negotiate Annual Upfront Payments**
191
+ ```
192
+ Before: Quarterly billing = 11.3-month payback
193
+ After: Annual upfront = 0.96-month payback ✅
194
+
195
+ Impact on Payback:
196
+ $80K CAC / ($100K × 85%) = 0.96 months (instant payback!)
197
+
198
+ Impact on Runway:
199
+ Collect $100K upfront vs. $25K quarterly
200
+ 4x cash acceleration
201
+ Runway extends from 11 months to 30+ months
202
+ ```
203
+
204
+ **B. Reduce CAC**
205
+ ```
206
+ Strategies:
207
+ - Shorten sales cycle from 6 months to 4 months (reduce CAC by 20%)
208
+ - Improve win rate from 20% to 30% (reduce wasted sales effort)
209
+ - Target warmer inbound leads (reduce prospecting costs)
210
+
211
+ Target: Reduce CAC from $80K to $50K
212
+ New Payback: $50K / ($8,333 × 85%) = 7 months ✅
213
+ ```
214
+
215
+ **C. Increase ARPU**
216
+ ```
217
+ Current: $8,333/month ($100K annual)
218
+ Target: $12,500/month ($150K annual) via:
219
+ - Premium tier pricing
220
+ - Add-on modules
221
+ - Seat expansion
222
+
223
+ New Payback: $80K / ($12,500 × 85%) = 7.5 months ✅
224
+ ```
225
+
226
+ ---
227
+
228
+ ### Option 2: Raise Capital to Extend Runway
229
+
230
+ **Reality check:**
231
+ - You need 18+ months of runway to sustain sales cycle + payback
232
+ - Current runway: 11 months (insufficient)
233
+ - Need to raise: $12M+ to extend runway to 24 months
234
+
235
+ **Pros:**
236
+ - Buys time for revenue to catch up
237
+ - Can continue scaling
238
+
239
+ **Cons:**
240
+ - Dilution
241
+ - Sets high expectations for next round
242
+ - Doesn't fix fundamental payback problem
243
+
244
+ **Recommended if:**
245
+ - Already in fundraising process
246
+ - Confident you can negotiate annual upfront (fixes root cause)
247
+ - Growth rate justifies dilution
248
+
249
+ ---
250
+
251
+ ### Option 3: Slow Down Growth (Survive)
252
+
253
+ **Accept slower growth to preserve cash:**
254
+ ```
255
+ Reduce sales team from 10 to 6 AEs
256
+ S&M Spend: $300K/month (down from $500K)
257
+
258
+ New Monthly Burn:
259
+ - S&M: $300K
260
+ - R&D: $300K
261
+ - G&A: $100K
262
+ - COGS: $50K
263
+ Total: $750K/month
264
+
265
+ Net Burn: $750K - $416K = $334K/month
266
+ New Runway: $6M / $334K = 18 months ✅
267
+ ```
268
+
269
+ **Pros:**
270
+ - Extends runway to 18 months
271
+ - Gives time to negotiate annual contracts
272
+ - Reduces burn while maintaining existing revenue
273
+
274
+ **Cons:**
275
+ - Slower growth
276
+ - May miss market window
277
+ - Team morale impact
278
+
279
+ **Recommended if:**
280
+ - Can't raise capital
281
+ - Need time to fix payment terms
282
+ - Runway <6 months (emergency mode)
283
+
284
+ ---
285
+
286
+ ### Option 4: Change GTM Motion (Pivot)
287
+
288
+ **Move upmarket to larger deals with better payment terms:**
289
+ ```
290
+ Current: $100K ACV, quarterly billing
291
+ Target: $300K ACV, annual upfront billing
292
+
293
+ Impact:
294
+ - CAC may increase to $120K (more complex sales)
295
+ - But LTV increases to $1.2M (3x larger deals)
296
+ - Payback: $120K / ($300K × 85%) = 0.47 months ✅
297
+ - LTV:CAC improves to 10:1
298
+ ```
299
+
300
+ **Or move to product-led growth (if feasible):**
301
+ - Reduce CAC from $80K to $5K (self-serve)
302
+ - Smaller deal sizes ($20K ACV)
303
+ - But 4-month payback vs. 18-month payback
304
+ - Can scale without burning cash
305
+
306
+ ---
307
+
308
+ ## Recommended Action Plan
309
+
310
+ ### Immediate (Weeks 1-4): Stop the Bleeding
311
+ 1. **Freeze hiring** — Don't add sales headcount until payback is fixed
312
+ 2. **Audit cash runway** — Calculate true runway with payment timing
313
+ 3. **Prioritize existing pipeline** — Close in-flight deals to boost near-term cash
314
+
315
+ ### Short-term (Months 1-3): Fix Payment Terms
316
+ 1. **Negotiate annual upfront** — Contact all new prospects, offer 10% discount for annual prepay
317
+ 2. **Target: 80% of new deals on annual upfront within 90 days**
318
+ 3. **Impact: Payback drops from 11 months to <2 months**
319
+
320
+ ### Medium-term (Months 3-6): Reduce CAC
321
+ 1. **Shorten sales cycle** — Improve qualification, reduce dead-end deals
322
+ 2. **Target: 6 months → 4 months sales cycle**
323
+ 3. **Optimize sales process** — Better demos, faster approvals, streamlined onboarding
324
+
325
+ ### Long-term (Months 6-12): Scale Sustainably
326
+ 1. **Validate new payback** — Ensure <6 month payback on annual contracts
327
+ 2. **Gradually scale** — Add sales headcount only when cash payback is proven
328
+ 3. **Monitor cash-to-ARR ratio** — Should be <1:1 (invest $1 cash, get $1+ ARR)
329
+
330
+ ---
331
+
332
+ ## Key Metrics to Track
333
+
334
+ **Before you scale again, ensure:**
335
+ - [ ] Payback period <6 months (with annual upfront)
336
+ - [ ] 80%+ of deals on annual payment terms
337
+ - [ ] Runway >18 months
338
+ - [ ] Cash-to-ARR ratio <1:1 (sustainable growth)
339
+ - [ ] Sales cycle <4 months
340
+
341
+ **Weekly cash monitoring:**
342
+ - [ ] Cash balance
343
+ - [ ] Weekly burn rate
344
+ - [ ] Weeks of runway remaining
345
+ - [ ] New bookings (cash collected, not just ARR)
346
+
347
+ ---
348
+
349
+ ## Key Takeaway
350
+
351
+ **LTV:CAC ratio is necessary but not sufficient.**
352
+
353
+ This business has:
354
+ - ✅ Great LTV:CAC (5:1)
355
+ - ✅ Strong gross margin (85%)
356
+ - ✅ Good retention (4+ year lifetime)
357
+
358
+ But it also has:
359
+ - 🚨 18-month effective payback (6-month sales cycle + 11-month cash recovery)
360
+ - 🚨 Quarterly billing (delays cash)
361
+ - 🚨 11-month runway (insufficient for sales cycle + payback)
362
+
363
+ **The fix is simple:** Negotiate annual upfront payments. This turns an 11-month payback into a <1-month payback, unlocking sustainable scaling.
364
+
365
+ **Lesson:** Always pair LTV:CAC with payback period AND cash collection timing. Otherwise, you'll scale yourself into bankruptcy while the metrics look great on paper.
@@ -0,0 +1,279 @@
1
+ # Example: Healthy Unit Economics & Efficient Scaling
2
+
3
+ **Company:** CloudAnalytics (mid-market business intelligence SaaS)
4
+ **Stage:** Series B growth stage
5
+ **Customer Base:** 500 accounts, 12,000 users
6
+ **Period:** Q2 2024
7
+
8
+ ---
9
+
10
+ ## Unit Economics
11
+
12
+ ### Gross Margin
13
+ ```
14
+ Quarterly Revenue: $6,000,000
15
+ COGS:
16
+ - AWS hosting & infrastructure: $600,000
17
+ - Payment processing (2.5%): $150,000
18
+ - Customer onboarding: $150,000
19
+ Total COGS: $900,000
20
+
21
+ Gross Profit: $5,100,000
22
+ Gross Margin: 85% ✅
23
+ ```
24
+
25
+ ### CAC by Segment
26
+ ```
27
+ SMB:
28
+ - S&M Spend: $200K/quarter
29
+ - New Customers: 50
30
+ - CAC: $4,000
31
+
32
+ Mid-Market:
33
+ - S&M Spend: $400K/quarter
34
+ - New Customers: 40
35
+ - CAC: $10,000
36
+
37
+ Enterprise:
38
+ - S&M Spend: $300K/quarter
39
+ - New Customers: 10
40
+ - CAC: $30,000
41
+
42
+ Blended CAC: $9,000
43
+ ```
44
+
45
+ ### LTV by Segment
46
+ ```
47
+ SMB:
48
+ - ARPU: $250/month
49
+ - Monthly Churn: 3%
50
+ - Gross Margin: 82%
51
+ - LTV: ($250 × 82%) / 3% = $6,833
52
+
53
+ Mid-Market:
54
+ - ARPU: $1,200/month
55
+ - Monthly Churn: 2%
56
+ - Gross Margin: 85%
57
+ - LTV: ($1,200 × 85%) / 2% = $51,000
58
+
59
+ Enterprise:
60
+ - ARPU: $5,000/month
61
+ - Monthly Churn: 1%
62
+ - Gross Margin: 88%
63
+ - LTV: ($5,000 × 88%) / 1% = $440,000
64
+
65
+ Blended LTV: $45,000
66
+ ```
67
+
68
+ ### LTV:CAC Ratios
69
+ ```
70
+ SMB: $6,833 / $4,000 = 1.7:1 ⚠️ (marginal)
71
+ Mid-Market: $51,000 / $10,000 = 5.1:1 ✅ (excellent)
72
+ Enterprise: $440,000 / $30,000 = 14.7:1 ✅ (outstanding)
73
+
74
+ Blended: $45,000 / $9,000 = 5:1 ✅
75
+ ```
76
+
77
+ ### Payback Periods
78
+ ```
79
+ SMB: $4,000 / ($250 × 82%) = 19.5 months ⚠️
80
+ Mid-Market: $10,000 / ($1,200 × 85%) = 9.8 months ✅
81
+ Enterprise: $30,000 / ($5,000 × 88%) = 6.8 months ✅
82
+
83
+ Blended: 11 months ✅
84
+ ```
85
+
86
+ ---
87
+
88
+ ## Capital Efficiency
89
+
90
+ ### Burn Rate & Runway
91
+ ```
92
+ Monthly Expenses:
93
+ - S&M: $300,000
94
+ - R&D: $400,000
95
+ - G&A: $150,000
96
+ - COGS: $300,000
97
+ Gross Burn: $1,150,000/month
98
+
99
+ Monthly Revenue: $2,000,000
100
+ Net Burn: -$850,000/month (profitable! ✅)
101
+
102
+ Cash Balance: $25,000,000
103
+ Runway: Infinite (profitable)
104
+ ```
105
+
106
+ ### Operating Expenses
107
+ ```
108
+ Annual Revenue: $24M
109
+
110
+ OpEx:
111
+ - S&M: $3.6M (15% of revenue) ✅
112
+ - R&D: $4.8M (20% of revenue) ✅
113
+ - G&A: $1.8M (7.5% of revenue) ✅
114
+ Total OpEx: $10.2M (42.5% of revenue)
115
+
116
+ Net Income: $24M - $3.6M - $10.2M = $10.2M
117
+ Profit Margin: 42.5% ✅
118
+ ```
119
+
120
+ ---
121
+
122
+ ## Efficiency Ratios
123
+
124
+ ### Rule of 40
125
+ ```
126
+ Revenue Growth Rate: 45% YoY
127
+ Profit Margin: 42.5%
128
+ Rule of 40 = 45% + 42.5% = 87.5 ✅ (outstanding!)
129
+ ```
130
+
131
+ ### Magic Number
132
+ ```
133
+ Q2 Revenue: $6M
134
+ Q1 Revenue: $5.2M
135
+ Increase: $800K
136
+
137
+ Q1 S&M Spend: $850K
138
+ Magic Number: ($800K × 4) / $850K = $3.2M / $850K = 3.76 ✅ (excellent!)
139
+ ```
140
+
141
+ ### Operating Leverage (Last 4 Quarters)
142
+ | Quarter | Revenue | Rev Growth | OpEx | OpEx Growth | Leverage |
143
+ |---------|---------|------------|------|-------------|----------|
144
+ | Q3 2023 | $4.5M | - | $2.2M | - | - |
145
+ | Q4 2023 | $5.0M | 11% | $2.4M | 9% | Positive ✅ |
146
+ | Q1 2024 | $5.2M | 4% | $2.5M | 4% | Neutral |
147
+ | Q2 2024 | $6.0M | 15% | $2.55M | 2% | Positive ✅ |
148
+
149
+ **Analysis:** Revenue growing faster than OpEx = positive operating leverage.
150
+
151
+ ---
152
+
153
+ ## Analysis
154
+
155
+ ### ✅ Exceptional Strengths
156
+
157
+ **Outstanding unit economics:**
158
+ - 5:1 blended LTV:CAC (healthy range: 3-5:1)
159
+ - 11-month blended payback (target: <12 months)
160
+ - 85% gross margin (well above 70% SaaS benchmark)
161
+ - Mid-market and enterprise segments have stellar economics
162
+
163
+ **Profitable growth:**
164
+ - 42.5% profit margin (exceptional for growth-stage SaaS)
165
+ - Rule of 40 = 87.5 (nearly double the 40 threshold)
166
+ - Infinite runway (profitable, no burn)
167
+
168
+ **Efficient go-to-market:**
169
+ - Magic number = 3.76 (well above 0.75 threshold)
170
+ - For every $1 in S&M spend, generating $3.76 in new ARR
171
+ - Positive operating leverage (revenue growing faster than costs)
172
+
173
+ **Segment optimization:**
174
+ - Enterprise: 14.7:1 LTV:CAC, 7-month payback (amazing)
175
+ - Mid-market: 5.1:1 LTV:CAC, 10-month payback (excellent)
176
+ - SMB: 1.7:1 LTV:CAC, 19.5-month payback (marginal)
177
+
178
+ ---
179
+
180
+ ### 📊 Opportunities for Optimization
181
+
182
+ **SMB segment underperformance:**
183
+ - 1.7:1 LTV:CAC is below 3:1 threshold
184
+ - 19.5-month payback is concerning
185
+ - Contributing to blended metrics, but dragging them down
186
+
187
+ **Potential actions:**
188
+ 1. **Reduce SMB CAC** (improve conversion, shorten sales cycle)
189
+ 2. **Increase SMB LTV** (reduce churn, add expansion paths)
190
+ 3. **Deprioritize SMB** (shift budget to mid-market/enterprise)
191
+
192
+ **Channel allocation:**
193
+ - Enterprise has 14.7:1 LTV:CAC but only 10 new customers/quarter
194
+ - Could scale enterprise acquisition more aggressively
195
+
196
+ ---
197
+
198
+ ## Recommended Actions
199
+
200
+ ### 1. Scale Enterprise Acquisition (High Priority)
201
+ **Why:** 14.7:1 LTV:CAC and 7-month payback = massive opportunity.
202
+
203
+ **Actions:**
204
+ - Increase enterprise S&M budget from $300K to $500K/quarter
205
+ - Hire 2 enterprise AEs
206
+ - Target 20 enterprise logos/quarter (up from 10)
207
+
208
+ **Expected impact:**
209
+ - Additional $200K/quarter S&M spend
210
+ - 10 additional enterprise customers
211
+ - 10 × $30K CAC = $300K investment
212
+ - 10 × $440K LTV = $4.4M in LTV created
213
+ - Net value creation: $4.1M
214
+
215
+ ---
216
+
217
+ ### 2. Optimize or Exit SMB Segment (Medium Priority)
218
+ **Why:** 1.7:1 LTV:CAC is marginal; 19.5-month payback strains cash (even though profitable overall).
219
+
220
+ **Option A: Optimize SMB**
221
+ - Reduce CAC through self-serve onboarding (target $2K CAC)
222
+ - Improve retention to 2% monthly churn (boost LTV to $10,250)
223
+ - New LTV:CAC: 5.1:1 (healthy)
224
+
225
+ **Option B: Exit SMB**
226
+ - Stop SMB acquisition, reallocate $200K/quarter to mid-market/enterprise
227
+ - Focus on higher-quality segments with better economics
228
+
229
+ **Recommendation:** Try Option A for 2 quarters. If LTV:CAC doesn't improve to >3:1, exit SMB.
230
+
231
+ ---
232
+
233
+ ### 3. Maintain Profitability While Scaling (Ongoing)
234
+ **Why:** 42.5% profit margin + 45% growth is exceptional. Don't sacrifice this.
235
+
236
+ **Actions:**
237
+ - Continue positive operating leverage (revenue growth > cost growth)
238
+ - Maintain Rule of 40 >40 (ideally >60)
239
+ - Reinvest profits strategically in highest-ROI channels
240
+
241
+ ---
242
+
243
+ ### 4. Monitor Magic Number by Segment (Ongoing)
244
+ **Current blended magic number:** 3.76 (excellent)
245
+
246
+ **Calculate by segment:**
247
+ - If enterprise magic number is 5+, scale aggressively
248
+ - If SMB magic number is <0.5, consider exiting
249
+
250
+ ---
251
+
252
+ ## Success Metrics (Next 12 Months)
253
+
254
+ **Growth targets:**
255
+ - [ ] Reach $36M ARR (50% YoY growth)
256
+ - [ ] Maintain >40% profit margin
257
+ - [ ] Rule of 40 >70
258
+
259
+ **Unit economics targets:**
260
+ - [ ] Blended LTV:CAC remains >4:1
261
+ - [ ] Blended payback remains <12 months
262
+ - [ ] SMB LTV:CAC improves to >3:1 or exit segment
263
+
264
+ **Efficiency targets:**
265
+ - [ ] Magic number remains >2.0
266
+ - [ ] Positive operating leverage every quarter
267
+ - [ ] S&M efficiency: <20% of revenue
268
+
269
+ ---
270
+
271
+ ## Key Takeaway
272
+
273
+ This is a model SaaS business:
274
+ - Profitable AND growing (rare combination)
275
+ - Exceptional unit economics (5:1 LTV:CAC, 11-month payback)
276
+ - Highly efficient GTM (3.76 magic number)
277
+ - Strong balance (Rule of 40 = 87.5)
278
+
279
+ **Main opportunity:** Scale enterprise aggressively while optimizing or exiting SMB segment. The business can sustain aggressive growth without burning cash.