@c0x12c/ai-toolkit 1.15.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 (255) hide show
  1. package/.claude-plugin/marketplace.json +16 -0
  2. package/.claude-plugin/plugin.json +12 -0
  3. package/README.md +439 -0
  4. package/VERSION +1 -0
  5. package/agents/design-critic.md +127 -0
  6. package/agents/idea-killer.md +72 -0
  7. package/agents/infrastructure-expert.md +49 -0
  8. package/agents/micronaut-backend-expert.md +45 -0
  9. package/agents/phase-reviewer.md +150 -0
  10. package/agents/research-planner.md +70 -0
  11. package/agents/solution-architect-cto.md +49 -0
  12. package/agents/sre-architect.md +49 -0
  13. package/agents/team-coordinator.md +111 -0
  14. package/bin/cli.js +780 -0
  15. package/claude-md/00-header.md +39 -0
  16. package/claude-md/01-core.md +105 -0
  17. package/claude-md/05-database.md +20 -0
  18. package/claude-md/11-backend-micronaut.md +19 -0
  19. package/claude-md/20-frontend-react.md +44 -0
  20. package/claude-md/25-ux-design.md +56 -0
  21. package/claude-md/30-infrastructure.md +24 -0
  22. package/claude-md/30-project-mgmt.md +119 -0
  23. package/claude-md/40-product.md +39 -0
  24. package/claude-md/50-ops.md +34 -0
  25. package/claude-md/60-research.md +27 -0
  26. package/claude-md/90-footer.md +21 -0
  27. package/commands/spartan/brainstorm.md +134 -0
  28. package/commands/spartan/brownfield.md +157 -0
  29. package/commands/spartan/build.md +435 -0
  30. package/commands/spartan/careful.md +94 -0
  31. package/commands/spartan/commit-message.md +112 -0
  32. package/commands/spartan/content.md +17 -0
  33. package/commands/spartan/context-save.md +161 -0
  34. package/commands/spartan/contribute.md +140 -0
  35. package/commands/spartan/daily.md +42 -0
  36. package/commands/spartan/debug.md +308 -0
  37. package/commands/spartan/deep-dive.md +55 -0
  38. package/commands/spartan/deploy.md +207 -0
  39. package/commands/spartan/e2e.md +264 -0
  40. package/commands/spartan/env-setup.md +166 -0
  41. package/commands/spartan/epic.md +199 -0
  42. package/commands/spartan/fe-review.md +181 -0
  43. package/commands/spartan/figma-to-code.md +260 -0
  44. package/commands/spartan/forensics.md +46 -0
  45. package/commands/spartan/freeze.md +84 -0
  46. package/commands/spartan/fundraise.md +53 -0
  47. package/commands/spartan/gate-review.md +229 -0
  48. package/commands/spartan/gsd-upgrade.md +376 -0
  49. package/commands/spartan/guard.md +42 -0
  50. package/commands/spartan/init-project.md +178 -0
  51. package/commands/spartan/init-rules.md +298 -0
  52. package/commands/spartan/interview.md +154 -0
  53. package/commands/spartan/kickoff.md +73 -0
  54. package/commands/spartan/kotlin-service.md +109 -0
  55. package/commands/spartan/lean-canvas.md +222 -0
  56. package/commands/spartan/lint-rules.md +122 -0
  57. package/commands/spartan/map-codebase.md +124 -0
  58. package/commands/spartan/migration.md +82 -0
  59. package/commands/spartan/next-app.md +317 -0
  60. package/commands/spartan/next-feature.md +212 -0
  61. package/commands/spartan/onboard.md +326 -0
  62. package/commands/spartan/outreach.md +16 -0
  63. package/commands/spartan/phase.md +142 -0
  64. package/commands/spartan/pitch.md +18 -0
  65. package/commands/spartan/plan.md +210 -0
  66. package/commands/spartan/pr-ready.md +202 -0
  67. package/commands/spartan/project.md +106 -0
  68. package/commands/spartan/qa.md +222 -0
  69. package/commands/spartan/research.md +254 -0
  70. package/commands/spartan/review.md +132 -0
  71. package/commands/spartan/scan-rules.md +173 -0
  72. package/commands/spartan/sessions.md +143 -0
  73. package/commands/spartan/spec.md +131 -0
  74. package/commands/spartan/startup.md +257 -0
  75. package/commands/spartan/team.md +570 -0
  76. package/commands/spartan/teardown.md +161 -0
  77. package/commands/spartan/testcontainer.md +97 -0
  78. package/commands/spartan/tf-cost.md +123 -0
  79. package/commands/spartan/tf-deploy.md +116 -0
  80. package/commands/spartan/tf-drift.md +100 -0
  81. package/commands/spartan/tf-import.md +107 -0
  82. package/commands/spartan/tf-module.md +121 -0
  83. package/commands/spartan/tf-plan.md +100 -0
  84. package/commands/spartan/tf-review.md +106 -0
  85. package/commands/spartan/tf-scaffold.md +109 -0
  86. package/commands/spartan/tf-security.md +147 -0
  87. package/commands/spartan/think.md +221 -0
  88. package/commands/spartan/unfreeze.md +13 -0
  89. package/commands/spartan/update.md +134 -0
  90. package/commands/spartan/ux.md +1233 -0
  91. package/commands/spartan/validate.md +193 -0
  92. package/commands/spartan/web-to-prd.md +706 -0
  93. package/commands/spartan/workstreams.md +109 -0
  94. package/commands/spartan/write.md +16 -0
  95. package/commands/spartan.md +386 -0
  96. package/frameworks/00-framework-comparison-guide.md +317 -0
  97. package/frameworks/01-lean-canvas.md +196 -0
  98. package/frameworks/02-design-sprint.md +304 -0
  99. package/frameworks/03-foundation-sprint.md +337 -0
  100. package/frameworks/04-business-model-canvas.md +391 -0
  101. package/frameworks/05-customer-development.md +426 -0
  102. package/frameworks/06-jobs-to-be-done.md +358 -0
  103. package/frameworks/07-mom-test.md +392 -0
  104. package/frameworks/08-value-proposition-canvas.md +488 -0
  105. package/frameworks/09-javelin-board.md +428 -0
  106. package/frameworks/10-build-measure-learn.md +467 -0
  107. package/frameworks/11-mvp-approaches.md +533 -0
  108. package/frameworks/think-before-build.md +593 -0
  109. package/lib/assembler.js +197 -0
  110. package/lib/assembler.test.js +159 -0
  111. package/lib/detector.js +166 -0
  112. package/lib/detector.test.js +221 -0
  113. package/lib/packs.js +16 -0
  114. package/lib/resolver.js +272 -0
  115. package/lib/resolver.test.js +298 -0
  116. package/lib/worktree.sh +104 -0
  117. package/package.json +50 -0
  118. package/packs/backend-micronaut.yaml +35 -0
  119. package/packs/backend-nodejs.yaml +15 -0
  120. package/packs/backend-python.yaml +15 -0
  121. package/packs/core.yaml +37 -0
  122. package/packs/database.yaml +21 -0
  123. package/packs/frontend-react.yaml +24 -0
  124. package/packs/infrastructure.yaml +40 -0
  125. package/packs/ops.yaml +16 -0
  126. package/packs/packs.compiled.json +371 -0
  127. package/packs/product.yaml +22 -0
  128. package/packs/project-mgmt.yaml +24 -0
  129. package/packs/research.yaml +39 -0
  130. package/packs/shared-backend.yaml +14 -0
  131. package/packs/ux-design.yaml +21 -0
  132. package/rules/backend-micronaut/API_DESIGN.md +313 -0
  133. package/rules/backend-micronaut/BATCH_PROCESSING.md +92 -0
  134. package/rules/backend-micronaut/CONTROLLERS.md +388 -0
  135. package/rules/backend-micronaut/KOTLIN.md +414 -0
  136. package/rules/backend-micronaut/RETROFIT_PLACEMENT.md +290 -0
  137. package/rules/backend-micronaut/SERVICES_AND_BEANS.md +325 -0
  138. package/rules/core/NAMING_CONVENTIONS.md +208 -0
  139. package/rules/core/SKILL_AUTHORING.md +174 -0
  140. package/rules/core/TIMEZONE.md +316 -0
  141. package/rules/database/ORM_AND_REPO.md +289 -0
  142. package/rules/database/SCHEMA.md +146 -0
  143. package/rules/database/TRANSACTIONS.md +311 -0
  144. package/rules/frontend-react/FRONTEND.md +344 -0
  145. package/rules/infrastructure/MODULES.md +260 -0
  146. package/rules/infrastructure/NAMING.md +196 -0
  147. package/rules/infrastructure/PROVIDERS.md +309 -0
  148. package/rules/infrastructure/SECURITY.md +310 -0
  149. package/rules/infrastructure/STATE_AND_BACKEND.md +237 -0
  150. package/rules/infrastructure/STRUCTURE.md +234 -0
  151. package/rules/infrastructure/VARIABLES.md +285 -0
  152. package/rules/shared-backend/ARCHITECTURE.md +46 -0
  153. package/rules/ux-design/DESIGN_PROCESS.md +176 -0
  154. package/skills/api-endpoint-creator/SKILL.md +455 -0
  155. package/skills/api-endpoint-creator/error-handling-guide.md +244 -0
  156. package/skills/api-endpoint-creator/examples.md +522 -0
  157. package/skills/api-endpoint-creator/testing-patterns.md +302 -0
  158. package/skills/article-writing/SKILL.md +109 -0
  159. package/skills/article-writing/examples.md +59 -0
  160. package/skills/backend-api-design/SKILL.md +84 -0
  161. package/skills/backend-api-design/code-patterns.md +138 -0
  162. package/skills/brainstorm/SKILL.md +95 -0
  163. package/skills/browser-qa/SKILL.md +87 -0
  164. package/skills/browser-qa/playwright-snippets.md +110 -0
  165. package/skills/ci-cd-patterns/SKILL.md +108 -0
  166. package/skills/ci-cd-patterns/workflows.md +149 -0
  167. package/skills/competitive-teardown/SKILL.md +93 -0
  168. package/skills/competitive-teardown/example-analysis.md +50 -0
  169. package/skills/content-engine/SKILL.md +131 -0
  170. package/skills/content-engine/examples.md +72 -0
  171. package/skills/database-patterns/SKILL.md +72 -0
  172. package/skills/database-patterns/code-templates.md +114 -0
  173. package/skills/database-table-creator/SKILL.md +141 -0
  174. package/skills/database-table-creator/examples.md +552 -0
  175. package/skills/database-table-creator/kotlin-templates.md +400 -0
  176. package/skills/database-table-creator/migration-template.sql +68 -0
  177. package/skills/database-table-creator/validation-checklist.md +337 -0
  178. package/skills/deep-research/SKILL.md +80 -0
  179. package/skills/design-intelligence/SKILL.md +268 -0
  180. package/skills/design-workflow/SKILL.md +127 -0
  181. package/skills/design-workflow/checklists.md +45 -0
  182. package/skills/idea-validation/SKILL.md +129 -0
  183. package/skills/idea-validation/example-report.md +50 -0
  184. package/skills/investor-materials/SKILL.md +122 -0
  185. package/skills/investor-materials/example-outline.md +70 -0
  186. package/skills/investor-outreach/SKILL.md +112 -0
  187. package/skills/investor-outreach/examples.md +76 -0
  188. package/skills/kotlin-best-practices/SKILL.md +58 -0
  189. package/skills/kotlin-best-practices/code-patterns.md +132 -0
  190. package/skills/market-research/SKILL.md +99 -0
  191. package/skills/security-checklist/SKILL.md +65 -0
  192. package/skills/security-checklist/audit-reference.md +95 -0
  193. package/skills/service-debugging/SKILL.md +116 -0
  194. package/skills/service-debugging/common-issues.md +65 -0
  195. package/skills/startup-pipeline/SKILL.md +152 -0
  196. package/skills/terraform-best-practices/SKILL.md +244 -0
  197. package/skills/terraform-module-creator/SKILL.md +284 -0
  198. package/skills/terraform-review/SKILL.md +222 -0
  199. package/skills/terraform-security-audit/SKILL.md +280 -0
  200. package/skills/terraform-service-scaffold/SKILL.md +574 -0
  201. package/skills/testing-strategies/SKILL.md +116 -0
  202. package/skills/testing-strategies/examples.md +103 -0
  203. package/skills/testing-strategies/integration-test-setup.md +71 -0
  204. package/skills/ui-ux-pro-max/SKILL.md +238 -0
  205. package/skills/ui-ux-pro-max/data/charts.csv +26 -0
  206. package/skills/ui-ux-pro-max/data/colors.csv +97 -0
  207. package/skills/ui-ux-pro-max/data/icons.csv +101 -0
  208. package/skills/ui-ux-pro-max/data/landing.csv +31 -0
  209. package/skills/ui-ux-pro-max/data/products.csv +97 -0
  210. package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  211. package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  212. package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  213. package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  214. package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  215. package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  216. package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  217. package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  218. package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  219. package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  220. package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  221. package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  222. package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  223. package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  224. package/skills/ui-ux-pro-max/data/styles.csv +68 -0
  225. package/skills/ui-ux-pro-max/data/typography.csv +58 -0
  226. package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  227. package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  228. package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  229. package/skills/ui-ux-pro-max/python-setup.md +146 -0
  230. package/skills/ui-ux-pro-max/scripts/core.py +253 -0
  231. package/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
  232. package/skills/ui-ux-pro-max/scripts/search.py +114 -0
  233. package/skills/web-to-prd/SKILL.md +478 -0
  234. package/templates/build-config.yaml +44 -0
  235. package/templates/commands-config.yaml +55 -0
  236. package/templates/competitor-analysis.md +60 -0
  237. package/templates/content/AGENT_TEMPLATE.md +47 -0
  238. package/templates/content/COMMAND_TEMPLATE.md +27 -0
  239. package/templates/content/RULE_TEMPLATE.md +40 -0
  240. package/templates/content/SKILL_TEMPLATE.md +41 -0
  241. package/templates/design-config.md +105 -0
  242. package/templates/design-doc.md +207 -0
  243. package/templates/epic.md +100 -0
  244. package/templates/feature-spec.md +181 -0
  245. package/templates/idea-canvas.md +47 -0
  246. package/templates/implementation-plan.md +159 -0
  247. package/templates/prd-template.md +86 -0
  248. package/templates/preamble.md +89 -0
  249. package/templates/project-readme.md +35 -0
  250. package/templates/quality-gates.md +230 -0
  251. package/templates/spartan-config.yaml +164 -0
  252. package/templates/user-interview.md +69 -0
  253. package/templates/validation-checklist.md +108 -0
  254. package/templates/workflow-backend-micronaut.md +409 -0
  255. package/templates/workflow-frontend-react.md +233 -0
