Agent skill

SaaS Scaffolder

by borghei in borghei/Claude-Skills

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack.

MITAuto-check passedBackend & APIs

Install SaaS Scaffolder

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills saas-scaffolder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engineering/saas-scaffolder .claude/skills/saas-scaffolder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
saas-scaffolder
GitHub stars
886
Token cost
~1.8k tokens
SKILL.md length
728 words
Files
7 (incl. scripts, references)
Skills in repo
354
Repo updated
First seen
Licence
MIT

At a glance

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack.

  • Starting a new SaaS product
  • SKILL.md covers Core Capabilities, When to Use, Clarify First and Tools, plus 3 more sections
  • Runs Python scripts from its folder; calls python
  • Subscription app

What it does

SaaS Scaffolder is an agent skill from borghei/Claude-Skills. 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.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/auth-billing-and-tenancy.md`, `references/project-structure-and-schema.md` and `references/workflow-and-quality.md`).

It sits in Backend & APIs, covering Multi-tenancy, Project scaffolding and Database schema design. It works with Stripe, Next.js, TypeScript and Tailwind CSS. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Starting a new SaaS product
  • Subscription app
  • Multi-tenant platform

Example prompts

  • “/saas-scaffolder”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SaaS Scaffolder loads about 1.8k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 728 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 728 words, ~1,791 tokens.

Download SKILL.mdSave it as .claude/skills/saas-scaffolder/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
saas-scaffolder
description
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.
license
MIT + Commons Clause
metadata.version
1.1.0
metadata.author
borghei
metadata.category
engineering
metadata.domain
full-stack
metadata.tier
POWERFUL
metadata.updated
2026-06-17
metadata.frameworks
nextjs, drizzle, stripe, nextauth, tailwind, shadcn

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 — 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 — 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 — 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.
Show full SKILL.md (263 more words)Show less

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

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in engineering/saas-scaffolder of borghei/Claude-Skills.

  • SKILL.md
  • references/auth-billing-and-tenancy.md
  • references/project-structure-and-schema.md
  • references/workflow-and-quality.md
  • scripts/feature_flag_manager.py
  • scripts/saas_scaffolder.py
  • scripts/tenant_config_validator.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

SaaS Scaffolder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SaaS Scaffolder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SaaS Scaffolder this skillborghei/Claude-Skills886—~1.8kAutomated safety check: PassMIT
SaaS Scaffolderalirezarezvani/claude-skills28k1 repos~2.6kAutomated safety check: PassMIT
Fullstack DevHHU3637kr/skills1453 repos~8.6kAutomated safety check: NotesMIT
Oma Frontendfirst-fluke/oh-my-agent1.3k—~2.5kAutomated safety check: PassMIT
Frontend Developmentavibebuilder/claude-prime120—~1.3kAutomated safety check: PassMIT
Finish Extensions Featuresenchabot-opensource/monorepo114—~554Automated safety check: PassGPL-3.0

Similar skills

  • SaaS Scaffolder

    alirezarezvani/claude-skills

    Generates complete, production-ready SaaS project boilerplate including authentication, database schemas, billing integration, API routes, and a working dashboard using Next.js 14+ App Router…

    28k GitHub starsUsed in 1 repo~2.6k tokens
    DatabasesAuto-check passed
  • Fullstack Dev

    HHU3637kr/skills

    Full-stack backend architecture and frontend-backend integration guide.

    145 GitHub starsUsed in 3 repos~8.6k tokens
    Backend & APIsAuto-check: notes
  • Oma Frontend

    first-fluke/oh-my-agent

    Frontend specialist for React, Next.js, TypeScript with FSD-lite architecture, shadcn/ui, and design system alignment.

    1.3k GitHub stars~2.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend Development

    avibebuilder/claude-prime

    A skill your agent uses for ANY work involving React, Next.js, TypeScript, or Tailwind in the browser layer.

    120 GitHub stars~1.3k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Finish Extensions Feature

    senchabot-opensource/monorepo

    A skill your agent uses when completing a new feature or making a user-facing change in the apps/extensions workspace to ensure no required files or configurations are forgotten.

    114 GitHub stars~554 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要审查前端代码(React/Vue/Next.js/TypeScript/Tailwind等)、检查代码质量、性能问题、可维护性、安全漏洞、最佳实践落地时。触发场景:前端代码评审、前端代码优化、React/Vue代码检查、TypeScript代码审查、前端性能优化、前端安全审计、前端代码规范检查。

    235 GitHub stars~614 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed

More from borghei/Claude-Skills

All 354 skills in this repo
  • Agent Harness

    borghei/Claude-Skills

    Test and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets.

    886 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    886 GitHub stars~4.2k tokensUpdated 2 days ago
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    886 GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    886 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Questions about SaaS Scaffolder

What does SaaS Scaffolder do?

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack. SaaS Scaffolder is an agent skill from borghei/Claude-Skills.js/TypeScript/Tailwind stack.

When should I use SaaS Scaffolder?

SaaS Scaffolder fits situations like: starting a new SaaS product; subscription app; multi-tenant platform.

How do I install SaaS Scaffolder in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-code`. Or copy the skill folder (engineering/saas-scaffolder in borghei/Claude-Skills) into .claude/skills/saas-scaffolder in your project. Claude Code loads it when a task matches its description.

How do I install SaaS Scaffolder in Codex?

Run `npx skills add borghei/Claude-Skills --skill saas-scaffolder -a codex`. Or copy the skill folder (engineering/saas-scaffolder in borghei/Claude-Skills) into .agents/skills/saas-scaffolder in your project. Codex loads it when a task matches its description.

Can I use SaaS Scaffolder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill saas-scaffolder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/saas-scaffolder, .gemini/skills/saas-scaffolder, .github/skills/saas-scaffolder and .opencode/skills/saas-scaffolder in your project.

What does SaaS Scaffolder need to run?

Going by SKILL.md and its folder, SaaS Scaffolder needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does SaaS Scaffolder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SaaS Scaffolder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does SaaS Scaffolder use?

SaaS Scaffolder is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SaaS Scaffolder use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.9k tokens, read only when the agent opens those files.

What are the alternatives to SaaS Scaffolder?

Skills that share tags, products or a category with SaaS Scaffolder: SaaS Scaffolder (alirezarezvani/claude-skills, 28k stars), Fullstack Dev (HHU3637kr/skills, 145 stars), Oma Frontend (first-fluke/oh-my-agent, 1.3k stars) and Frontend Development (avibebuilder/claude-prime, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SaaS Scaffolder?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 886 GitHub stars. The repository holds 354 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.