What problem does it solve?
This Skill provides guidance and best practices for designing and optimizing database schemas, selecting appropriate database technologies and ORMs, and implementing safe migration strategies.
Core Features & Use Cases
- Database Selection: Helps choose between PostgreSQL, Neon, Turso, SQLite, and others based on project requirements.
- ORM Selection: Guides the choice of ORMs like Drizzle, Prisma, or Kysely.
- Schema Design: Offers principles for normalization, primary keys, and relationships.
- Optimization: Covers indexing strategies and query optimization techniques like identifying N+1 problems.
- Migrations: Outlines safe, zero-downtime migration approaches.
- Use Case: When starting a new project, use this Skill to decide whether to use SQLite for local development and Neon for production, and to select Drizzle ORM for its performance and type safety.
Quick Start
Use the database-design skill to help select an ORM for a new project.