@@ -0,0 +1,467 @@
1
+ # Build-Measure-Learn Cycle
2
+
3
+ ## Overview
4
+ The Build-Measure-Learn cycle is the fundamental framework of the Lean Startup methodology, created by Eric Ries. It's a feedback loop designed to help startups develop products iteratively, minimize waste, and maximize learning. The goal is to traverse the loop as quickly as possible to accelerate validated learning about customers and the market.
5
+
6
+ ## When to Use
7
+ - Developing new products or features
8
+ - Testing business model assumptions
9
+ - Entering new markets
10
+ - Improving existing products
11
+ - Making strategic decisions
12
+ - Validating pivot decisions
13
+ - Optimizing product-market fit
14
+
15
+ ## The Core Loop
16
+
17
+ ### The Three Phases
18
+
19
+ 1. **BUILD**: Turn ideas into products
20
+ 2. **MEASURE**: See how customers respond
21
+ 3. **LEARN**: Decide whether to pivot or persevere
22
+
23
+ ### The Real Order: Learn-Measure-Build
24
+ Although called Build-Measure-Learn, planning happens in reverse:
25
+ 1. What do we need to learn?
26
+ 2. What do we need to measure to learn that?
27
+ 3. What do we need to build to measure that?
28
+
29
+ ## Phase 1: Build
30
+
31
+ ### Purpose
32
+ Create the minimum viable product (MVP) needed to start the learning process
33
+
34
+ ### Key Concepts
35
+
36
+ **Minimum Viable Product (MVP)**:
37
+ - Smallest thing you can build to learn
38
+ - Not necessarily minimal features
39
+ - Maximum learning per effort invested
40
+ - Can be very simple (landing page, video, etc.)
41
+
42
+ **Types of MVPs**:
43
+ 1. **Concierge MVP**: Manual service delivery
44
+ 2. **Wizard of Oz**: Manual backend, automated frontend
45
+ 3. **Landing Page**: Test demand/interest
46
+ 4. **Video MVP**: Explain concept without building
47
+ 5. **Piecemeal MVP**: Use existing tools
48
+ 6. **Single Feature**: One core functionality
49
+
50
+ ### Build Principles
51
+
52
+ **Speed Over Perfection**:
53
+ - "If you're not embarrassed, you launched too late"
54
+ - Focus on core value proposition
55
+ - Polish comes after validation
56
+
57
+ **Build to Learn, Not to Last**:
58
+ - Code/product may be throwaway
59
+ - Learning is the asset
60
+ - Technical debt is acceptable initially
61
+
62
+ **Actionable Metrics Focus**:
63
+ - Build in measurement from start
64
+ - Every feature should test hypothesis
65
+ - Avoid vanity metrics
66
+
67
+ ### Common Build Mistakes
68
+ 1. Building too much
69
+ 2. Perfectionism
70
+ 3. Not building measurement in
71
+ 4. Solving wrong problem
72
+ 5. Ignoring core assumption
73
+
74
+ ## Phase 2: Measure
75
+
76
+ ### Purpose
77
+ Collect data on how customers interact with the MVP
78
+
79
+ ### Key Metrics Types
80
+
81
+ **Actionable Metrics**:
82
+ - Directly tie to business outcomes
83
+ - Can influence decisions
84
+ - Clear cause and effect
85
+
86
+ Examples:
87
+ - Conversion rate
88
+ - Customer acquisition cost
89
+ - Lifetime value
90
+ - Churn rate
91
+ - Activation rate
92
+
93
+ **Vanity Metrics** (Avoid):
94
+ - Make you feel good but don't drive decisions
95
+ - No clear action items
96
+ - Often cumulative
97
+
98
+ Examples:
99
+ - Total registered users
100
+ - Total downloads
101
+ - Page views
102
+ - Press mentions
103
+
104
+ ### Innovation Accounting
105
+
106
+ **Three Milestones**:
107
+
108
+ 1. **Establish Baseline**:
109
+ - Current state metrics
110
+ - Initial conversion rates
111
+ - Starting point for improvement
112
+
113
+ 2. **Tune the Engine**:
114
+ - Experiment to improve metrics
115
+ - A/B testing
116
+ - Feature iterations
117
+
118
+ 3. **Pivot or Persevere**:
119
+ - Are metrics improving?
120
+ - Is improvement rate acceptable?
121
+ - Time for strategic change?
122
+
123
+ ### Measurement Framework
124
+
125
+ **Pirate Metrics (AARRR)**:
126
+ - **Acquisition**: How do users find you?
127
+ - **Activation**: Do they have good first experience?
128
+ - **Retention**: Do they come back?
129
+ - **Referral**: Do they tell others?
130
+ - **Revenue**: Do they pay?
131
+
132
+ **Cohort Analysis**:
133
+ - Group users by start date
134
+ - Track behavior over time
135
+ - Compare cohorts
136
+ - Identify improvements
137
+
138
+ **A/B Testing**:
139
+ - Test one variable at a time
140
+ - Statistical significance required
141
+ - Run long enough for reliable data
142
+ - Act on results
143
+
144
+ ### Measurement Tools
145
+ - Analytics: Google Analytics, Mixpanel, Amplitude
146
+ - A/B Testing: Optimizely, VWO, Google Optimize
147
+ - User Feedback: Hotjar, FullStory
148
+ - Surveys: Typeform, SurveyMonkey
149
+ - Custom Dashboards: Tableau, Looker
150
+
151
+ ## Phase 3: Learn
152
+
153
+ ### Purpose
154
+ Synthesize data into validated learning about customers
155
+
156
+ ### Types of Learning
157
+
158
+ **Validated Learning**:
159
+ - Backed by empirical data
160
+ - From real customer behavior
161
+ - Not opinions or projections
162
+ - Demonstrates progress
163
+
164
+ **Invalidated Assumptions**:
165
+ - Equally valuable
166
+ - Saves time/resources
167
+ - Indicates need to pivot
168
+ - Prevents larger failures
169
+
170
+ ### Learning Questions
171
+
172
+ **Customer Learning**:
173
+ - Who is the customer?
174
+ - What problem do they have?
175
+ - How severe is the problem?
176
+ - What are they willing to pay?
177
+
178
+ **Product Learning**:
179
+ - Which features drive value?
180
+ - What causes churn?
181
+ - What drives word-of-mouth?
182
+ - What creates habits?
183
+
184
+ **Business Model Learning**:
185
+ - Is customer acquisition sustainable?
186
+ - Are unit economics positive?
187
+ - Is the market large enough?
188
+ - Can we scale efficiently?
189
+
190
+ ### Pivot or Persevere Decision
191
+
192
+ **When to Persevere**:
193
+ - Metrics improving adequately
194
+ - Clear path to targets
195
+ - Customer love evident
196
+ - Unit economics working
197
+
198
+ **When to Pivot**:
199
+ - Metrics flat despite efforts
200
+ - Fundamental assumption wrong
201
+ - Better opportunity discovered
202
+ - Running out of runway
203
+
204
+ **Types of Pivots**:
205
+ 1. **Zoom-in**: Single feature becomes product
206
+ 2. **Zoom-out**: Product becomes single feature
207
+ 3. **Customer Segment**: New audience
208
+ 4. **Customer Need**: New problem
209
+ 5. **Platform**: App to platform or vice versa
210
+ 6. **Business Architecture**: High margin/low volume to opposite
211
+ 7. **Value Capture**: Monetization model change
212
+ 8. **Engine of Growth**: Viral, sticky, or paid
213
+ 9. **Channel**: Sales or distribution change
214
+ 10. **Technology**: New tech for solution
215
+
216
+ ## Accelerating the Cycle
217
+
218
+ ### Batch Size Reduction
219
+ - Smaller releases
220
+ - More frequent deployments
221
+ - Faster feedback
222
+ - Reduced risk
223
+
224
+ ### Continuous Deployment
225
+ - Automated testing
226
+ - Feature flags
227
+ - Gradual rollouts
228
+ - Quick rollbacks
229
+
230
+ ### Split Testing Everything
231
+ - Headlines and copy
232
+ - Features and flows
233
+ - Pricing and packaging
234
+ - Channels and messages
235
+
236
+ ### Customer Development Integration
237
+ - Regular customer interviews
238
+ - Observation sessions
239
+ - Feedback loops
240
+ - Advisory boards
241
+
242
+ ## Common Anti-Patterns
243
+
244
+ ### Analysis Paralysis
245
+ **Problem**: Endless analysis without action
246
+ **Solution**: Set learning deadlines, bias toward action
247
+
248
+ ### Build Trap
249
+ **Problem**: Building features without learning
250
+ **Solution**: Every feature must test hypothesis
251
+
252
+ ### Metric Manipulation
253
+ **Problem**: Gaming metrics instead of creating value
254
+ **Solution**: Focus on honest, actionable metrics
255
+
256
+ ### Premature Optimization
257
+ **Problem**: Perfecting before validating
258
+ **Solution**: Validate first, optimize later
259
+
260
+ ### Local Maximum
261
+ **Problem**: Small optimizations missing big picture
262
+ **Solution**: Regular strategic reviews
263
+
264
+ ## Case Studies
265
+
266
+ ### Dropbox
267
+ **Build**: Video demonstrating concept
268
+ **Measure**: Signups from video
269
+ **Learn**: Demand validated before building
270
+ **Result**: Explosive growth after launch
271
+
272
+ ### Zappos
273
+ **Build**: Photos of shoes, manual fulfillment
274
+ **Measure**: Purchase conversion
275
+ **Learn**: People will buy shoes online
276
+ **Result**: Billion-dollar acquisition
277
+
278
+ ### Groupon
279
+ **Build**: WordPress blog with PDFs
280
+ **Measure**: Coupon redemption
281
+ **Learn**: Group buying works
282
+ **Result**: Fastest growing company ever
283
+
284
+ ### Instagram
285
+ **Build**: Burbn (check-in app)
286
+ **Measure**: Feature usage
287
+ **Learn**: Photo sharing most used
288
+ **Result**: Pivoted to photos only
289
+
290
+ ## Implementation Framework
291
+
292
+ ### Week 1: Planning
293
+ 1. Define key assumptions
294
+ 2. Prioritize by risk
295
+ 3. Design experiments
296
+ 4. Set success criteria
297
+
298
+ ### Week 2-3: Building
299
+ 1. Create simplest test
300
+ 2. Implement measurement
301
+ 3. Prepare launch
302
+ 4. Document hypotheses
303
+
304
+ ### Week 4-5: Measuring
305
+ 1. Launch to users
306
+ 2. Collect data
307
+ 3. Monitor metrics
308
+ 4. Gather feedback
309
+
310
+ ### Week 6: Learning
311
+ 1. Analyze results
312
+ 2. Compare to hypotheses
313
+ 3. Decide next steps
314
+ 4. Plan next cycle
315
+
316
+ ## Tools for Each Phase
317
+
318
+ ### Build Tools
319
+ - **No-Code**: Bubble, Webflow, Zapier
320
+ - **Prototyping**: Figma, InVision
321
+ - **Development**: Firebase, AWS
322
+ - **Landing Pages**: Unbounce, Leadpages
323
+
324
+ ### Measure Tools
325
+ - **Analytics**: Google Analytics, Segment
326
+ - **Heatmaps**: Hotjar, Crazy Egg
327
+ - **User Testing**: UserTesting.com
328
+ - **Surveys**: Typeform, Google Forms
329
+
330
+ ### Learn Tools
331
+ - **Data Analysis**: Excel, Tableau
332
+ - **User Research**: Dovetail, Aurelius
333
+ - **Documentation**: Notion, Confluence
334
+ - **Decision Making**: ICE scoring, RICE
335
+
336
+ ## Metrics That Matter
337
+
338
+ ### By Business Model
339
+
340
+ **SaaS**:
341
+ - Monthly Recurring Revenue (MRR)
342
+ - Churn Rate
343
+ - Customer Acquisition Cost (CAC)
344
+ - Lifetime Value (LTV)
345
+ - LTV:CAC Ratio
346
+
347
+ **E-commerce**:
348
+ - Conversion Rate
349
+ - Average Order Value
350
+ - Cart Abandonment
351
+ - Repeat Purchase Rate
352
+ - Customer Acquisition Cost
353
+
354
+ **Marketplace**:
355
+ - Gross Merchandise Value
356
+ - Take Rate
357
+ - Liquidity
358
+ - Match Rate
359
+ - Cross-side Network Effects
360
+
361
+ **Mobile App**:
362
+ - Daily Active Users (DAU)
363
+ - Retention Curves
364
+ - Session Length
365
+ - In-app Purchase Rate
366
+ - Viral Coefficient
367
+
368
+ ## Advanced Techniques
369
+
370
+ ### Lean Analytics Stages
371
+ 1. **Empathy**: Finding problems worth solving
372
+ 2. **Stickiness**: Building engaging solution
373
+ 3. **Virality**: Growing organically
374
+ 4. **Revenue**: Monetizing value
375
+ 5. **Scale**: Growing efficiently
376
+
377
+ ### One Metric That Matters (OMTM)
378
+ - Focus entire team on single metric
379
+ - Changes based on stage
380
+ - Clear improvement target
381
+ - Time-boxed focus period
382
+
383
+ ### Innovation Options
384
+ - Real options thinking
385
+ - Multiple bets
386
+ - Kill unsuccessful quickly
387
+ - Double down on winners
388
+
389
+ ## Integration with Other Frameworks
390
+
391
+ ### With Customer Development
392
+ - BML provides structure
393
+ - Customer Development provides depth
394
+ - Use together for complete picture
395
+
396
+ ### With Agile/Scrum
397
+ - BML at strategic level
398
+ - Agile at tactical level
399
+ - Sprints within Build phase
400
+
401
+ ### With Design Thinking
402
+ - Design Thinking for ideation
403
+ - BML for validation
404
+ - Complementary approaches
405
+
406
+ ## Common Questions
407
+
408
+ **How fast should the cycle be?**
409
+ - As fast as possible while maintaining learning quality
410
+ - Typically 1-4 weeks for software
411
+ - Longer for hardware/complex products
412
+
413
+ **How do you know when to stop?**
414
+ - When you achieve product-market fit
415
+ - When metrics plateau despite efforts
416
+ - When better opportunity emerges
417
+
418
+ **What if we can't measure everything?**
419
+ - Proxy metrics acceptable
420
+ - Qualitative data valuable
421
+ - Some learning better than none
422
+
423
+ **How do you balance speed and quality?**
424
+ - Quality bar rises over time
425
+ - Initial focus on learning
426
+ - Polish after validation
427
+
428
+ ## Success Indicators
429
+
430
+ ### You're Doing It Right When:
431
+ - Cycle time decreasing
432
+ - Learning compound
433
+ - Pivots get easier
434
+ - Customers pull you forward
435
+ - Metrics drive decisions
436
+
437
+ ### Warning Signs:
438
+ - Cycles taking longer
439
+ - Building without hypotheses
440
+ - Ignoring negative data
441
+ - Feature creep
442
+ - Vanity metric focus
443
+
444
+ ## Quick Start Checklist
445
+
446
+ ### Before First Cycle:
447
+ - [ ] Key assumptions listed
448
+ - [ ] Success metrics defined
449
+ - [ ] MVP scope determined
450
+ - [ ] Measurement plan ready
451
+ - [ ] Learning goals clear
452
+
453
+ ### During Cycle:
454
+ - [ ] Building only what's needed
455
+ - [ ] Measuring the right things
456
+ - [ ] Talking to customers
457
+ - [ ] Documenting learnings
458
+ - [ ] Staying objective
459
+
460
+ ### After Cycle:
461
+ - [ ] Results analyzed
462
+ - [ ] Learnings documented
463
+ - [ ] Next steps clear
464
+ - [ ] Team aligned
465
+ - [ ] Stakeholders updated
466
+
467
+ The Build-Measure-Learn cycle is the engine of the Lean Startup. It transforms uncertainty into knowledge, assumptions into facts, and ideas into successful products. The key is to move through the cycle quickly, measure honestly, and learn continuously. Remember: the goal isn't to build products—it's to build a sustainable business through validated learning.