database-design

Guide database selection, schema design, indexing, and ORM choices.

1|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/arroschaves/brandaocontador-site --skill database-design-arroschaves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/arroschaves/brandaocontador-site/tree/main/.agent/skills/database-design
Command: npx skills add https://github.com/arroschaves/brandaocontador-site --skill database-design-arroschaves

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 selection, schema design, indexing strategies, and ORM choices, ensuring efficient and scalable data management.

Core Features & Use Cases

  • Database Selection: Guides you through choosing the right database (PostgreSQL, Neon, Turso, SQLite, etc.) based on project requirements.
  • Schema Design: Provides principles for normalization, primary key selection, timestamps, and relationship modeling.
  • Indexing Strategy: Explains when and how to create effective indexes for performance.
  • ORM Selection: Helps in choosing the best ORM (Drizzle, Prisma, Kysely) for your needs.
  • Optimization & Migrations: Offers guidance on query optimization and safe database migration practices.
  • Use Case: When starting a new project, use this Skill to determine whether PostgreSQL with Prisma or Turso with Drizzle is a better fit for your edge deployment needs.

Quick Start

Use the database-design skill to understand schema design principles for relational databases.

Frequently Asked Questions about database-design

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

FAQPage Schema
How do I choose the right database for my project requirements?

Choosing the right database involves evaluating project requirements against options like PostgreSQL, Turso, and SQLite. This Skill guides database selection by matching deployment environments, such as edge deployments, with scalable and performant data storage solutions.

What are the best practices for relational database schema design?

Relational database schema design best practices include normalization, primary key selection, and timestamp implementation. This Skill provides principles for relationship modeling to ensure efficient data storage and retrieval across your chosen architecture.

PostgreSQL vs SQLite: which database is better for edge deployment?

Comparing PostgreSQL and SQLite for edge deployment depends on your scalability needs. This Skill helps you decide whether a traditional PostgreSQL setup or an edge-optimized SQLite solution like Turso better fits your performance requirements.

How do I create effective indexing strategies for query optimization?

Creating effective indexing strategies requires knowing when and how to apply indexes. This Skill explains indexing techniques to improve query performance and facilitate efficient data retrieval within your database architecture.

How do I choose the best ORM for my database architecture?

Choosing the best ORM involves comparing options like Drizzle, Prisma, and Kysely. This Skill helps you select the right ORM for your needs, ensuring safe database migrations and optimized queries across PostgreSQL or SQLite environments.