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
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-codeWhat 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
ssofeature flag for theproandenterpriseplans.
How to install saas-scaffolder
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a claude-code2Manually: put the files in place
~/.claude/skills/saas-scaffolder/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/saas-scaffolder/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a codex2Manually: put the files in place
.agents/skills/saas-scaffolder/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a cursor2Manually: put the files in place
.cursor/skills/saas-scaffolder/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install borghei/Claude-Skills engineering/saas-scaffolder/SKILL.md2Manually: put the files in place
.github/skills/saas-scaffolder/SKILL.md1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a gemini-cli2Platform CLI
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/saas-scaffolderManually: put the files in place
.devin/skills/saas-scaffolder/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill saas-scaffolder -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.