database-design

Guide database and ORM selection, schema design, indexing, and query optimization.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/devon87warren-afk/eboss-monorepo --skill database-design-devon87warren-afk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/devon87warren-afk/eboss-monorepo/tree/main/apps/manager/.agent/skills/database-design
Command: npx skills add https://github.com/devon87warren-afk/eboss-monorepo --skill database-design-devon87warren-afk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you make informed decisions about database and ORM selection, schema design, indexing, and optimization, preventing common pitfalls and ensuring efficient 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: Helps select 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.
  • Migrations: Outlines safe migration practices for zero-downtime changes.

Quick Start

Use the database-design skill to help choose between PostgreSQL and Neon for a new web application.

Frequently Asked Questions about database-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between PostgreSQL and serverless databases like Neon or Turso?

Choosing between PostgreSQL and serverless databases like Neon or Turso requires evaluating your project requirements, application context, deployment environment, and data access patterns. This Skill guides you through matching database capabilities to your specific workload demands.

What is the best way to select an ORM like Drizzle or Prisma for my application?

Selecting an ORM like Drizzle, Prisma, or Kysely depends on your specific development needs and data access patterns. This Skill provides guidance on evaluating ORM features against your schema design, query optimization, and migration requirements.

How do I design efficient database schemas and indexing strategies?

Designing efficient database schemas and indexing strategies involves applying principles for normalization, primary keys, timestamps, and relationships. This Skill offers concrete indexing strategies and query optimization techniques to tune performance for your specific data access patterns.

How do I run zero-downtime database migrations safely?

Running zero-downtime database migrations safely requires following established migration best practices to prevent data loss and downtime. This Skill outlines safe migration practices for implementing efficient schema changes without disrupting application availability.

When do I need to optimize database query performance and restructure schema?

You need to optimize database query performance and restructure schema when your application experiences slow data retrieval or scaling bottlenecks. This Skill addresses query performance tuning and efficient schema structuring based on data access patterns.