What problem does it solve?
This Skill helps users make informed decisions about database selection, schema design, indexing, and ORM choices to build efficient and maintainable data storage solutions.
Core Features & Use Cases
- Database Selection: Guides users through choosing the right database (PostgreSQL, Neon, Turso, SQLite) based on project requirements.
- ORM Selection: Assists in selecting appropriate ORMs like Drizzle, Prisma, or Kysely.
- Schema Design: Provides principles for normalization, primary keys, and relationships.
- Indexing Strategy: Offers guidance on when and how to create effective indexes.
- Optimization: Covers common pitfalls like the N+1 problem and how to analyze query performance.
- Use Case: A developer needs to choose between PostgreSQL and SQLite for a new web application and wants to understand the trade-offs for schema design and indexing.
Quick Start
Use the database-design skill to help me choose an ORM for a new TypeScript project that needs to be deployed to the edge.