Agent skill · software engineering · borghei

saas-scaffolder

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack. Use when starting a new SaaS product, subscription app, or multi-tenant platform.

Why this skill is useful

Adds executable scripts for generating a complete SaaS application boilerplate with multi-tenancy and billing integration that the AI cannot generate on its own.

What it needs

Requires python installed locally. About 4k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.

What this skill does

SaaS Scaffolder Generate a complete, production-ready SaaS application boilerplate including authentication (NextAuth, Clerk, or Supabase Auth), database schemas with multi-tenancy, billing integration (Stripe or Lemon Squeezy), API routes with validation, dashboard UI with shadcn/ui, and deployment configuration. Produces a working application from a product specification in under 30 minutes. Core Capabilities Spec-driven scaffolding — produce a full Next.js App Router + TypeScript + Tailwind + shadcn/ui file tree from a short product spec (auth/db/payments/tenancy/features). Multi-tenant database schema — Drizzle ORM schema with workspaces (tenancy boundary), users, members, OAuth accounts, and sessions, with proper indexes and cascade rules. Authentication — NextAuth v5 with Drizzle adapter, OAuth (Google/GitHub) and magic-link (Resend) providers, route-protection middleware. Stripe billing — checkout session, customer portal, and signature-verified webhook handler keeping subscription state in sync. Multi-tenancy patterns — workspace-scoped queries and plan-based feature gating (free/pro/enterprise). Phased build + quality bar — 5 ordered scaffolding phases with per-phase validation, pitfalls, best practices, troubleshooting, and success criteria. Keywords: SaaS, boilerplate, scaffolding, Next.js, authentication, Stripe, billing, multi-tenancy, subscription, starter template, NextAuth, Drizzle ORM, shadcn/ui When to Use Starting a new SaaS product, subscription app, or multi-tenant platform. Standing up auth + billing + tenancy boilerplate quickly before building product features. Adding workspace/organization tenancy with role-based access and plan gating. Generating a baseline .env.example, schema, and API routes for a Next.js stack. Clarify First Before scaffolding, confirm these inputs. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills borghei/saas-scaffolder

View the source on GitHub

Browse the @skills marketplace