bobo-ai-cli 1.0.1

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 (234) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +216 -0
  3. package/dist/agent.d.ts +9 -0
  4. package/dist/agent.js +144 -0
  5. package/dist/agent.js.map +1 -0
  6. package/dist/config.d.ts +15 -0
  7. package/dist/config.js +76 -0
  8. package/dist/config.js.map +1 -0
  9. package/dist/index.d.ts +2 -0
  10. package/dist/index.js +366 -0
  11. package/dist/index.js.map +1 -0
  12. package/dist/knowledge-commands.d.ts +2 -0
  13. package/dist/knowledge-commands.js +40 -0
  14. package/dist/knowledge-commands.js.map +1 -0
  15. package/dist/knowledge.d.ts +17 -0
  16. package/dist/knowledge.js +112 -0
  17. package/dist/knowledge.js.map +1 -0
  18. package/dist/memory.d.ts +17 -0
  19. package/dist/memory.js +215 -0
  20. package/dist/memory.js.map +1 -0
  21. package/dist/planner.d.ts +22 -0
  22. package/dist/planner.js +130 -0
  23. package/dist/planner.js.map +1 -0
  24. package/dist/project.d.ts +25 -0
  25. package/dist/project.js +117 -0
  26. package/dist/project.js.map +1 -0
  27. package/dist/rules-commands.d.ts +2 -0
  28. package/dist/rules-commands.js +51 -0
  29. package/dist/rules-commands.js.map +1 -0
  30. package/dist/skills.d.ts +28 -0
  31. package/dist/skills.js +349 -0
  32. package/dist/skills.js.map +1 -0
  33. package/dist/structured/loader.d.ts +19 -0
  34. package/dist/structured/loader.js +147 -0
  35. package/dist/structured/loader.js.map +1 -0
  36. package/dist/structured/paths.d.ts +2 -0
  37. package/dist/structured/paths.js +14 -0
  38. package/dist/structured/paths.js.map +1 -0
  39. package/dist/structured/project-scaffold.d.ts +7 -0
  40. package/dist/structured/project-scaffold.js +60 -0
  41. package/dist/structured/project-scaffold.js.map +1 -0
  42. package/dist/structured/render-markdown.d.ts +37 -0
  43. package/dist/structured/render-markdown.js +47 -0
  44. package/dist/structured/render-markdown.js.map +1 -0
  45. package/dist/structured/render-table.d.ts +1 -0
  46. package/dist/structured/render-table.js +15 -0
  47. package/dist/structured/render-table.js.map +1 -0
  48. package/dist/structured/search.d.ts +10 -0
  49. package/dist/structured/search.js +104 -0
  50. package/dist/structured/search.js.map +1 -0
  51. package/dist/structured/skill-runner.d.ts +15 -0
  52. package/dist/structured/skill-runner.js +60 -0
  53. package/dist/structured/skill-runner.js.map +1 -0
  54. package/dist/structured/types.d.ts +212 -0
  55. package/dist/structured/types.js +97 -0
  56. package/dist/structured/types.js.map +1 -0
  57. package/dist/structured-skills-commands.d.ts +3 -0
  58. package/dist/structured-skills-commands.js +126 -0
  59. package/dist/structured-skills-commands.js.map +1 -0
  60. package/dist/structured-template-commands.d.ts +2 -0
  61. package/dist/structured-template-commands.js +34 -0
  62. package/dist/structured-template-commands.js.map +1 -0
  63. package/dist/tools/index.d.ts +3 -0
  64. package/dist/tools/index.js +450 -0
  65. package/dist/tools/index.js.map +1 -0
  66. package/dist/ui.d.ts +19 -0
  67. package/dist/ui.js +72 -0
  68. package/dist/ui.js.map +1 -0
  69. package/dist/web.d.ts +4 -0
  70. package/dist/web.js +124 -0
  71. package/dist/web.js.map +1 -0
  72. package/knowledge/advanced-patterns.md +70 -0
  73. package/knowledge/agent-directives.md +74 -0
  74. package/knowledge/dream.md +36 -0
  75. package/knowledge/engineering.md +46 -0
  76. package/knowledge/error-catalog.md +33 -0
  77. package/knowledge/index.json +170 -0
  78. package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -0
  79. package/knowledge/memory/engineering-patterns.md +134 -0
  80. package/knowledge/memory/feedback_root_structure.md +16 -0
  81. package/knowledge/memory/project-contexts.md +69 -0
  82. package/knowledge/memory/tools-and-services.md +85 -0
  83. package/knowledge/rules/agents.md +62 -0
  84. package/knowledge/rules/blocking-rules.md +323 -0
  85. package/knowledge/rules/cache-management.md +379 -0
  86. package/knowledge/rules/capability-evolution.md +132 -0
  87. package/knowledge/rules/coding.md +126 -0
  88. package/knowledge/rules/engineering-workflows.md +225 -0
  89. package/knowledge/rules/evomap-content-guidelines.md +354 -0
  90. package/knowledge/rules/evomap-guide.md +224 -0
  91. package/knowledge/rules/git.md +31 -0
  92. package/knowledge/rules/hooks.md +106 -0
  93. package/knowledge/rules/performance.md +101 -0
  94. package/knowledge/rules/remotion-auto-production.md +1120 -0
  95. package/knowledge/rules/security.md +46 -0
  96. package/knowledge/rules/testing.md +32 -0
  97. package/knowledge/rules/work-mode.md +208 -0
  98. package/knowledge/rules.md +62 -0
  99. package/knowledge/skills/Skill_Seekers.md +1722 -0
  100. package/knowledge/skills/ab-test-setup.md +557 -0
  101. package/knowledge/skills/agent-sdk-dev.md +238 -0
  102. package/knowledge/skills/agent-tools.md +136 -0
  103. package/knowledge/skills/analytics-tracking.md +597 -0
  104. package/knowledge/skills/artifacts-builder.md +89 -0
  105. package/knowledge/skills/asana.md +13 -0
  106. package/knowledge/skills/backend-expert.md +97 -0
  107. package/knowledge/skills/brand-voice.md +481 -0
  108. package/knowledge/skills/browser-use.md +419 -0
  109. package/knowledge/skills/cache-optimization-skill.md +179 -0
  110. package/knowledge/skills/canvas-design.md +147 -0
  111. package/knowledge/skills/citation-validator.md +203 -0
  112. package/knowledge/skills/clangd-lsp.md +52 -0
  113. package/knowledge/skills/code-review-expert.md +85 -0
  114. package/knowledge/skills/code-review.md +280 -0
  115. package/knowledge/skills/code-simplifier.md +13 -0
  116. package/knowledge/skills/commit-commands.md +258 -0
  117. package/knowledge/skills/competitor-alternatives.md +795 -0
  118. package/knowledge/skills/content-atomizer.md +910 -0
  119. package/knowledge/skills/content-research-writer.md +605 -0
  120. package/knowledge/skills/context-optimization-suite.md +162 -0
  121. package/knowledge/skills/context7.md +13 -0
  122. package/knowledge/skills/copy-editing.md +494 -0
  123. package/knowledge/skills/copywriting.md +510 -0
  124. package/knowledge/skills/csharp-lsp.md +40 -0
  125. package/knowledge/skills/decision-making-framework.md +154 -0
  126. package/knowledge/skills/developer-growth-analysis.md +335 -0
  127. package/knowledge/skills/direct-response-copy.md +2336 -0
  128. package/knowledge/skills/docker-expert.md +229 -0
  129. package/knowledge/skills/document-skills.md +13 -0
  130. package/knowledge/skills/documentation-expert.md +126 -0
  131. package/knowledge/skills/email-sequence.md +1061 -0
  132. package/knowledge/skills/email-sequences.md +910 -0
  133. package/knowledge/skills/example-plugin.md +72 -0
  134. package/knowledge/skills/explanatory-output-style.md +82 -0
  135. package/knowledge/skills/feature-dev.md +458 -0
  136. package/knowledge/skills/file-organizer.md +466 -0
  137. package/knowledge/skills/firebase.disabled.md +13 -0
  138. package/knowledge/skills/form-cro.md +488 -0
  139. package/knowledge/skills/free-tool-strategy.md +636 -0
  140. package/knowledge/skills/frontend-design-offical.md +55 -0
  141. package/knowledge/skills/frontend-design.md +41 -0
  142. package/knowledge/skills/frontend-expert.md +93 -0
  143. package/knowledge/skills/github.md +13 -0
  144. package/knowledge/skills/gitlab.md +13 -0
  145. package/knowledge/skills/gopls-lsp.md +32 -0
  146. package/knowledge/skills/got-controller.md +218 -0
  147. package/knowledge/skills/greptile.md +72 -0
  148. package/knowledge/skills/hookify.md +376 -0
  149. package/knowledge/skills/image-editor.md +189 -0
  150. package/knowledge/skills/image-enhancer.md +109 -0
  151. package/knowledge/skills/jdtls-lsp.md +49 -0
  152. package/knowledge/skills/json-canvas.md +654 -0
  153. package/knowledge/skills/keyword-research.md +559 -0
  154. package/knowledge/skills/kotlin-lsp.md +28 -0
  155. package/knowledge/skills/laravel-boost.md +13 -0
  156. package/knowledge/skills/launch-strategy.md +394 -0
  157. package/knowledge/skills/lead-magnet.md +393 -0
  158. package/knowledge/skills/learning-output-style.md +106 -0
  159. package/knowledge/skills/linear.md +13 -0
  160. package/knowledge/skills/lua-lsp.md +47 -0
  161. package/knowledge/skills/marketing-ideas.md +720 -0
  162. package/knowledge/skills/marketing-psychology.md +534 -0
  163. package/knowledge/skills/mcp-builder.md +369 -0
  164. package/knowledge/skills/meeting-insights-analyzer.md +347 -0
  165. package/knowledge/skills/memory-evolution-system.md +172 -0
  166. package/knowledge/skills/multi-lens-thinking.md +407 -0
  167. package/knowledge/skills/nano-banana-pro.md +116 -0
  168. package/knowledge/skills/newsletter.md +736 -0
  169. package/knowledge/skills/notebooklm.md +296 -0
  170. package/knowledge/skills/obsidian-bases.md +634 -0
  171. package/knowledge/skills/obsidian-markdown.md +651 -0
  172. package/knowledge/skills/onboarding-cro.md +494 -0
  173. package/knowledge/skills/orchestrator.md +681 -0
  174. package/knowledge/skills/page-cro.md +379 -0
  175. package/knowledge/skills/paid-ads.md +624 -0
  176. package/knowledge/skills/paywall-upgrade-cro.md +651 -0
  177. package/knowledge/skills/php-lsp.md +36 -0
  178. package/knowledge/skills/planning-with-files.md +193 -0
  179. package/knowledge/skills/playwright.md +13 -0
  180. package/knowledge/skills/plugin-dev.md +434 -0
  181. package/knowledge/skills/popup-cro.md +520 -0
  182. package/knowledge/skills/positioning-angles.md +330 -0
  183. package/knowledge/skills/pr-review-toolkit.md +359 -0
  184. package/knowledge/skills/pricing-strategy.md +777 -0
  185. package/knowledge/skills/programmatic-seo.md +714 -0
  186. package/knowledge/skills/pyright-lsp.md +43 -0
  187. package/knowledge/skills/quality-assurance-framework.md +168 -0
  188. package/knowledge/skills/question-refiner.md +160 -0
  189. package/knowledge/skills/ralph-loop.md +205 -0
  190. package/knowledge/skills/refactoring-expert.md +103 -0
  191. package/knowledge/skills/referral-program.md +668 -0
  192. package/knowledge/skills/research-executor.md +164 -0
  193. package/knowledge/skills/review-with-security.md +12 -0
  194. package/knowledge/skills/rust-analyzer-lsp.md +50 -0
  195. package/knowledge/skills/schema-markup.md +647 -0
  196. package/knowledge/skills/security-audit-expert.md +124 -0
  197. package/knowledge/skills/security-expert.md +140 -0
  198. package/knowledge/skills/security-guidance.md +13 -0
  199. package/knowledge/skills/seedance-prompt.md +139 -0
  200. package/knowledge/skills/self-evolution.md +1160 -0
  201. package/knowledge/skills/seo-audit.md +432 -0
  202. package/knowledge/skills/seo-content.md +787 -0
  203. package/knowledge/skills/serena.md +13 -0
  204. package/knowledge/skills/signup-flow-cro.md +409 -0
  205. package/knowledge/skills/skill-creator.md +220 -0
  206. package/knowledge/skills/skill-manager.md +226 -0
  207. package/knowledge/skills/skill-share.md +98 -0
  208. package/knowledge/skills/slack.md +13 -0
  209. package/knowledge/skills/social-content.md +878 -0
  210. package/knowledge/skills/spec-flow-skill.md +124 -0
  211. package/knowledge/skills/stripe.md +13 -0
  212. package/knowledge/skills/supabase.md +13 -0
  213. package/knowledge/skills/swift-lsp.md +40 -0
  214. package/knowledge/skills/synthesizer.md +236 -0
  215. package/knowledge/skills/template-skill.md +16 -0
  216. package/knowledge/skills/testing-expert.md +99 -0
  217. package/knowledge/skills/theme-factory.md +72 -0
  218. package/knowledge/skills/tiktok-research.md +208 -0
  219. package/knowledge/skills/typescript-lsp.md +36 -0
  220. package/knowledge/skills/ui-ux-pro-max.md +247 -0
  221. package/knowledge/skills/verify.md +15 -0
  222. package/knowledge/skills/visual-prompt-engineer.md +102 -0
  223. package/knowledge/skills/webapp-testing.md +111 -0
  224. package/knowledge/skills/wide-research.md +191 -0
  225. package/knowledge/system.md +93 -0
  226. package/knowledge/task-router.md +37 -0
  227. package/knowledge/verification.md +38 -0
  228. package/knowledge/workflows/3d-viz.md +47 -0
  229. package/knowledge/workflows/data-pipeline.md +47 -0
  230. package/knowledge/workflows/db-migration.md +51 -0
  231. package/knowledge/workflows/feature-dev.md +41 -0
  232. package/knowledge/workflows/tdd-flow.md +52 -0
  233. package/knowledge/workflows/ui-verify.md +51 -0
  234. package/package.json +60 -0
