What problem does it solve?
This Skill helps you make informed decisions about database and ORM selection, schema design, indexing, and optimization, ensuring efficient and scalable data management.
Core Features & Use Cases
- Database Selection: Guides you through choosing the right database (PostgreSQL, Neon, Turso, SQLite, etc.) based on project requirements.
- ORM Selection: Assists in picking the best ORM (Drizzle, Prisma, Kysely) for your development needs.
- Schema Design: Provides principles for normalization, primary keys, timestamps, and relationships.
- Indexing & Optimization: Offers strategies for effective indexing and query optimization (N+1 problem, EXPLAIN ANALYZE).
- Migrations: Outlines safe migration strategies for zero-downtime changes.
- Use Case: When starting a new project, use this Skill to compare PostgreSQL and Turso, select Prisma as your ORM, and design a normalized schema with appropriate indexes.
Quick Start
Use the database-design skill to help choose between Drizzle and Prisma for a new project.