Auth, Stripe billing, multi-tenant teams, multi-LLM AI and i18n — wired end-to-end, typed and secured. And it ships with the rules and skills your AI coding agent needs to build features that actually fit.
❯ git clone https://github.com/boilerplate-stack/boilerplate-stack-prod
✓Cloning into 'boilerplate-stack-prod'... done.
❯ cd boilerplate-stack-prod && npm install
✓added 982 packages in 24s
❯ npm run init
✓Branding, business model & admin email configured
✓Supabase, Stripe & Mailjet env vars wired
✓Database initialized · .env.local + config/app.ts generated
❯ npm run dev
✓▲ Next.js 16.2.6 ready on http://localhost:3777
❯ claude "add a chat agent that answers from our docs"
✓Matched skill: /create-ai-agent · loaded config/ai.ts
✓Read rules: api.md · database.md · CLAUDE.md
✓Created agent · RAG pipeline · credit deduction wired
✓Types pass · ESLint clean · 0 questions asked
▸Shipped in 18s · agent live in chat selector
Built on the stack you already trust
Drop a generic starter into Claude Code and it guesses. Drop in Boilerplate-Stack and it already knows the architecture, the conventions and the patterns.
// agent without context
@@ agent with full context
Months of foundational engineering — done, typed, documented and ready to extend.
OpenAI, Claude and Gemini behind one interface. LangChain orchestration, SSE streaming, prompt caching, a multi-agent registry and a built-in knowledge base (PDF/TXT/MD) on pgvector + HNSW.
OWASP-aligned: CSP headers, rate limiting, RLS policies, CSRF, input sanitization and Turnstile bot protection.
Supabase Auth, OAuth providers, magic links, onboarding flow and GDPR-compliant account deletion.
Subscriptions, one-time payments, credit packs, multi-currency, customer portal, webhook automation and a built-in affiliate program.
B2C personal accounts or B2B workspaces with dynamic roles, permissions, invitations and account switching.
Multi-locale CMS with a WYSIWYG editor, media library, scheduled pg_cron jobs and a webhook handler dashboard.
URL-based locales (FR/EN), auto-detection, localized components and a pluggable email layer (Brevo, Mailjet).
Next.js 16, React 19, strict TypeScript, Tailwind v4, shadcn/ui, Docker + Coolify, SEO and an installable PWA out of the box.
Every item below is implemented in the codebase, not a roadmap.
A first-class .claude/ workspace ships in the box. Your agent reads it and immediately works like a senior dev who has been on the team for months.
❯/create-api-endpoint secure, rate-limited route + Zod
❯/stripe-webhook verified Stripe webhook handler
❯/add-translation sync FR + EN locale files
❯@db-architect audit queries for N+1
Works with Claude Code, OpenAI Codex and Cursor.
Slash commands that generate code in your exact conventions.
/create-api-endpointExpert reviewers that audit security, queries and payments.
@security-reviewerLint, type-check and protect sensitive files on every edit.
lint + typecheck on editModular domain rules loaded on demand, per area of the codebase.
database.md · billing.mdThis isn't a boilerplate you read — it's one your agent operates. The .claude/, AGENTS.md and .cursor/rules/ configs ship in the box, so any AI coding tool understands the codebase from the very first prompt.
Grab the repo and install. The full agent workspace — rules, skills, subagents and hooks — comes with the code.
❯git clone … && npm installOpen the folder in Claude Code, Cursor or Codex. The agent loads your conventions automatically — zero setup, zero priming.
❯claudeDescribe the feature. The agent writes code that already respects your auth, billing, RLS and i18n patterns — on-pattern, not guessed.
❯add a team invites pageFully built, responsive screens — admin, billing, AI and CMS — you can ship today.
Users, organizations, subscriptions, CMS, media, scheduled jobs and analytics — all built, styled and responsive.
What it costs to build this foundation yourself — versus owning it this afternoon.
A quick tour of what ships in the box — admin, billing, AI and the agent workspace.
No seats. No subscription. No usage metering. Buy it, clone the private repo, ship forever.
For indie hackers & solo developers
For small teams & startups
For agencies & multiple projects
Everything worth knowing before you buy.
Get the foundation, point your agent at it, and spend your time on the part only you can build.