What problem does it solve? Translating business requirements into a well-structured database schema is error-prone and often skips critical steps like constraints, indexes, and row-level security. This Skill guides an interactive domain modeling session that turns business entities and rules into a complete, documented PostgreSQL/Supabase schema. ## Core Features & Use Cases - Guided Domain Discovery: Structured questions to identify entities, attributes, relationships, cardinality, and business rules before writing any SQL. - Schema Generation: Produces CREATE TABLE statements with UUID keys, foreign keys, CHECK constraints, junction tables for M:N relationships, and access-pattern-driven indexes. - Supabase RLS & Migrations: Generates Row Level Security policies, audit triggers, and a timestamped migration file ready for dry-run and application. - Use Case: You are building a multi-tenant SaaS and need to model organizations, users, and subscriptions. Run the session to produce a schema design document, ERD, and initial migration with tenant-isolation RLS policies. ## Quick Start Ask the agent to start a domain modeling session for your business domain and answer its questions about entities, relationships, and access patterns.