@@ -0,0 +1,668 @@
1
+ ---
2
+ id: "referral-program"
3
+ title: "Referral & Affiliate Programs"
4
+ category: "marketing"
5
+ tags: ["referral & affiliate programs", "before starting", "referral program design", "referral program examples", "affiliate program design", "viral coefficient & modeling", "program optimization", "fraud prevention", "tools & platforms", "measuring success"]
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/referral-program"
9
+ ---
10
+
11
+ ---
12
+ name: referral-program
13
+ description: "When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' or 'partner program.' This skill covers program design, incentive structure, and growth optimization."
14
+ ---
15
+
16
+ # Referral & Affiliate Programs
17
+
18
+ You are an expert in viral growth and referral marketing with access to referral program data and third-party tools. Your goal is to help design and optimize programs that turn customers into growth engines.
19
+
20
+ ## Before Starting
21
+
22
+ Gather this context (ask if not provided):
23
+
24
+ ### 1. Program Type
25
+
26
+ - Are you building a customer referral program, affiliate program, or both?
27
+ - Is this B2B or B2C?
28
+ - What's the average customer value (LTV)?
29
+ - What's your current CAC from other channels?
30
+
31
+ ### 2. Current State
32
+
33
+ - Do you have an existing referral/affiliate program?
34
+ - What's your current referral rate (% of customers who refer)?
35
+ - What incentives have you tried?
36
+ - Do you have customer NPS or satisfaction data?
37
+
38
+ ### 3. Product Fit
39
+
40
+ - Is your product shareable? (Does using it involve others?)
41
+ - Does your product have network effects?
42
+ - Do customers naturally talk about your product?
43
+ - What triggers word-of-mouth currently?
44
+
45
+ ### 4. Resources
46
+
47
+ - What tools/platforms do you use or consider?
48
+ - What's your budget for referral incentives?
49
+ - Do you have engineering resources for custom implementation?
50
+
51
+ ---
52
+
53
+ ## Referral vs. Affiliate: When to Use Each
54
+
55
+ ### Customer Referral Programs
56
+
57
+ **Best for:**
58
+
59
+ - Existing customers recommending to their network
60
+ - Products with natural word-of-mouth
61
+ - Building authentic social proof
62
+ - Lower-ticket or self-serve products
63
+
64
+ **Characteristics:**
65
+
66
+ - Referrer is an existing customer
67
+ - Motivation: Rewards + helping friends
68
+ - Typically one-time or limited rewards
69
+ - Tracked via unique links or codes
70
+ - Higher trust, lower volume
71
+
72
+ ### Affiliate Programs
73
+
74
+ **Best for:**
75
+
76
+ - Reaching audiences you don't have access to
77
+ - Content creators, influencers, bloggers
78
+ - Products with clear value proposition
79
+ - Higher-ticket products that justify commissions
80
+
81
+ **Characteristics:**
82
+
83
+ - Affiliates may not be customers
84
+ - Motivation: Revenue/commission
85
+ - Ongoing commission relationship
86
+ - Requires more management
87
+ - Higher volume, variable trust
88
+
89
+ ### Hybrid Approach
90
+
91
+ Many successful programs combine both:
92
+
93
+ - Referral program for customers (simple, small rewards)
94
+ - Affiliate program for partners (larger commissions, more structure)
95
+
96
+ ---
97
+
98
+ ## Referral Program Design
99
+
100
+ ### The Referral Loop
101
+
102
+ ```
103
+ ┌─────────────────────────────────────────────────────┐
104
+ │ │
105
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
106
+ │ │ Trigger │───▶│ Share │───▶│ Convert │ │
107
+ │ │ Moment │ │ Action │ │ Referred │ │
108
+ │ └──────────┘ └──────────┘ └──────────┘ │
109
+ │ ▲ │ │
110
+ │ │ │ │
111
+ │ └───────────────────────────────┘ │
112
+ │ Reward │
113
+ └─────────────────────────────────────────────────────┘
114
+ ```
115
+
116
+ ### Step 1: Identify Trigger Moments
117
+
118
+ When are customers most likely to refer?
119
+
120
+ **High-intent moments:**
121
+
122
+ - Right after first "aha" moment
123
+ - After achieving a milestone
124
+ - After receiving exceptional support
125
+ - After renewing or upgrading
126
+ - When they tell you they love the product
127
+
128
+ **Natural sharing moments:**
129
+
130
+ - When the product involves collaboration
131
+ - When they're asked "what tool do you use?"
132
+ - When they share results publicly
133
+ - When they complete something shareable
134
+
135
+ ### Step 2: Design the Share Mechanism
136
+
137
+ **Methods ranked by effectiveness:**
138
+
139
+ 1. **In-product sharing** — Highest conversion, feels native
140
+ 2. **Personalized link** — Easy to track, works everywhere
141
+ 3. **Email invitation** — Direct, personal, higher intent
142
+ 4. **Social sharing** — Broadest reach, lowest conversion
143
+ 5. **Referral code** — Memorable, works offline
144
+
145
+ **Best practice:** Offer multiple sharing options, lead with the highest-converting method.
146
+
147
+ ### Step 3: Choose Incentive Structure
148
+
149
+ **Single-sided rewards** (referrer only):
150
+
151
+ - Simpler to explain
152
+ - Works for high-value products
153
+ - Risk: Referred may feel no urgency
154
+
155
+ **Double-sided rewards** (both parties):
156
+
157
+ - Higher conversion rates
158
+ - Creates win-win framing
159
+ - Standard for most programs
160
+
161
+ **Tiered rewards:**
162
+
163
+ - Increases engagement over time
164
+ - Gamifies the referral process
165
+ - More complex to communicate
166
+
167
+ ### Incentive Types
168
+
169
+ | Type | Pros | Cons | Best For |
170
+ | ---------------- | -------------------- | ------------------------------- | ----------------------- |
171
+ | Cash/credit | Universally valued | Feels transactional | Marketplaces, fintech |
172
+ | Product credit | Drives usage | Only valuable if they'll use it | SaaS, subscriptions |
173
+ | Free months | Clear value | May attract freebie-seekers | Subscription products |
174
+ | Feature unlock | Low cost to you | Only works for gated features | Freemium products |
175
+ | Swag/gifts | Memorable, shareable | Logistics complexity | Brand-focused companies |
176
+ | Charity donation | Feel-good | Lower personal motivation | Mission-driven brands |
177
+
178
+ ### Incentive Sizing Framework
179
+
180
+ **Calculate your maximum incentive:**
181
+
182
+ ```
183
+ Max Referral Reward = (Customer LTV × Gross Margin) - Target CAC
184
+ ```
185
+
186
+ **Example:**
187
+
188
+ - LTV: $1,200
189
+ - Gross margin: 70%
190
+ - Target CAC: $200
191
+ - Max reward: ($1,200 × 0.70) - $200 = $640
192
+
193
+ **Typical referral rewards:**
194
+
195
+ - B2C: $10-50 or 10-25% of first purchase
196
+ - B2B SaaS: $50-500 or 1-3 months free
197
+ - Enterprise: Higher, often custom
198
+
199
+ ---
200
+
201
+ ## Referral Program Examples
202
+
203
+ ### Dropbox (Classic)
204
+
205
+ **Program:** Give 500MB storage, get 500MB storage
206
+ **Why it worked:**
207
+
208
+ - Reward directly tied to product value
209
+ - Low friction (just an email)
210
+ - Both parties benefit equally
211
+ - Gamified with progress tracking
212
+
213
+ ### Uber/Lyft
214
+
215
+ **Program:** Give $10 ride credit, get $10 when they ride
216
+ **Why it worked:**
217
+
218
+ - Immediate, clear value
219
+ - Double-sided incentive
220
+ - Easy to share (code/link)
221
+ - Triggered at natural moments
222
+
223
+ ### Morning Brew
224
+
225
+ **Program:** Tiered rewards for subscriber referrals
226
+
227
+ - 3 referrals: Newsletter stickers
228
+ - 5 referrals: T-shirt
229
+ - 10 referrals: Mug
230
+ - 25 referrals: Hoodie
231
+
232
+ **Why it worked:**
233
+
234
+ - Gamification drives ongoing engagement
235
+ - Physical rewards are shareable (more referrals)
236
+ - Low cost relative to subscriber value
237
+ - Built status/identity
238
+
239
+ ### Notion
240
+
241
+ **Program:** $10 credit per referral (education)
242
+ **Why it worked:**
243
+
244
+ - Targeted high-sharing audience (students)
245
+ - Product naturally spreads in teams
246
+ - Credit keeps users engaged
247
+
248
+ ---
249
+
250
+ ## Affiliate Program Design
251
+
252
+ ### Commission Structures
253
+
254
+ **Percentage of sale:**
255
+
256
+ - Standard: 10-30% of first sale or first year
257
+ - Works for: E-commerce, SaaS with clear pricing
258
+ - Example: "Earn 25% of every sale you refer"
259
+
260
+ **Flat fee per action:**
261
+
262
+ - Standard: $5-500 depending on value
263
+ - Works for: Lead gen, trials, freemium
264
+ - Example: "$50 for every qualified demo"
265
+
266
+ **Recurring commission:**
267
+
268
+ - Standard: 10-25% of recurring revenue
269
+ - Works for: Subscription products
270
+ - Example: "20% of subscription for 12 months"
271
+
272
+ **Tiered commission:**
273
+
274
+ - Works for: Motivating high performers
275
+ - Example: "20% for 1-10 sales, 25% for 11-25, 30% for 26+"
276
+
277
+ ### Cookie Duration
278
+
279
+ How long after click does affiliate get credit?
280
+
281
+ | Duration | Use Case |
282
+ | ---------- | ---------------------------------------- |
283
+ | 24 hours | High-volume, low-consideration purchases |
284
+ | 7-14 days | Standard e-commerce |
285
+ | 30 days | Standard SaaS/B2B |
286
+ | 60-90 days | Long sales cycles, enterprise |
287
+ | Lifetime | Premium affiliate relationships |
288
+
289
+ ### Affiliate Recruitment
290
+
291
+ **Where to find affiliates:**
292
+
293
+ - Existing customers who create content
294
+ - Industry bloggers and reviewers
295
+ - YouTubers in your niche
296
+ - Newsletter writers
297
+ - Complementary tool companies
298
+ - Consultants and agencies
299
+
300
+ **Outreach template:**
301
+
302
+ ```
303
+ Subject: Partnership opportunity — [Your Product]
304
+
305
+ Hi [Name],
306
+
307
+ I've been following your content on [topic] — particularly [specific piece] — and think there could be a great fit for a partnership.
308
+
309
+ [Your Product] helps [audience] [achieve outcome], and I think your audience would find it valuable.
310
+
311
+ We offer [commission structure] for partners, plus [additional benefits: early access, co-marketing, etc.].
312
+
313
+ Would you be open to learning more?
314
+
315
+ [Your name]
316
+ ```
317
+
318
+ ### Affiliate Enablement
319
+
320
+ Provide affiliates with:
321
+
322
+ - [ ] Unique tracking links/codes
323
+ - [ ] Product overview and key benefits
324
+ - [ ] Target audience description
325
+ - [ ] Comparison to competitors
326
+ - [ ] Creative assets (logos, banners, images)
327
+ - [ ] Sample copy and talking points
328
+ - [ ] Case studies and testimonials
329
+ - [ ] Demo access or free account
330
+ - [ ] FAQ and objection handling
331
+ - [ ] Payment terms and schedule
332
+
333
+ ---
334
+
335
+ ## Viral Coefficient & Modeling
336
+
337
+ ### Key Metrics
338
+
339
+ **Viral coefficient (K-factor):**
340
+
341
+ ```
342
+ K = Invitations × Conversion Rate
343
+
344
+ K > 1 = Viral growth (each user brings more than 1 new user)
345
+ K < 1 = Amplified growth (referrals supplement other acquisition)
346
+ ```
347
+
348
+ **Example:**
349
+
350
+ - Average customer sends 3 invitations
351
+ - 15% of invitations convert
352
+ - K = 3 × 0.15 = 0.45
353
+
354
+ **Referral rate:**
355
+
356
+ ```
357
+ Referral Rate = (Customers who refer) / (Total customers)
358
+ ```
359
+
360
+ Benchmarks:
361
+
362
+ - Good: 10-25% of customers refer
363
+ - Great: 25-50%
364
+ - Exceptional: 50%+
365
+
366
+ **Referrals per referrer:**
367
+
368
+ ```
369
+ How many successful referrals does each referring customer generate?
370
+ ```
371
+
372
+ Benchmarks:
373
+
374
+ - Average: 1-2 referrals per referrer
375
+ - Good: 2-5
376
+ - Exceptional: 5+
377
+
378
+ ### Calculating Referral Program ROI
379
+
380
+ ```
381
+ Referral Program ROI = (Revenue from referred customers - Program costs) / Program costs
382
+
383
+ Program costs = Rewards paid + Tool costs + Management time
384
+ ```
385
+
386
+ **Track separately:**
387
+
388
+ - Cost per referred customer (CAC via referral)
389
+ - LTV of referred customers (often higher than average)
390
+ - Payback period for referral rewards
391
+
392
+ ---
393
+
394
+ ## Program Optimization
395
+
396
+ ### Improving Referral Rate
397
+
398
+ **If few customers are referring:**
399
+
400
+ - Ask at better moments (after wins, not randomly)
401
+ - Simplify the sharing process
402
+ - Test different incentive types
403
+ - Make the referral prominent in product
404
+ - Remind via email campaigns
405
+ - Reduce friction in the flow
406
+
407
+ **If referrals aren't converting:**
408
+
409
+ - Improve the landing experience for referred users
410
+ - Strengthen the incentive for new users
411
+ - Test different messaging on referral pages
412
+ - Ensure the referrer's endorsement is visible
413
+ - Shorten the path to value
414
+
415
+ ### A/B Tests to Run
416
+
417
+ **Incentive tests:**
418
+
419
+ - Reward amount (10% higher, 20% higher)
420
+ - Reward type (credit vs. cash vs. free months)
421
+ - Single vs. double-sided
422
+ - Immediate vs. delayed reward
423
+
424
+ **Messaging tests:**
425
+
426
+ - How you describe the program
427
+ - CTA copy on share buttons
428
+ - Email subject lines for referral invites
429
+ - Landing page copy for referred users
430
+
431
+ **Placement tests:**
432
+
433
+ - Where the referral prompt appears
434
+ - When it appears (trigger timing)
435
+ - How prominent it is
436
+ - In-app vs. email prompts
437
+
438
+ ### Common Problems & Fixes
439
+
440
+ | Problem | Likely Cause | Fix |
441
+ | ------------------ | --------------------- | --------------------------------- |
442
+ | Low awareness | Program not visible | Add prominent in-app prompts |
443
+ | Low share rate | Too much friction | Simplify to one click |
444
+ | Low conversion | Weak landing page | Optimize referred user experience |
445
+ | Fraud/abuse | Gaming the system | Add verification, limits |
446
+ | One-time referrers | No ongoing motivation | Add tiered/gamified rewards |
447
+
448
+ ---
449
+
450
+ ## Fraud Prevention
451
+
452
+ ### Common Referral Fraud
453
+
454
+ - Self-referrals (creating fake accounts)
455
+ - Referral rings (groups referring each other)
456
+ - Coupon sites posting referral codes
457
+ - Fake email addresses
458
+ - VPN/device spoofing
459
+
460
+ ### Prevention Measures
461
+
462
+ **Technical:**
463
+
464
+ - Email verification required
465
+ - Device fingerprinting
466
+ - IP address monitoring
467
+ - Delayed reward payout (after activation)
468
+ - Minimum activity threshold
469
+
470
+ **Policy:**
471
+
472
+ - Clear terms of service
473
+ - Maximum referrals per period
474
+ - Reward clawback for refunds/chargebacks
475
+ - Manual review for suspicious patterns
476
+
477
+ **Structural:**
478
+
479
+ - Require referred user to take meaningful action
480
+ - Cap lifetime rewards
481
+ - Pay rewards in product credit (less attractive to fraudsters)
482
+
483
+ ---
484
+
485
+ ## Tools & Platforms
486
+
487
+ ### Referral Program Tools
488
+
489
+ **Full-featured platforms:**
490
+
491
+ - ReferralCandy — E-commerce focused
492
+ - Ambassador — Enterprise referral programs
493
+ - Friendbuy — E-commerce and subscription
494
+ - GrowSurf — SaaS and tech companies
495
+ - Viral Loops — Template-based campaigns
496
+
497
+ **Built-in options:**
498
+
499
+ - Stripe (basic referral tracking)
500
+ - HubSpot (CRM-integrated)
501
+ - Segment (tracking and analytics)
502
+
503
+ ### Affiliate Program Tools
504
+
505
+ **Affiliate networks:**
506
+
507
+ - ShareASale — Large merchant network
508
+ - Impact — Enterprise partnerships
509
+ - PartnerStack — SaaS focused
510
+ - Tapfiliate — Simple SaaS affiliate tracking
511
+ - FirstPromoter — SaaS affiliate management
512
+
513
+ **Self-hosted:**
514
+
515
+ - Rewardful — Stripe-integrated affiliates
516
+ - Refersion — E-commerce affiliates
517
+
518
+ ### Choosing a Tool
519
+
520
+ Consider:
521
+
522
+ - Integration with your payment system
523
+ - Fraud detection capabilities
524
+ - Payout management
525
+ - Reporting and analytics
526
+ - Customization options
527
+ - Price vs. program scale
528
+
529
+ ---
530
+
531
+ ## Email Sequences for Referral Programs
532
+
533
+ ### Referral Program Launch
534
+
535
+ **Email 1: Announcement**
536
+
537
+ ```
538
+ Subject: You can now earn [reward] for sharing [Product]
539
+
540
+ Body:
541
+ We just launched our referral program!
542
+
543
+ Share [Product] with friends and earn [reward] for each person who signs up. They get [their reward] too.
544
+
545
+ [Unique referral link]
546
+
547
+ Here's how it works:
548
+ 1. Share your link
549
+ 2. Friend signs up
550
+ 3. You both get [reward]
551
+
552
+ [CTA: Share now]
553
+ ```
554
+
555
+ ### Referral Nurture Sequence
556
+
557
+ **After signup (if they haven't referred):**
558
+
559
+ - Day 7: Remind about referral program
560
+ - Day 30: "Know anyone who'd benefit?"
561
+ - Day 60: Success story + referral prompt
562
+ - After milestone: "You just [achievement] — know others who'd want this?"
563
+
564
+ ### Re-engagement for Past Referrers
565
+
566
+ ```
567
+ Subject: Your friends are loving [Product]
568
+
569
+ Body:
570
+ Remember when you referred [Name]? They've [achievement/milestone].
571
+
572
+ Know anyone else who'd benefit? You'll earn [reward] for each friend who joins.
573
+
574
+ [Referral link]
575
+ ```
576
+
577
+ ---
578
+
579
+ ## Measuring Success
580
+
581
+ ### Dashboard Metrics
582
+
583
+ **Program health:**
584
+
585
+ - Active referrers (referred someone in last 30 days)
586
+ - Total referrals (invites sent)
587
+ - Referral conversion rate
588
+ - Rewards earned/paid
589
+
590
+ **Business impact:**
591
+
592
+ - % of new customers from referrals
593
+ - CAC via referral vs. other channels
594
+ - LTV of referred customers
595
+ - Referral program ROI
596
+
597
+ ### Cohort Analysis
598
+
599
+ Track referred customers separately:
600
+
601
+ - Do they convert faster?
602
+ - Do they have higher LTV?
603
+ - Do they refer others at higher rates?
604
+ - Do they churn less?
605
+
606
+ Typical findings:
607
+
608
+ - Referred customers have 16-25% higher LTV
609
+ - Referred customers have 18-37% lower churn
610
+ - Referred customers refer others at 2-3x rate
611
+
612
+ ---
613
+
614
+ ## Launch Checklist
615
+
616
+ ### Before Launch
617
+
618
+ - [ ] Define program goals and success metrics
619
+ - [ ] Design incentive structure
620
+ - [ ] Build or configure referral tool
621
+ - [ ] Create referral landing page
622
+ - [ ] Design email templates
623
+ - [ ] Set up tracking and attribution
624
+ - [ ] Define fraud prevention rules
625
+ - [ ] Create terms and conditions
626
+ - [ ] Test complete referral flow
627
+ - [ ] Plan launch announcement
628
+
629
+ ### Launch
630
+
631
+ - [ ] Announce to existing customers (email)
632
+ - [ ] Add in-app referral prompts
633
+ - [ ] Update website with program details
634
+ - [ ] Brief support team on program
635
+ - [ ] Monitor for fraud/issues
636
+ - [ ] Track initial metrics
637
+
638
+ ### Post-Launch (First 30 Days)
639
+
640
+ - [ ] Review conversion funnel
641
+ - [ ] Identify top referrers
642
+ - [ ] Gather feedback on program
643
+ - [ ] Fix any friction points
644
+ - [ ] Plan first optimizations
645
+ - [ ] Send reminder emails to non-referrers
646
+
647
+ ---
648
+
649
+ ## Questions to Ask
650
+
651
+ If you need more context:
652
+
653
+ 1. What type of program are you building (referral, affiliate, or both)?
654
+ 2. What's your customer LTV and current CAC?
655
+ 3. Do you have an existing program, or starting from scratch?
656
+ 4. What tools/platforms are you using or considering?
657
+ 5. What's your budget for rewards/commissions?
658
+ 6. Is your product naturally shareable (involves others, visible results)?
659
+
660
+ ---
661
+
662
+ ## Related Skills
663
+
664
+ - **launch-strategy**: For launching referral program effectively
665
+ - **email-sequence**: For referral nurture campaigns
666
+ - **marketing-psychology**: For understanding referral motivation
667
+ - **analytics-tracking**: For tracking referral attribution
668
+ - **pricing-strategy**: For structuring rewards relative to LTV