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 selecting 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, including avoiding N+1 problems.
- Migrations: Details safe migration practices for zero-downtime changes.
- Use Case: When starting a new project, use this Skill to determine whether PostgreSQL with Prisma or Turso with Drizzle is the most suitable stack, and then design an optimized schema.
Quick Start
Use the database-design skill to help choose between PostgreSQL and Neon for a new web application.