SaaS Scaffolder for Openclaw

A powerful full-stack generator that builds production-ready SaaS applications with integrated authentication, database schemas, and Stripe billing.

alirezarezvani
v1.0.0
Mar 11, 2026
0
604
4

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install saas-scaffolder

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install saas-scaffolder using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SaaS Scaffolder?

SaaS Scaffolder is a high-performance developer tool within the Openclaw Skills ecosystem designed to eliminate the repetitive task of setting up modern web applications. It scaffolds a complete Next.js 14+ App Router project, pre-configured with TypeScript, Tailwind CSS, and shadcn/ui.

By automating the wiring of complex integrations like NextAuth, Drizzle ORM, and Stripe webhooks, this skill allows product teams to move from concept to a working dashboard in minutes. It focuses on technical excellence, ensuring that the generated code follows industry best practices for security, scalability, and type safety.

SaaS Scaffolder Use Cases

  • Rapidly bootstrapping a new subscription-based web application.
  • Setting up a secure dashboard with protected routes and server-side authentication.
  • Integrating complex payment flows including Stripe checkout and customer portals.
  • Creating a consistent database schema for user management and subscription tracking.
  • Developing a marketing landing page with pre-built hero, feature, and pricing sections.

How SaaS Scaffolder Works

  1. The user provides a product name, description, and preferred tech stack (Auth, DB, and Payment providers).
  2. Openclaw Skills initializes a Next.js environment with the App Router and specialized directory structures for (auth), (dashboard), and (marketing) route groups.
  3. A database schema is generated using Drizzle ORM, tailored to the selected database provider (NeonDB, Supabase, or PlanetScale).
  4. Authentication logic is injected into the middleware and API routes to protect sensitive user data.
  5. Stripe or LemonSqueezy billing logic is configured, including idempotent webhook handlers for subscription lifecycle management.
  6. A complete set of UI components from shadcn/ui is installed and styled to provide a professional look and feel.

SaaS Scaffolder Setup

To deploy a project generated by this skill, follow these steps:

  1. Initialize the project dependencies:
npm install
  1. Configure your environment variables by copying the template:
cp .env.example .env.local
  1. Push your database schema to your provider:
npx drizzle-kit push
  1. Start the development server:
npm run dev

SaaS Scaffolder Data Schema & Taxonomy

The skill organizes data through a strict Drizzle ORM schema and a modular file tree. Below is the primary data structure for user management:

Table Description Key Fields
users Core user identity and subscription status id, email, stripe_subscription_id, stripe_price_id
accounts OAuth provider linkings userId, provider, providerAccountId
sessions Active user sessions for NextAuth sessionToken, userId, expires

SaaS Scaffolder Advanced Features

  • Multi-provider support for Authentication (NextAuth, Clerk, Supabase).
  • Idempotent Stripe Webhook handling to prevent duplicate database writes.
  • Edge-compatible database configurations for global performance.
  • Pre-configured Middleware for granular, server-side route protection.
  • Automated generation of companion documentation: CUSTOMIZATION.md, PITFALLS.md, and BEST_PRACTICES.md.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*