What problem does it solve? Choosing the wrong database, ORM, or schema structure early in a project leads to performance bottlenecks, painful migrations, and costly rewrites. This Skill provides decision frameworks and validation tooling to make informed database architecture choices. ## 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 & Indexing Guidance: Principles for normalization, primary keys, timestamps, relationships, composite indexes, and index type selection (B-tree, GIN, HNSW). - Query Optimization & Migrations: N+1 problem solutions, EXPLAIN ANALYZE workflow, and zero-downtime migration strategies for serverless databases. - Use Case: When starting a new edge-deployed TypeScript app, use this Skill to select Turso with Drizzle, design a normalized schema with proper indexes, and validate the Prisma schema with the included validator script. ## Quick Start Ask the AI to help you choose a database and design a schema for your project, describing your deployment environment and query requirements.