Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
borghei avatar

Saas Scaffolder

  • 112 installs
  • 451 repo stars
  • Updated July 21, 2026
  • borghei/claude-skills

SaaS Scaffolder is a Claude skill that generates a production-ready Next.js/TypeScript SaaS boilerplate with authentication, a multi-tenant database schema, Stripe billing, API routes and a dashboard UI.

About

SaaS Scaffolder generates a production-ready SaaS boilerplate on a Next.js App Router, TypeScript, Tailwind and shadcn/ui stack. From a short product spec it produces authentication (NextAuth, Clerk or Supabase Auth), a multi-tenant Drizzle database schema, Stripe or Lemon Squeezy billing with a webhook handler, API routes with validation, and a dashboard UI. Developers use it when starting a new SaaS, subscription app or multi-tenant platform to stand up auth, billing and tenancy before building product features. It follows five ordered scaffolding phases with validation.

  • Scaffolds a full Next.js/TypeScript/Tailwind SaaS with auth, multi-tenant schema, Stripe billing and dashboard UI
  • Generates NextAuth v5 with OAuth and magic-link, plus a signature-verified Stripe webhook handler
  • Follows 5 ordered scaffolding phases with per-phase validation

Saas Scaffolder by the numbers

  • 112 all-time installs (skills.sh)
  • Ranked #2,921 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

saas-scaffolder capabilities & compatibility

Free to generate; the resulting app needs your own Stripe/auth/DB keys via .env.example.

Capabilities
signup flow cro · senior cloud architect
Works with
stripe · supabase · postgres · github
Use cases
api development · frontend · database
IDEs
vscode · cursor ide
Pricing
Free
From the docs

What saas-scaffolder says it does

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack.
SKILL.md
Produces a working application from a product specification in under 30 minutes.
SKILL.md
Stripe billing** — checkout session, customer portal, and signature-verified webhook handler keeping subscription state in sync.
SKILL.md
npx skills add https://github.com/borghei/claude-skills --skill saas-scaffolder

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs112
repo stars451
Last updatedJuly 21, 2026
Repositoryborghei/claude-skills

What it does

Scaffold a Next.js SaaS with auth, multi-tenant DB schema, Stripe billing and dashboard from a product spec.

Who is it for?

Developers starting a new SaaS, subscription app or multi-tenant platform who need auth, billing and tenancy boilerplate fast.

Skip if: Advanced Stripe billing beyond initial integration, deep relational schema design, or CI/CD and infra provisioning.

When should I use this skill?

You are starting a SaaS product and need auth, database schema, Stripe billing and multi-tenancy scaffolded.

What you get

A working Next.js App Router project with auth, multi-tenant schema, Stripe billing, API routes and dashboard, generated in under 30 minutes.

  • Next.js App Router file tree
  • Multi-tenant Drizzle schema
  • NextAuth config

By the numbers

  • 5 ordered scaffolding phases
  • 3 scripts (saas_scaffolder, feature_flag_manager, tenant_config_validator)
  • generates a working app in under 30 minutes

Files

SKILL.mdMarkdownGitHub ↗

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. If any is unknown or vague, ASK — do not assume:

  • [ ] Auth provider — NextAuth / Clerk / Supabase Auth (--auth; changes the auth config and middleware generated)
  • [ ] Payments provider — Stripe / Lemon Squeezy / none (--payments; determines the billing + webhook handler)
  • [ ] Tenancy model — workspace / organization / single-tenant (--tenancy; shapes the entire database schema and scoped queries)
  • [ ] Database — Neon / Supabase / other Postgres (--db; sets the Drizzle adapter and connection config)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
saas_scaffolder.pyGenerate a production-ready SaaS project structure (auth, billing, tenancy)python scripts/saas_scaffolder.py --name my-saas --auth nextauth --db neondb --payments stripe --tenancy workspace
feature_flag_manager.pyCRUD + evaluate feature flags on a JSON storepython scripts/feature_flag_manager.py evaluate --key dark-mode --environment production --plan pro
tenant_config_validator.pyValidate multi-tenant config and scan source for missing tenant scoping / isolation issuespython scripts/tenant_config_validator.py --config tenant_config.json --src ./app

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • [references/project-structure-and-schema.md](references/project-structure-and-schema.md) — input spec format, the full generated file tree, the multi-tenant Drizzle schema, and the .env.example variables. Read when defining the spec, laying out files, or writing the schema/env config.
  • [references/auth-billing-and-tenancy.md](references/auth-billing-and-tenancy.md) — complete NextAuth config, Stripe checkout + webhook handlers, route-protection middleware, and workspace-scoped query / plan-gating code. Read when wiring auth, billing, or tenancy.
  • [references/workflow-and-quality.md](references/workflow-and-quality.md) — the 5 ordered scaffolding phases with per-phase validation, common pitfalls, best practices, the troubleshooting table, and success criteria. Read before scaffolding and before shipping.

Scope & Limitations

This skill covers:

  • Full-stack SaaS scaffolding with Next.js App Router, TypeScript, Tailwind, and shadcn/ui
  • Authentication setup with NextAuth v5, Clerk, or Supabase Auth including OAuth and magic link providers
  • Stripe and Lemon Squeezy billing integration with checkout, webhooks, and customer portal
  • Multi-tenancy patterns (workspace/organization) with role-based access and plan-based feature gating

This skill does NOT cover:

  • Ongoing Stripe billing logic beyond initial integration (metered billing, usage-based pricing, invoicing customization) — see stripe-integration-expert
  • Database schema design decisions beyond the core tenancy model (complex relational modeling, indexing strategies) — see database-schema-designer
  • CI/CD pipeline configuration, deployment automation, or infrastructure provisioning — see ci-cd-pipeline-builder
  • API design standards, versioning, or OpenAPI specification generation — see api-design-reviewer

Integration Points

SkillIntegrationData Flow
stripe-integration-expertExtends the scaffolded Stripe setup with advanced billing patterns (metered, tiered, usage-based)Scaffolder outputs base Stripe config and webhook handler; Stripe expert refines pricing models and adds invoice customization
database-schema-designerDesigns extended schemas beyond the core tenancy tablesScaffolder provides baseline users/workspaces/members schema; schema designer adds domain-specific entities and optimizes indexes
api-design-reviewerReviews and improves the generated API routes for consistency and standards complianceScaffolder generates initial API routes; reviewer audits naming, error handling, and response formats
ci-cd-pipeline-builderCreates deployment pipelines for the scaffolded projectScaffolder outputs the application code; pipeline builder adds GitHub Actions, preview deployments, and production release workflows
env-secrets-managerAudits and secures the environment variable configurationScaffolder generates .env.example; secrets manager validates no secrets are hardcoded and recommends vault integration
observability-designerAdds logging, tracing, and monitoring to the scaffolded applicationScaffolder provides the application structure; observability designer instruments API routes, webhooks, and auth flows

Related skills

FAQ

Which auth and payment providers are supported?

Auth via NextAuth, Clerk or Supabase Auth; payments via Stripe or Lemon Squeezy.

What tenancy models does it generate?

Workspace, organization or single-tenant, with role-based access and plan-based feature gating.

Backend & APIsbackendfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.