What problem does it solve? Choosing the wrong database, ORM, or schema structure early in a project leads to painful migrations, slow queries, and costly rewrites. This Skill provides decision frameworks and reference material so you design schemas, pick tools, and optimize queries based on your actual context instead of defaults. ## Core Features & Use Cases - Database & ORM Selection: Decision trees comparing PostgreSQL, Neon, Turso, SQLite, PlanetScale, and ORMs like Drizzle, Prisma, and Kysely based on deployment context. - Schema Design Guidance: Principles for normalization, primary key types (UUID, ULID, auto-increment), timestamps, relationships, and ON DELETE behaviors. - Performance & Migrations: Indexing strategies, N+1 query detection, EXPLAIN ANALYZE workflow, and zero-downtime migration patterns. - Schema Validation Script: A Python script that scans Prisma schemas for missing IDs, timestamps, naming issues, and missing indexes. - Use Case: When starting a new TypeScript API, ask for help choosing between Drizzle and Prisma, then design a normalized schema with proper composite indexes before writing any SQL. ## Quick Start Ask the assistant to help design a database schema for your project, including which database and ORM to use, and run the schema validator script on your Prisma schema to catch common issues.