[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AE37DS9YWMTGS02SWJKBDT":3,"skill-same:01M6AE37DS9YWMTGS02SWJKBDT":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6AE37DS9YWMTGS02SWJKBDT","referral-program",null,"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.","davila7\u002Fclaude-code-templates","davila7","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6216945?v=4","01M6ADEWWFPS191NFM0Y1EX1JH","Daniel Avila","01M6ADJHGM78PHQRD3XZTFDVKK",33332,"MIT","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fbusiness-marketing\u002Freferral-program\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"program","referral program","referral","use","when","affiliate","partner","viral","structure","optimize","program design","design","growth","user","strategy","analyze","Word","loop","Optimization","create","2026-11-10 10:12:30",false,"---\nname: referral-program\ndescription: \"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.\"\n---\n\n# Referral & Affiliate Programs\n\nYou 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.\n\n## Before Starting\n\nGather this context (ask if not provided):\n\n### 1. Program Type\n- Are you building a customer referral program, affiliate program, or both?\n- Is this B2B or B2C?\n- What's the average customer value (LTV)?\n- What's your current CAC from other channels?\n\n### 2. Current State\n- Do you have an existing referral\u002Faffiliate program?\n- What's your current referral rate (% of customers who refer)?\n- What incentives have you tried?\n- Do you have customer NPS or satisfaction data?\n\n### 3. Product Fit\n- Is your product shareable? (Does using it involve others?)\n- Does your product have network effects?\n- Do customers naturally talk about your product?\n- What triggers word-of-mouth currently?\n\n### 4. Resources\n- What tools\u002Fplatforms do you use or consider?\n- What's your budget for referral incentives?\n- Do you have engineering resources for custom implementation?\n\n---\n\n## Referral vs. Affiliate: When to Use Each\n\n### Customer Referral Programs\n\n**Best for:**\n- Existing customers recommending to their network\n- Products with natural word-of-mouth\n- Building authentic social proof\n- Lower-ticket or self-serve products\n\n**Characteristics:**\n- Referrer is an existing customer\n- Motivation: Rewards + helping friends\n- Typically one-time or limited rewards\n- Tracked via unique links or codes\n- Higher trust, lower volume\n\n### Affiliate Programs\n\n**Best for:**\n- Reaching audiences you don't have access to\n- Content creators, influencers, bloggers\n- Products with clear value proposition\n- Higher-ticket products that justify commissions\n\n**Characteristics:**\n- Affiliates may not be customers\n- Motivation: Revenue\u002Fcommission\n- Ongoing commission relationship\n- Requires more management\n- Higher volume, variable trust\n\n### Hybrid Approach\n\nMany successful programs combine both:\n- Referral program for customers (simple, small rewards)\n- Affiliate program for partners (larger commissions, more structure)\n\n---\n\n## Referral Program Design\n\n### The Referral Loop\n\n```\n┌─────────────────────────────────────────────────────┐\n│                                                     │\n│  ┌──────────┐    ┌──────────┐    ┌──────────┐     │\n│  │ Trigger  │───▶│  Share   │───▶│ Convert  │     │\n│  │ Moment   │    │  Action  │    │ Referred │     │\n│  └──────────┘    └──────────┘    └──────────┘     │\n│       ▲                               │            │\n│       │                               │            │\n│       └───────────────────────────────┘            │\n│                  Reward                            │\n└─────────────────────────────────────────────────────┘\n```\n\n### Step 1: Identify Trigger Moments\n\nWhen are customers most likely to refer?\n\n**High-intent moments:**\n- Right after first \"aha\" moment\n- After achieving a milestone\n- After receiving exceptional support\n- After renewing or upgrading\n- When they tell you they love the product\n\n**Natural sharing moments:**\n- When the product involves collaboration\n- When they're asked \"what tool do you use?\"\n- When they share results publicly\n- When they complete something shareable\n\n### Step 2: Design the Share Mechanism\n\n**Methods ranked by effectiveness:**\n\n1. **In-product sharing** — Highest conversion, feels native\n2. **Personalized link** — Easy to track, works everywhere\n3. **Email invitation** — Direct, personal, higher intent\n4. **Social sharing** — Broadest reach, lowest conversion\n5. **Referral code** — Memorable, works offline\n\n**Best practice:** Offer multiple sharing options, lead with the highest-converting method.\n\n### Step 3: Choose Incentive Structure\n\n**Single-sided rewards** (referrer only):\n- Simpler to explain\n- Works for high-value products\n- Risk: Referred may feel no urgency\n\n**Double-sided rewards** (both parties):\n- Higher conversion rates\n- Creates win-win framing\n- Standard for most programs\n\n**Tiered rewards:**\n- Increases engagement over time\n- Gamifies the referral process\n- More complex to communicate\n\n### Incentive Types\n\n| Type | Pros | Cons | Best For |\n|------|------|------|----------|\n| Cash\u002Fcredit | Universally valued | Feels transactional | Marketplaces, fintech |\n| Product credit | Drives usage | Only valuable if they'll use it | SaaS, subscriptions |\n| Free months | Clear value | May attract freebie-seekers | Subscription products |\n| Feature unlock | Low cost to you | Only works for gated features | Freemium products |\n| Swag\u002Fgifts | Memorable, shareable | Logistics complexity | Brand-focused companies |\n| Charity donation | Feel-good | Lower personal motivation | Mission-driven brands |\n\n### Incentive Sizing Framework\n\n**Calculate your maximum incentive:**\n```\nMax Referral Reward = (Customer LTV × Gross Margin) - Target CAC\n```\n\n**Example:**\n- LTV: $1,200\n- Gross margin: 70%\n- Target CAC: $200\n- Max reward: ($1,200 × 0.70) - $200 = $640\n\n**Typical referral rewards:**\n- B2C: $10-50 or 10-25% of first purchase\n- B2B SaaS: $50-500 or 1-3 months free\n- Enterprise: Higher, often custom\n\n---\n\n## Referral Program Examples\n\n### Dropbox (Classic)\n\n**Program:** Give 500MB storage, get 500MB storage\n**Why it worked:**\n- Reward directly tied to product value\n- Low friction (just an email)\n- Both parties benefit equally\n- Gamified with progress tracking\n\n### Uber\u002FLyft\n\n**Program:** Give $10 ride credit, get $10 when they ride\n**Why it worked:**\n- Immediate, clear value\n- Double-sided incentive\n- Easy to share (code\u002Flink)\n- Triggered at natural moments\n\n### Morning Brew\n\n**Program:** Tiered rewards for subscriber referrals\n- 3 referrals: Newsletter stickers\n- 5 referrals: T-shirt\n- 10 referrals: Mug\n- 25 referrals: Hoodie\n\n**Why it worked:**\n- Gamification drives ongoing engagement\n- Physical rewards are shareable (more referrals)\n- Low cost relative to subscriber value\n- Built status\u002Fidentity\n\n### Notion\n\n**Program:** $10 credit per referral (education)\n**Why it worked:**\n- Targeted high-sharing audience (students)\n- Product naturally spreads in teams\n- Credit keeps users engaged\n\n---\n\n## Affiliate Program Design\n\n### Commission Structures\n\n**Percentage of sale:**\n- Standard: 10-30% of first sale or first year\n- Works for: E-commerce, SaaS with clear pricing\n- Example: \"Earn 25% of every sale you refer\"\n\n**Flat fee per action:**\n- Standard: $5-500 depending on value\n- Works for: Lead gen, trials, freemium\n- Example: \"$50 for every qualified demo\"\n\n**Recurring commission:**\n- Standard: 10-25% of recurring revenue\n- Works for: Subscription products\n- Example: \"20% of subscription for 12 months\"\n\n**Tiered commission:**\n- Works for: Motivating high performers\n- Example: \"20% for 1-10 sales, 25% for 11-25, 30% for 26+\"\n\n### Cookie Duration\n\nHow long after click does affiliate get credit?\n\n| Duration | Use Case |\n|----------|----------|\n| 24 hours | High-volume, low-consideration purchases |\n| 7-14 days | Standard e-commerce |\n| 30 days | Standard SaaS\u002FB2B |\n| 60-90 days | Long sales cycles, enterprise |\n| Lifetime | Premium affiliate relationships |\n\n### Affiliate Recruitment\n\n**Where to find affiliates:**\n- Existing customers who create content\n- Industry bloggers and reviewers\n- YouTubers in your niche\n- Newsletter writers\n- Complementary tool companies\n- Consultants and agencies\n\n**Outreach template:**\n```\nSubject: Partnership opportunity — [Your Product]\n\nHi [Name],\n\nI've been following your content on [topic] — particularly [specific piece] — and think there could be a great fit for a partnership.\n\n[Your Product] helps [audience] [achieve outcome], and I think your audience would find it valuable.\n\nWe offer [commission structure] for partners, plus [additional benefits: early access, co-marketing, etc.].\n\nWould you be open to learning more?\n\n[Your name]\n```\n\n### Affiliate Enablement\n\nProvide affiliates with:\n- [ ] Unique tracking links\u002Fcodes\n- [ ] Product overview and key benefits\n- [ ] Target audience description\n- [ ] Comparison to competitors\n- [ ] Creative assets (logos, banners, images)\n- [ ] Sample copy and talking points\n- [ ] Case studies and testimonials\n- [ ] Demo access or free account\n- [ ] FAQ and objection handling\n- [ ] Payment terms and schedule\n\n---\n\n## Viral Coefficient & Modeling\n\n### Key Metrics\n\n**Viral coefficient (K-factor):**\n```\nK = Invitations × Conversion Rate\n\nK > 1 = Viral growth (each user brings more than 1 new user)\nK \u003C 1 = Amplified growth (referrals supplement other acquisition)\n```\n\n**Example:**\n- Average customer sends 3 invitations\n- 15% of invitations convert\n- K = 3 × 0.15 = 0.45\n\n**Referral rate:**\n```\nReferral Rate = (Customers who refer) \u002F (Total customers)\n```\n\nBenchmarks:\n- Good: 10-25% of customers refer\n- Great: 25-50%\n- Exceptional: 50%+\n\n**Referrals per referrer:**\n```\nHow many successful referrals does each referring customer generate?\n```\n\nBenchmarks:\n- Average: 1-2 referrals per referrer\n- Good: 2-5\n- Exceptional: 5+\n\n### Calculating Referral Program ROI\n\n```\nReferral Program ROI = (Revenue from referred customers - Program costs) \u002F Program costs\n\nProgram costs = Rewards paid + Tool costs + Management time\n```\n\n**Track separately:**\n- Cost per referred customer (CAC via referral)\n- LTV of referred customers (often higher than average)\n- Payback period for referral rewards\n\n---\n\n## Program Optimization\n\n### Improving Referral Rate\n\n**If few customers are referring:**\n- Ask at better moments (after wins, not randomly)\n- Simplify the sharing process\n- Test different incentive types\n- Make the referral prominent in product\n- Remind via email campaigns\n- Reduce friction in the flow\n\n**If referrals aren't converting:**\n- Improve the landing experience for referred users\n- Strengthen the incentive for new users\n- Test different messaging on referral pages\n- Ensure the referrer's endorsement is visible\n- Shorten the path to value\n\n### A\u002FB Tests to Run\n\n**Incentive tests:**\n- Reward amount (10% higher, 20% higher)\n- Reward type (credit vs. cash vs. free months)\n- Single vs. double-sided\n- Immediate vs. delayed reward\n\n**Messaging tests:**\n- How you describe the program\n- CTA copy on share buttons\n- Email subject lines for referral invites\n- Landing page copy for referred users\n\n**Placement tests:**\n- Where the referral prompt appears\n- When it appears (trigger timing)\n- How prominent it is\n- In-app vs. email prompts\n\n### Common Problems & Fixes\n\n| Problem | Likely Cause | Fix |\n|---------|--------------|-----|\n| Low awareness | Program not visible | Add prominent in-app prompts |\n| Low share rate | Too much friction | Simplify to one click |\n| Low conversion | Weak landing page | Optimize referred user experience |\n| Fraud\u002Fabuse | Gaming the system | Add verification, limits |\n| One-time referrers | No ongoing motivation | Add tiered\u002Fgamified rewards |\n\n---\n\n## Fraud Prevention\n\n### Common Referral Fraud\n\n- Self-referrals (creating fake accounts)\n- Referral rings (groups referring each other)\n- Coupon sites posting referral codes\n- Fake email addresses\n- VPN\u002Fdevice spoofing\n\n### Prevention Measures\n\n**Technical:**\n- Email verification required\n- Device fingerprinting\n- IP address monitoring\n- Delayed reward payout (after activation)\n- Minimum activity threshold\n\n**Policy:**\n- Clear terms of service\n- Maximum referrals per period\n- Reward clawback for refunds\u002Fchargebacks\n- Manual review for suspicious patterns\n\n**Structural:**\n- Require referred user to take meaningful action\n- Cap lifetime rewards\n- Pay rewards in product credit (less attractive to fraudsters)\n\n---\n\n## Tools & Platforms\n\n### Referral Program Tools\n\n**Full-featured platforms:**\n- ReferralCandy — E-commerce focused\n- Ambassador — Enterprise referral programs\n- Friendbuy — E-commerce and subscription\n- GrowSurf — SaaS and tech companies\n- Viral Loops — Template-based campaigns\n\n**Built-in options:**\n- Stripe (basic referral tracking)\n- HubSpot (CRM-integrated)\n- Segment (tracking and analytics)\n\n### Affiliate Program Tools\n\n**Affiliate networks:**\n- ShareASale — Large merchant network\n- Impact — Enterprise partnerships\n- PartnerStack — SaaS focused\n- Tapfiliate — Simple SaaS affiliate tracking\n- FirstPromoter — SaaS affiliate management\n\n**Self-hosted:**\n- Rewardful — Stripe-integrated affiliates\n- Refersion — E-commerce affiliates\n\n### Choosing a Tool\n\nConsider:\n- Integration with your payment system\n- Fraud detection capabilities\n- Payout management\n- Reporting and analytics\n- Customization options\n- Price vs. program scale\n\n---\n\n## Email Sequences for Referral Programs\n\n### Referral Program Launch\n\n**Email 1: Announcement**\n```\nSubject: You can now earn [reward] for sharing [Product]\n\nBody:\nWe just launched our referral program!\n\nShare [Product] with friends and earn [reward] for each person who signs up. They get [their reward] too.\n\n[Unique referral link]\n\nHere's how it works:\n1. Share your link\n2. Friend signs up\n3. You both get [reward]\n\n[CTA: Share now]\n```\n\n### Referral Nurture Sequence\n\n**After signup (if they haven't referred):**\n- Day 7: Remind about referral program\n- Day 30: \"Know anyone who'd benefit?\"\n- Day 60: Success story + referral prompt\n- After milestone: \"You just [achievement] — know others who'd want this?\"\n\n### Re-engagement for Past Referrers\n\n```\nSubject: Your friends are loving [Product]\n\nBody:\nRemember when you referred [Name]? They've [achievement\u002Fmilestone].\n\nKnow anyone else who'd benefit? You'll earn [reward] for each friend who joins.\n\n[Referral link]\n```\n\n---\n\n## Measuring Success\n\n### Dashboard Metrics\n\n**Program health:**\n- Active referrers (referred someone in last 30 days)\n- Total referrals (invites sent)\n- Referral conversion rate\n- Rewards earned\u002Fpaid\n\n**Business impact:**\n- % of new customers from referrals\n- CAC via referral vs. other channels\n- LTV of referred customers\n- Referral program ROI\n\n### Cohort Analysis\n\nTrack referred customers separately:\n- Do they convert faster?\n- Do they have higher LTV?\n- Do they refer others at higher rates?\n- Do they churn less?\n\nTypical findings:\n- Referred customers have 16-25% higher LTV\n- Referred customers have 18-37% lower churn\n- Referred customers refer others at 2-3x rate\n\n---\n\n## Launch Checklist\n\n### Before Launch\n\n- [ ] Define program goals and success metrics\n- [ ] Design incentive structure\n- [ ] Build or configure referral tool\n- [ ] Create referral landing page\n- [ ] Design email templates\n- [ ] Set up tracking and attribution\n- [ ] Define fraud prevention rules\n- [ ] Create terms and conditions\n- [ ] Test complete referral flow\n- [ ] Plan launch announcement\n\n### Launch\n\n- [ ] Announce to existing customers (email)\n- [ ] Add in-app referral prompts\n- [ ] Update website with program details\n- [ ] Brief support team on program\n- [ ] Monitor for fraud\u002Fissues\n- [ ] Track initial metrics\n\n### Post-Launch (First 30 Days)\n\n- [ ] Review conversion funnel\n- [ ] Identify top referrers\n- [ ] Gather feedback on program\n- [ ] Fix any friction points\n- [ ] Plan first optimizations\n- [ ] Send reminder emails to non-referrers\n\n---\n\n## Questions to Ask\n\nIf you need more context:\n1. What type of program are you building (referral, affiliate, or both)?\n2. What's your customer LTV and current CAC?\n3. Do you have an existing program, or starting from scratch?\n4. What tools\u002Fplatforms are you using or considering?\n5. What's your budget for rewards\u002Fcommissions?\n6. Is your product naturally shareable (involves others, visible results)?\n\n---\n\n## Related Skills\n\n- **launch-strategy**: For launching referral program effectively\n- **email-sequence**: For referral nurture campaigns\n- **marketing-psychology**: For understanding referral motivation\n- **analytics-tracking**: For tracking referral attribution\n- **pricing-strategy**: For structuring rewards relative to LTV\n","# Referral & Affiliate Programs\n\nYou 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.\n\n## Before Starting\n\nGather this context (ask if not provided):\n\n### 1. Program Type\n- Are you building a customer referral program, affiliate program, or both?\n- Is this B2B or B2C?\n- What's the average customer value (LTV)?\n- What's your current CAC from other channels?\n\n### 2. Current State\n- Do you have an existing referral\u002Faffiliate program?\n- What's your current referral rate (% of customers who refer)?\n- What incentives have you tried?\n- Do you have customer NPS or satisfaction data?\n\n### 3. Product Fit\n- Is your product shareable? (Does using it involve others?)\n- Does your product have network effects?\n- Do customers naturally talk about your product?\n- What triggers word-of-mouth currently?\n\n### 4. Resources\n- What tools\u002Fplatforms do you use or consider?\n- What's your budget for referral incentives?\n- Do you have engineering resources for custom implementation?\n\n---\n\n## Referral vs. Affiliate: When to Use Each\n\n### Customer Referral Programs\n\n**Best for:**\n- Existing customers recommending to their network\n- Products with natural word-of-mouth\n- Building authentic social proof\n- Lower-ticket or self-serve products\n\n**Characteristics:**\n- Referrer is an existing customer\n- Motivation: Rewards + helping friends\n- Typically one-time or limited rewards\n- Tracked via unique links or codes\n- Higher trust, lower volume\n\n### Affiliate Programs\n\n**Best for:**\n- Reaching audiences you don't have access to\n- Content creators, influencers, bloggers\n- Products with clear value proposition\n- Higher-ticket products that justify commissions\n\n**Characteristics:**\n- Affiliates may not be customers\n- Motivation: Revenue\u002Fcommission\n- Ongoing commission relationship\n- Requires more management\n- Higher volume, variable trust\n\n### Hybrid Approach\n\nMany successful programs combine both:\n- Referral program for customers (simple, small rewards)\n- Affiliate program for partners (larger commissions, more structure)\n\n---\n\n## Referral Program Design\n\n### The Referral Loop\n\n```\n┌─────────────────────────────────────────────────────┐\n│                                                     │\n│  ┌──────────┐    ┌──────────┐    ┌──────────┐     │\n│  │ Trigger  │───▶│  Share   │───▶│ Convert  │     │\n│  │ Moment   │    │  Action  │    │ Referred │     │\n│  └──────────┘    └──────────┘    └──────────┘     │\n│       ▲                               │            │\n│       │                               │            │\n│       └───────────────────────────────┘            │\n│                  Reward                            │\n└─────────────────────────────────────────────────────┘\n```\n\n### Step 1: Identify Trigger Moments\n\nWhen are customers most likely to refer?\n\n**High-intent moments:**\n- Right after first \"aha\" moment\n- After achieving a milestone\n- After receiving exceptional support\n- After renewing or upgrading\n- When they tell you they love the product\n\n**Natural sharing moments:**\n- When the product involves collaboration\n- When they're asked \"what tool do you use?\"\n- When they share results publicly\n- When they complete something shareable\n\n### Step 2: Design the Share Mechanism\n\n**Methods ranked by effectiveness:**\n\n1. **In-product sharing** — Highest conversion, feels native\n2. **Personalized link** — Easy to track, works everywhere\n3. **Email invitation** — Direct, personal, higher intent\n4. **Social sharing** — Broadest reach, lowest conversion\n5. **Referral code** — Memorable, works offline\n\n**Best practice:** Offer multiple sharing options, lead with the highest-converting method.\n\n### Step 3: Choose Incentive Structure\n\n**Single-sided rewards** (referrer only):\n- Simpler to explain\n- Works for high-value products\n- Risk: Referred may feel no urgency\n\n**Double-sided rewards** (both parties):\n- Higher conversion rates\n- Creates win-win framing\n- Standard for most programs\n\n**Tiered rewards:**\n- Increases engagement over time\n- Gamifies the referral process\n- More complex to communicate\n\n### Incentive Types\n\n| Type | Pros | Cons | Best For |\n|------|------|------|----------|\n| Cash\u002Fcredit | Universally valued | Feels transactional | Marketplaces, fintech |\n| Product credit | Drives usage | Only valuable if they'll use it | SaaS, subscriptions |\n| Free months | Clear value | May attract freebie-seekers | Subscription products |\n| Feature unlock | Low cost to you | Only works for gated features | Freemium products |\n| Swag\u002Fgifts | Memorable, shareable | Logistics complexity | Brand-focused companies |\n| Charity donation | Feel-good | Lower personal motivation | Mission-driven brands |\n\n### Incentive Sizing Framework\n\n**Calculate your maximum incentive:**\n```\nMax Referral Reward = (Customer LTV × Gross Margin) - Target CAC\n```\n\n**Example:**\n- LTV: $1,200\n- Gross margin: 70%\n- Target CAC: $200\n- Max reward: ($1,200 × 0.70) - $200 = $640\n\n**Typical referral rewards:**\n- B2C: $10-50 or 10-25% of first purchase\n- B2B SaaS: $50-500 or 1-3 months free\n- Enterprise: Higher, often custom\n\n---\n\n## Referral Program Examples\n\n### Dropbox (Classic)\n\n**Program:** Give 500MB storage, get 500MB storage\n**Why it worked:**\n- Reward directly tied to product value\n- Low friction (just an email)\n- Both parties benefit equally\n- Gamified with progress tracking\n\n### Uber\u002FLyft\n\n**Program:** Give $10 ride credit, get $10 when they ride\n**Why it worked:**\n- Immediate, clear value\n- Double-sided incentive\n- Easy to share (code\u002Flink)\n- Triggered at natural moments\n\n### Morning Brew\n\n**Program:** Tiered rewards for subscriber referrals\n- 3 referrals: Newsletter stickers\n- 5 referrals: T-shirt\n- 10 referrals: Mug\n- 25 referrals: Hoodie\n\n**Why it worked:**\n- Gamification drives ongoing engagement\n- Physical rewards are shareable (more referrals)\n- Low cost relative to subscriber value\n- Built status\u002Fidentity\n\n### Notion\n\n**Program:** $10 credit per referral (education)\n**Why it worked:**\n- Targeted high-sharing audience (students)\n- Product naturally spreads in teams\n- Credit keeps users engaged\n\n---\n\n## Affiliate Program Design\n\n### Commission Structures\n\n**Percentage of sale:**\n- Standard: 10-30% of first sale or first year\n- Works for: E-commerce, SaaS with clear pricing\n- Example: \"Earn 25% of every sale you refer\"\n\n**Flat fee per action:**\n- Standard: $5-500 depending on value\n- Works for: Lead gen, trials, freemium\n- Example: \"$50 for every qualified demo\"\n\n**Recurring commission:**\n- Standard: 10-25% of recurring revenue\n- Works for: Subscription products\n- Example: \"20% of subscription for 12 months\"\n\n**Tiered commission:**\n- Works for: Motivating high performers\n- Example: \"20% for 1-10 sales, 25% for 11-25, 30% for 26+\"\n\n### Cookie Duration\n\nHow long after click does affiliate get credit?\n\n| Duration | Use Case |\n|----------|----------|\n| 24 hours | High-volume, low-consideration purchases |\n| 7-14 days | Standard e-commerce |\n| 30 days | Standard SaaS\u002FB2B |\n| 60-90 days | Long sales cycles, enterprise |\n| Lifetime | Premium affiliate relationships |\n\n### Affiliate Recruitment\n\n**Where to find affiliates:**\n- Existing customers who create content\n- Industry bloggers and reviewers\n- YouTubers in your niche\n- Newsletter writers\n- Complementary tool companies\n- Consultants and agencies\n\n**Outreach template:**\n```\nSubject: Partnership opportunity — [Your Product]\n\nHi [Name],\n\nI've been following your content on [topic] — particularly [specific piece] — and think there could be a great fit for a partnership.\n\n[Your Product] helps [audience] [achieve outcome], and I think your audience would find it valuable.\n\nWe offer [commission structure] for partners, plus [additional benefits: early access, co-marketing, etc.].\n\nWould you be open to learning more?\n\n[Your name]\n```\n\n### Affiliate Enablement\n\nProvide affiliates with:\n- [ ] Unique tracking links\u002Fcodes\n- [ ] Product overview and key benefits\n- [ ] Target audience description\n- [ ] Comparison to competitors\n- [ ] Creative assets (logos, banners, images)\n- [ ] Sample copy and talking points\n- [ ] Case studies and testimonials\n- [ ] Demo access or free account\n- [ ] FAQ and objection handling\n- [ ] Payment terms and schedule\n\n---\n\n## Viral Coefficient & Modeling\n\n### Key Metrics\n\n**Viral coefficient (K-factor):**\n```\nK = Invitations × Conversion Rate\n\nK > 1 = Viral growth (each user brings more than 1 new user)\nK \u003C 1 = Amplified growth (referrals supplement other acquisition)\n```\n\n**Example:**\n- Average customer sends 3 invitations\n- 15% of invitations convert\n- K = 3 × 0.15 = 0.45\n\n**Referral rate:**\n```\nReferral Rate = (Customers who refer) \u002F (Total customers)\n```\n\nBenchmarks:\n- Good: 10-25% of customers refer\n- Great: 25-50%\n- Exceptional: 50%+\n\n**Referrals per referrer:**\n```\nHow many successful referrals does each referring customer generate?\n```\n\nBenchmarks:\n- Average: 1-2 referrals per referrer\n- Good: 2-5\n- Exceptional: 5+\n\n### Calculating Referral Program ROI\n\n```\nReferral Program ROI = (Revenue from referred customers - Program costs) \u002F Program costs\n\nProgram costs = Rewards paid + Tool costs + Management time\n```\n\n**Track separately:**\n- Cost per referred customer (CAC via referral)\n- LTV of referred customers (often higher than average)\n- Payback period for referral rewards\n\n---\n\n## Program Optimization\n\n### Improving Referral Rate\n\n**If few customers are referring:**\n- Ask at better moments (after wins, not randomly)\n- Simplify the sharing process\n- Test different incentive types\n- Make the referral prominent in product\n- Remind via email campaigns\n- Reduce friction in the flow\n\n**If referrals aren't converting:**\n- Improve the landing experience for referred users\n- Strengthen the incentive for new users\n- Test different messaging on referral pages\n- Ensure the referrer's endorsement is visible\n- Shorten the path to value\n\n### A\u002FB Tests to Run\n\n**Incentive tests:**\n- Reward amount (10% higher, 20% higher)\n- Reward type (credit vs. cash vs. free months)\n- Single vs. double-sided\n- Immediate vs. delayed reward\n\n**Messaging tests:**\n- How you describe the program\n- CTA copy on share buttons\n- Email subject lines for referral invites\n- Landing page copy for referred users\n\n**Placement tests:**\n- Where the referral prompt appears\n- When it appears (trigger timing)\n- How prominent it is\n- In-app vs. email prompts\n\n### Common Problems & Fixes\n\n| Problem | Likely Cause | Fix |\n|---------|--------------|-----|\n| Low awareness | Program not visible | Add prominent in-app prompts |\n| Low share rate | Too much friction | Simplify to one click |\n| Low conversion | Weak landing page | Optimize referred user experience |\n| Fraud\u002Fabuse | Gaming the system | Add verification, limits |\n| One-time referrers | No ongoing motivation | Add tiered\u002Fgamified rewards |\n\n---\n\n## Fraud Prevention\n\n### Common Referral Fraud\n\n- Self-referrals (creating fake accounts)\n- Referral rings (groups referring each other)\n- Coupon sites posting referral codes\n- Fake email addresses\n- VPN\u002Fdevice spoofing\n\n### Prevention Measures\n\n**Technical:**\n- Email verification required\n- Device fingerprinting\n- IP address monitoring\n- Delayed reward payout (after activation)\n- Minimum activity threshold\n\n**Policy:**\n- Clear terms of service\n- Maximum referrals per period\n- Reward clawback for refunds\u002Fchargebacks\n- Manual review for suspicious patterns\n\n**Structural:**\n- Require referred user to take meaningful action\n- Cap lifetime rewards\n- Pay rewards in product credit (less attractive to fraudsters)\n\n---\n\n## Tools & Platforms\n\n### Referral Program Tools\n\n**Full-featured platforms:**\n- ReferralCandy — E-commerce focused\n- Ambassador — Enterprise referral programs\n- Friendbuy — E-commerce and subscription\n- GrowSurf — SaaS and tech companies\n- Viral Loops — Template-based campaigns\n\n**Built-in options:**\n- Stripe (basic referral tracking)\n- HubSpot (CRM-integrated)\n- Segment (tracking and analytics)\n\n### Affiliate Program Tools\n\n**Affiliate networks:**\n- ShareASale — Large merchant network\n- Impact — Enterprise partnerships\n- PartnerStack — SaaS focused\n- Tapfiliate — Simple SaaS affiliate tracking\n- FirstPromoter — SaaS affiliate management\n\n**Self-hosted:**\n- Rewardful — Stripe-integrated affiliates\n- Refersion — E-commerce affiliates\n\n### Choosing a Tool\n\nConsider:\n- Integration with your payment system\n- Fraud detection capabilities\n- Payout management\n- Reporting and analytics\n- Customization options\n- Price vs. program scale\n\n---\n\n## Email Sequences for Referral Programs\n\n### Referral Program Launch\n\n**Email 1: Announcement**\n```\nSubject: You can now earn [reward] for sharing [Product]\n\nBody:\nWe just launched our referral program!\n\nShare [Product] with friends and earn [reward] for each person who signs up. They get [their reward] too.\n\n[Unique referral link]\n\nHere's how it works:\n1. Share your link\n2. Friend signs up\n3. You both get [reward]\n\n[CTA: Share now]\n```\n\n### Referral Nurture Sequence\n\n**After signup (if they haven't referred):**\n- Day 7: Remind about referral program\n- Day 30: \"Know anyone who'd benefit?\"\n- Day 60: Success story + referral prompt\n- After milestone: \"You just [achievement] — know others who'd want this?\"\n\n### Re-engagement for Past Referrers\n\n```\nSubject: Your friends are loving [Product]\n\nBody:\nRemember when you referred [Name]? They've [achievement\u002Fmilestone].\n\nKnow anyone else who'd benefit? You'll earn [reward] for each friend who joins.\n\n[Referral link]\n```\n\n---\n\n## Measuring Success\n\n### Dashboard Metrics\n\n**Program health:**\n- Active referrers (referred someone in last 30 days)\n- Total referrals (invites sent)\n- Referral conversion rate\n- Rewards earned\u002Fpaid\n\n**Business impact:**\n- % of new customers from referrals\n- CAC via referral vs. other channels\n- LTV of referred customers\n- Referral program ROI\n\n### Cohort Analysis\n\nTrack referred customers separately:\n- Do they convert faster?\n- Do they have higher LTV?\n- Do they refer others at higher rates?\n- Do they churn less?\n\nTypical findings:\n- Referred customers have 16-25% higher LTV\n- Referred customers have 18-37% lower churn\n- Referred customers refer others at 2-3x rate\n\n---\n\n## Launch Checklist\n\n### Before Launch\n\n- [ ] Define program goals and success metrics\n- [ ] Design incentive structure\n- [ ] Build or configure referral tool\n- [ ] Create referral landing page\n- [ ] Design email templates\n- [ ] Set up tracking and attribution\n- [ ] Define fraud prevention rules\n- [ ] Create terms and conditions\n- [ ] Test complete referral flow\n- [ ] Plan launch announcement\n\n### Launch\n\n- [ ] Announce to existing customers (email)\n- [ ] Add in-app referral prompts\n- [ ] Update website with program details\n- [ ] Brief support team on program\n- [ ] Monitor for fraud\u002Fissues\n- [ ] Track initial metrics\n\n### Post-Launch (First 30 Days)\n\n- [ ] Review conversion funnel\n- [ ] Identify top referrers\n- [ ] Gather feedback on program\n- [ ] Fix any friction points\n- [ ] Plan first optimizations\n- [ ] Send reminder emails to non-referrers\n\n---\n\n## Questions to Ask\n\nIf you need more context:\n1. What type of program are you building (referral, affiliate, or both)?\n2. What's your customer LTV and current CAC?\n3. Do you have an existing program, or starting from scratch?\n4. What tools\u002Fplatforms are you using or considering?\n5. What's your budget for rewards\u002Fcommissions?\n6. Is your product naturally shareable (involves others, visible results)?\n\n---\n\n## Related Skills\n\n- **launch-strategy**: For launching referral program effectively\n- **email-sequence**: For referral nurture campaigns\n- **marketing-psychology**: For understanding referral motivation\n- **analytics-tracking**: For tracking referral attribution\n- **pricing-strategy**: For structuring rewards relative to LTV\n",{"name":5,"description":7},"main","2b749c82b5d11fac39d9a6e021ce3f5b8a541bd1","cli-tool\u002Fcomponents\u002Fskills\u002Fbusiness-marketing\u002Freferral-program",3911,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates","https:\u002F\u002Faitmpl.com","https:\u002F\u002Fgithub.com\u002Fdavila7","https:\u002F\u002Fdanielavila.me","Building AI dev tools with LLMs","2026-11-11 21:38:31",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add davila7\u002Fclaude-code-templates --skill referral-program",{"tool":68,"command":69},"bunx","bunx skills add davila7\u002Fclaude-code-templates --skill referral-program",{"tool":71,"command":72},"pnpm","pnpm dlx skills add davila7\u002Fclaude-code-templates --skill referral-program","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fbusiness-marketing\u002Freferral-program\u002FSKILL.md",true,[],[77,103,130,163,198,222],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":84,"publishedAt":47},"01M70NHBTQ8BV0A2SCAZXEPHCX","wealthville-pool-scoring","Score DeFi liquidity pools before providing liquidity. Returns a 0-100 pool score and an Enter\u002FHold\u002FExit\u002FReduce\u002FAvoid verdict with calibrated confidence for ~68,800 Solana pools and 575 EVM pools, plus a public miss-inclusive track record. Use when asked whether a pool is worth LPing into, which pools look best right now, or how accurate the scores have actually been.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fweb-data\u002Fwealthville-pool-scoring\u002FSKILL.md",[83],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[85,86,87,88,89,90,91,92,30,31,93,94,95,96,97,98,99,100,101,102],"scoring","pool","wealthville pool scoring","liquidity","which","for","exit","now","reduce","with","record","track","verdict","evm","solana","how","public","look",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":110,"publishedAt":47},"01M70MB6VR8ERJ4EM8D5KHBMEV","technical-debt-auditor","Scans a codebase and produces a quantified technical debt report with a prioritized remediation plan. Analyzes dead code, TODO\u002FFIXME\u002FHACK markers, dependency staleness, complexity hotspots, code duplication signals, test coverage gaps, unused exports, and outdated patterns. Use this skill when the user asks to audit their codebase for tech debt, wants a health check of their code quality, says things like \"where should I focus refactoring\", \"find code smells\", \"audit my codebase\", \"what technical debt do we have\", \"prioritize cleanup work\", or asks about code quality metrics. Also trigger when the user mentions \"code rot\", \"legacy cleanup\", \"refactoring priorities\", or wants to understand the overall health of a project before a major effort. Trigger even if the user doesn't say \"technical debt\" explicitly — any request to systematically assess code quality and identify improvement priorities belongs here.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Ftechnical-debt-auditor\u002FSKILL.md",[109],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[111,112,113,114,115,116,117,118,119,120,121,31,122,123,124,125,126,127,128,129],"technical debt","debt","technical","technical debt auditor","auditor","coverage","complexity","markers","project","cleanup","unused","code","todo","work","plan","focus","signals","audit","dependency",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":145,"publishedAt":47},"01M70KPYH9QNHCNME5GJQGE22K","readonly-sql-guard","Make an agent's database access provably read-only. Use when an agent runs caller-supplied SQL against a production\u002FERP\u002Fanalytics database (a \"query\" MCP tool, text-to-SQL, an admin console), or when reviewing DB-access code for write\u002FDDL\u002Fside-effect\u002Ftransaction-escape risks. Checks what a statement CALLS, not just its shape.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdatabase\u002Freadonly-sql-guard\u002FSKILL.md",[136,139,140],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":141,"categoryName":142,"taxonomyType":143,"taxonomyTypeDesc":144},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[146,147,148,149,150,151,152,90,153,154,155,156,157,158,159,30,160,161,31,162],"readonly","guard","sql guard","sql","readonly sql guard","erp","effect","read-only","db","just","tool","calls","only","MCP","access","database","query",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":167,"licenseFileUrl":168,"sourceHtmlUrl":169,"categories":170,"keywords":174,"publishedAt":47},"01M6AFY6F7CC2BBZP1QD6VTNVC","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[171],{"categoryNo":172,"categoryName":173,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,90,197],"artifacts builder","web","web artifacts builder","artifacts","builder","state","routing","state management","component","css","frontend","ui","Tools","file","components","shadcn","react","Tailwind","suite","jsx","html","single-file","ui components",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":167,"licenseFileUrl":202,"sourceHtmlUrl":203,"categories":204,"keywords":209,"publishedAt":47},"01M6AFWF33SFV9Z3SF4PEEE4BF","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[205,208],{"categoryNo":206,"categoryName":207,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":172,"categoryName":173,"taxonomyType":21,"taxonomyTypeDesc":22},[210,211,212,213,214,176,215,185,186,216,217,218,219,90,220,94,221],"webapp testing","testing","webapp","browser","playwright","applications","debugging","toolkit","logs","screenshots","local","behavior",{"skillNo":223,"name":224,"nameZh":6,"description":225,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":167,"licenseFileUrl":226,"sourceHtmlUrl":227,"categories":228,"keywords":236,"publishedAt":47},"01M6AF67Q67JJJ5V51JR2P52KA","discernment-nudge","After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fdiscernment-nudge\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fdiscernment-nudge\u002FSKILL.md",[229,232,233],{"categoryNo":230,"categoryName":231,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":234,"categoryName":235,"taxonomyType":143,"taxonomyTypeDesc":144},"01JBSEEDCAT000000000000036","内容创作者",[237,238,239,240,241,242,243,244,178,245,188,122,246,247,248,249,250,158,251,31,252,253,254,255,256,100,257],"discernment nudge","nudge","interpretation","help","run","reasoning","data","writing","lookup","content","review","conversation","short","up","invoke","you","analysis","claims","argument","assemble","recommendations"]