What problem does it solve?
This Skill guides users through the complex process of database design, ensuring optimal performance, scalability, and maintainability by covering principles of schema design, indexing, ORM selection, and migration strategies.
Core Features & Use Cases
- Database Selection: Provides decision trees and comparisons for choosing between PostgreSQL, Neon, Turso, SQLite, and others based on project requirements.
- ORM Selection: Helps in selecting the right Object-Relational Mapper (ORM) like Drizzle, Prisma, or Kysely based on deployment needs and developer experience.
- Schema Design: Offers principles for normalization, primary key selection, timestamp strategies, and relationship types.
- Indexing & Optimization: Details on when and how to create indexes, and strategies for query optimization like avoiding N+1 problems.
- Migration Strategies: Outlines safe methods for database schema changes to ensure zero downtime.
Quick Start
Use the database-design skill to help choose between PostgreSQL and SQLite for a new project.