Skip to main content
skill CX Codex

saas-scaffolder · borghei — Claude Code skill: what it does, how to install

The saas-scaffolder Claude Code skill lays out a Next.js SaaS starter and guides setup for authentication, billing, and tenant separation. Run it when starting a subscription product or multi-tenant app.

LicenseRef-MIT-Commons-Clause 125 installs ★ 1,183 updated 2026-11-08

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-code
Open on GitHub

What saas-scaffolder does

The skill creates a Next.js project structure with configuration, a Drizzle schema, and route protection. The saas_scaffolder.py script tailors dependencies and an environment-variable sample to the chosen providers; other files remain implementation stubs. The scaffold does not contain application logic, so it will not build until those stubs are completed.

A separate script, tenant_config_validator.py, checks tenant configuration and scans source files for common isolation mistakes. Its line-based regex scan can miss problems, so a clean report does not prove that tenant data is isolated. The schema supports Postgres only. Auth choices include Auth.js, Clerk, and Supabase Auth; billing can use Stripe, Lemon Squeezy, or be switched off.

What it helps with

  • lay out a Next.js SaaS starter
  • choose dependencies for authentication and billing providers
  • shape a schema for workspace or organization tenancy
  • scan source for common tenant-isolation mistakes
  • manage feature flags gated by plan and environment

Example prompts for the agent

  • Create a Next.js SaaS scaffold with Clerk, no billing, and no tenancy.
  • Scan this app for database queries that lack tenant scoping.
  • Create an sso feature flag for the pro and enterprise plans.

How to install saas-scaffolder

1Skills CLI (Vercel)

npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-code

2Manually: put the files in place

~/.claude/skills/saas-scaffolder/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/saas-scaffolder/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about saas-scaffolder

How do I install saas-scaffolder in Claude Code?

Run npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-code. The skill file is at ~/.claude/skills/saas-scaffolder/SKILL.md.

What does saas-scaffolder do?

It lays out a Next.js SaaS project with configuration and a Drizzle schema, then leaves implementation stubs for application logic. Its validator scans for common tenant-isolation issues.

Which database does saas-scaffolder support?

The schema uses Drizzle with Postgres. Select the database option with --db.

Similar skills

All skills for Backend and APIs →

saas-scaffolder by other authors comes first.

saas-scaffolder Alireza Rezvani saas-scaffolder generates a working SaaS scaffold on Next.js: auth, database schema, Stripe billing, API routes and a dashboard. Useful when you want to start a project without wiring it by hand. CX Codex +1 630installs saas-platforms miles990 saas-platforms — a coding skill that walks your agent through multi-tenancy, subscription billing and usage tracking for a SaaS app. CX Codex +1 364installs saas-multi-tenant davila7 saas-multi-tenant guides the agent in structuring multi-tenant SaaS backends with PostgreSQL and TypeScript. Sets up database row policies, request context middleware, and query filtering. CX Codex +1 171installs security-stinger Legion Code Inc. security-stinger scans SvelteKit projects for authorization gaps, SQL injection, secret leaks and unsafe webhooks before code reaches production. CX Codex +1 ★ 96repo stars stripe Mindrally Integration rules for Stripe in TypeScript, React and Next.js: server-side payments, subscriptions, webhooks. Useful when your agent writes checkout code. CX Codex +1 747installs The Bridge thebridgedev The Bridge connects hosted authentication, team workspaces, Stripe billing, and feature flags to your SaaS app directly through AI chat. CX Codex +1 churn-prevention coreyhaines31 churn-prevention — a skill for designing cancel flows, building targeted retention offers, and recovering failed payments. Works across six AI coding platforms to help SaaS teams cut voluntary and involuntary churn. CX Codex +1 132,400installs

From the same set120

The whole set →
brand-guidelines brand-guidelines writes a brand guideline from scratch and audits existing material against it: voice, palette, type, logo use. CX Codex +1 127installs ms365-tenant-manager ms365-tenant-manager writes PowerShell scripts for Microsoft 365 admins: tenant setup, user onboarding and offboarding, Conditional Access policies and security audits. CX Codex +1 127installs migration-architect migration-architect — a skill for Claude Code plans staged migrations for databases, APIs, services, and infrastructure. It checks schema compatibility and prepares rollback steps before cutover. CX Codex +1 126installs soc2-compliance-expert soc2-compliance-expert manages SOC 2 Type I and Type II readiness against Trust Services Criteria, covering control validation and audit evidence collection. CX Codex +1 126installs incident-commander incident-commander — a skill for Claude Code guides production incident response: it scores severity, rebuilds timelines, and drafts postmortems. It also runs on Codex, Cursor, and other platforms. CX Codex +1 125installs tech-debt-tracker tech-debt-tracker — a skill for Claude Code and Codex that audits repositories for technical debt and ranks refactoring backlogs. Calculates cost-of-delay metrics to plan capacity for upcoming sprints. CX Codex +1 125installs pre-mortem pre-mortem — a skill for Claude Code that structures prospective hindsight exercises to anticipate launch disasters. Triggers during release planning, large migrations, or major architectural overhauls. CX Codex +1 124installs agent-workflow-designer The agent-workflow-designer Claude Code skill designs workflows for multiple AI agents and estimates their cost before implementation. It comes into play when planning parallel tasks, delegation, or request routing. CX Codex +1 123installs

Project sponsors

Companies that keep this analytics open