What problem does it solve? Poorly designed database schemas lead to slow queries, data redundancy, and painful migrations. This Skill provides structured guidance for designing normalized schemas, choosing indexes, and planning safe migrations so your data layer scales reliably. ## Core Features & Use Cases - Schema Design: Create normalized tables with proper primary keys, foreign keys, relationships (one-to-many, many-to-many, self-referencing), and appropriate data types. - Query Optimization: Diagnose slow queries with EXPLAIN ANALYZE, eliminate N+1 problems, and apply strategic indexing including composite, partial, and full-text indexes. - Migration Planning: Execute safe schema changes with Prisma migrations, multi-step column swaps, and data backfill scripts. - Use Case: When building a new e-commerce feature, use this Skill to design the orders, products, and customers tables with correct relationships, add indexes for common lookup patterns, and generate a zero-downtime migration plan. ## Quick Start Ask the AI to design a normalized database schema with indexes and a migration plan for your application's data model.