Claude Templates / B-tier · Situational

Growth & SEO

The Affiliate Program Playbook

Referral tracking, commission ledger, payouts — the standalone pattern.

AFFILIATE-PROGRAM-PLAYBOOK.md · 13 sections · 2,118 words · 17 KB · markdown

A self-hosted affiliate system modeled on what Rewardful, PartnerStack, and FirstPromoter actually do. Click attribution, a commission ledger, an affiliate dashboard, payout thresholds, and the deliberate choice to keep each app's program standalone rather than federated.

What's inside

When to use it

Post-launch. You need users before you need affiliates.

Straight from the file

Canonical pattern drawn from Rewardful / PartnerStack / Tolt / FirstPromoter. BKE itself does not implement a full affiliate system yet; this playbook is the reference for any new app in the operator's portfolio (Kompozy, Cold Email Engine, Cold SMS, Cold DM, Cold WA/Telegram, Giveaway, Lead Scraper, AI Cold Caller) that adds one.

Table of contents

  1. 0. Use this spec
  2. 1. Architecture
  3. 2. Schema
  4. 3. Code generation
  5. 4. Click capture
  6. 5. Attribution
  7. 6. Commission calculation
  8. 7. Payouts
  9. 8. Affiliate dashboard
  10. 9. Creative asset library
  11. 10. Fraud detection
  12. 11. Common pitfalls
  13. 12. Kickoff prompt

How to run it

Drop AFFILIATE-PROGRAM-PLAYBOOK.md into your repo, then tell Claude Code: “Read AFFILIATE-PROGRAM-PLAYBOOK.md and implement it in this codebase.” It's written for an agent to execute end to end. Search the file for angle-bracket placeholders and swap in your own project names, domains, and keys before the first run.

↓ Download the playbook

More growth & seo playbooks

← All 28 Claude templates