Free · Claude Code templates
Free Claude Code templates for building SaaS apps
By Moe Ameen, founder of BILT · Published · Updated
These are 28 free markdown playbooks you hand to Claude Code so it can build a whole SaaS subsystem: auth and onboarding, Stripe billing, email infrastructure, Trigger.dev workers, admin consoles and SEO. Each one carries the schema, code patterns, known failure modes and a list of things not to do. The first download asks for your email. After that, the rest download in one click.
Key takeaways
- Each playbook covers one full subsystem of a SaaS app.
- They assume Next.js, Supabase, Trigger.dev, Stripe and Postmark.
- Drop a file into your repo and tell Claude Code to implement it.
- Free for commercial use, with no attribution required.
Each playbook covers a whole subsystem: the schema, the code, and the things that broke in production so you can skip them.
28 playbooks · 82,324 words · markdown · open one to read it and download
How do you use a template with Claude Code?
Drop the file into your repo, then tell Claude: “Read STRIPE-BILLING-PLAYBOOK.md and implement it in this codebase.” The playbooks are written for an agent to follow. They carry the schema, the routes, the failure modes and an anti-pattern list. Search for < to find the placeholders to fill in with your own project names and keys.
To keep a playbook in view across sessions, import it from your CLAUDE.md with @path syntax. Claude Code's docs say imported files load into context with the CLAUDE.md that references them.
28 of 28 templates
S-tier · Foundation
Every SaaS app needs these. Run them in order and you have a shippable product.
App Infrastructure
The mother playbook: the full stack, the topology, and the Week 0 → launch sequence.
12 sections · 3,757 words · 29 KBRead + download →Growth & SEOTopical Authority
The 5-layer model that turns a marketing site into 250-350 pages that actually rank.
13 sections · 4,019 words · 31 KBRead + download →FoundationAuth & Onboarding
Supabase auth, the signup → onboarding wizard, and edge-level account gating.
10 sections · 1,204 words · 10 KBRead + download →FoundationStripe Billing
Customer linkage, plan tiers, a webhook handler that survives replays, and checkout.
15 sections · 2,392 words · 20 KBRead + download →InfrastructureEmail Infrastructure
Postmark, the SPF/DKIM/DMARC recipe, drip campaigns, and transactional vs marketing routing.
16 sections · 3,691 words · 30 KBRead + download →FoundationCredit Metering
A credit ledger, atomic spend RPC, refund-on-failure, and cost analytics that hold up.
13 sections · 2,547 words · 20 KBRead + download →Admin & OpsAdmin Console
A 12-section operator cockpit: accounts, impersonation, P&L, audit log, settings.
26 sections · 5,216 words · 42 KBRead + download →A-tier · High leverage
Big wins for marketing, outreach, and ops apps. Pull the ones your product needs.
Trigger.dev Workers
The three-file pattern for anything that can't finish inside an HTTP request.
12 sections · 2,590 words · 21 KBRead + download →Growth & SEOCustomer Analytics
First-party event tracking that outlives cookie blockers and costs nothing per event.
14 sections · 2,384 words · 19 KBRead + download →Admin & OpsAdmin Analytics Dashboard
The visualization half: KPI tiles, funnels, channel breakdown, per-page drill-down.
15 sections · 2,908 words · 22 KBRead + download →OutreachPublishing Pipeline
Scheduled posts, a scheduler tick, provider guards, and per-platform normalization.
17 sections · 3,170 words · 25 KBRead + download →Growth & SEOSEO/GEO Engine
The autonomous layer: trend discovery, LLM classification, auto-authored pages, tracking.
16 sections · 5,518 words · 42 KBRead + download →Growth & SEOPre-Sale Chatbot
A grounded pre-sale assistant that builds its own knowledge base on install.
13 sections · 2,787 words · 20 KBRead + download →Admin & OpsSupport Inbox
In-app ticketing and a shared inbox: no third-party helpdesk.
9 sections · 4,911 words · 41 KBRead + download →Admin & OpsEmail Automation Console
The operator half of email: campaigns, templates, enrollments, analytics.
18 sections · 5,795 words · 47 KBRead + download →OutreachSMS Copilot Console
Cold-SMS auto-reply: an LLM brain that drafts, and code that decides.
15 sections · 5,121 words · 43 KBRead + download →OutreachCold Email Campaign
The operational side: folder structure, daily metrics, A/B/C subjects, leak diagnosis.
31 sections · 2,440 words · 16 KBRead + download →Growth & SEOBeta Tester Program
Invites, in-app feedback, NPS, beta-only gating, and the graduation flow.
14 sections · 2,066 words · 16 KBRead + download →B-tier · Situational
Only if the app calls for it. Skip freely.
Webhook Receiver
Receiving third-party webhooks (and sending your own) without losing events.
6 sections · 1,658 words · 13 KBRead + download →Growth & SEOAffiliate Program
Referral tracking, commission ledger, payouts: the standalone pattern.
13 sections · 2,118 words · 17 KBRead + download →OutreachGoHighLevel Integration
OAuth, tokens, publishing and webhooks: the GHL API gotchas up front.
16 sections · 2,182 words · 17 KBRead + download →Growth & SEODemo Sandbox
Let people try the product before signup: without handing over your API quota.
12 sections · 1,964 words · 14 KBRead + download →InfrastructureScheduler Engine
One queue for every future-dated action: drips, reminders, scheduled sends.
14 sections · 2,469 words · 21 KBRead + download →C-tier · Discipline
Cross-cutting hygiene: the rules that keep a fast build from rotting.
Pre-Production Hardening
The last pass before public traffic: secrets, RLS, headers, limits, legal.
19 sections · 1,990 words · 13 KBRead + download →DisciplineSupabase Migrations
Migration discipline: numbering, guards, application, and the never-destructive rule.
14 sections · 1,767 words · 14 KBRead + download →DisciplineCore Web Vitals Audit
LCP, CLS, INP: measure it properly, then fix the things that actually move it.
17 sections · 1,898 words · 13 KBRead + download →DisciplineAI Compliance Gate
Brand safety for AI-generated output: banned words, anti-tells, injection defense.
13 sections · 2,183 words · 16 KBRead + download →DisciplineLab Notes Practice
How to keep an agent productive across sessions instead of relearning the repo.
12 sections · 1,579 words · 11 KBRead + download →Which templates are available?
Who is this for, and who should skip it?
Best for
- Developers building a SaaS app on Next.js and Supabase with Claude Code.
- Solo founders who want working patterns for billing, auth and workers.
Not ideal for
- Teams on a different stack who want copy-paste code. Expect to adapt the examples.
- Anyone who wants a finished app. These are playbooks, not a boilerplate.
What else do people ask about the templates?
What are these Claude Code templates?
Markdown playbooks written to be handed to Claude Code. Each one covers a full subsystem of a production SaaS app: the schema, the code patterns, the gotchas and a list of things not to do.
Do I need to give my email to download them?
Yes, for the first one. After that a cookie remembers you and the rest download in one click. They're free either way.
What stack do the templates assume?
Next.js on Vercel, Supabase for Postgres and auth, Trigger.dev for background workers, Stripe for billing and Postmark for email. The patterns carry over to other stacks, but the code examples use those.
Can I use these commercially?
Yes. Use them, change them and ship products with them. No attribution needed.
Do they work with tools other than Claude Code?
They're plain markdown, so any coding agent can read them. They were written for Claude Code.
How do we know this?
The playbooks come from the apps BILT AI runs. The Claude Code behavior described here comes from Anthropic's Claude Code memory documentation, read on November 4, 2026.
Sources
- Claude Code docs: How Claude remembers your project (accessed November 4, 2026)