What problem does it solve?
This Skill provides a robust, battle-tested framework for building scalable, secure, and cost-effective multi-tenant SaaS applications, addressing complex challenges like data isolation, authentication, and theming.
Core Features & Use Cases
- 3-Tier Architecture: Implements a clear Platform (T0) / Partner (T1) / Customer (T2) hierarchy for managing tenants.
- Data Isolation: Offers multiple strategies including RLS, schema-per-tenant, and DB-per-tenant (Neon branches), with a recommended hybrid approach.
- Security & Auth: Integrates graduated authentication, RBAC/ABAC authorization, and comprehensive audit logging.
- Theming & Branding: Manages tenant-specific theming with protected tokens for accessibility and compliance.
- Use Case: A startup building a new SaaS product can use this Skill to lay down the foundational architecture for multi-tenancy from day one, ensuring it can scale to thousands of customers without requiring a complete rewrite later.
Quick Start
Use the multi-tenant platform skill to generate an architecture document for a new SaaS product with a T0, T1, and T2 tenant hierarchy.