What problem does it solve?
This Skill provides guidance on making informed decisions about database selection, schema design, indexing strategies, and ORM choices to build robust and performant applications.
Core Features & Use Cases
- Database Selection: Understand the trade-offs between different database systems like PostgreSQL, Neon, Turso, and SQLite based on project requirements.
- Schema Design: Learn principles of normalization, primary key selection, and relationship modeling.
- Indexing & Optimization: Discover how to effectively use indexes and optimize queries to prevent performance bottlenecks like the N+1 problem.
- ORM Choice: Get recommendations for ORMs such as Drizzle, Prisma, and Kysely based on development experience and deployment needs.
- Use Case: When starting a new web application, use this Skill to decide whether to use PostgreSQL with Prisma for its rich features and developer experience, or Drizzle with Turso for an edge-optimized, serverless backend.
Quick Start
Use the database-design skill to understand the differences between PostgreSQL and SQLite for a new project.