What problem does it solve? Building a production-grade multi-tenant CMS involves dozens of hard architectural decisions—data isolation strategy, content modeling, plugin systems, access control, caching, and webhooks—and getting any of them wrong leads to costly rewrites. This Skill guides those decisions with concrete, working patterns while respecting the conventions already present in your codebase. ## Core Features & Use Cases - Multi-Tenant Architecture: Implements row-level, schema-level, and database-level tenant isolation with Prisma client extensions, PostgreSQL row-level security, and a decision matrix for choosing the right pattern. - Content Modeling & Plugin Systems: Provides a content type registry, block-based content bodies, field-level localization, singletons, and three plugin patterns (config transformation, hook-based lifecycle, middleware chains). - RBAC & API Design: Covers four levels of access control (route, collection, document, field) plus RESTful API conventions with filtering, pagination, and relation depth. - Use Case: You are adding multi-tenancy to an existing Next.js CMS. The Skill first reads your Prisma schema, auth setup, and API routes, then extends your existing patterns with tenant-scoped queries, permission middleware, and webhook delivery instead of imposing a foreign architecture. ## Quick Start Ask the assistant to analyze your existing Next.js project and design a multi-tenant content model with role-based access control for your posts and pages collections.