database-design

Guide database schema design decisions including normalization, indexing, and ORM selection.

34|29|Updated Jul 14, 2025
One-click install
npx skills add https://github.com/adelpro/open-tarteel --skill database-design-adelpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/adelpro/open-tarteel/tree/main/.agent/skills/database-design
Command: npx skills add https://github.com/adelpro/open-tarteel --skill database-design-adelpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Designing robust, scalable databases is hard without principled guidance; this skill provides decision-making frameworks to avoid common antipatterns and lock-in.

Core Features & Use Cases

  • Guidance on normalization vs denormalization decisions for various workloads.
  • PK selection, timestamp strategy, and indexing recommendations for reliable performance.
  • ORM and serverless database considerations to help choose the right tools per context.

Quick Start

Start by reviewing the recommended content files to determine the best database approach for your context.

Frequently Asked Questions about database-design

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

FAQPage Schema
How do I design a scalable database schema for a high-traffic application?

To design a scalable database schema, apply principled normalization and select appropriate primary keys, timestamp strategies, and indexing to ensure reliable performance and maintainable data architectures for high-traffic workloads.

When should I use normalization vs denormalization in my database design?

Use normalization vs denormalization in database design based on your specific workload context; principled decision-making frameworks help balance write-heavy normalized schemas against read-heavy denormalized structures for optimal query performance.

What is the best way to manage database migrations safely?

The best way to manage database migrations safely involves enforcing guardrails and best practices during schema design decisions, ensuring maintainable data architectures and preventing common antipatterns during deployment.

How do I choose the right ORM for a serverless database architecture?

Choose the right ORM for a serverless database architecture by evaluating serverless database considerations and applying principled decision-making frameworks to avoid tool lock-in and ensure context-appropriate schema design.

What indexing strategy should I use for reliable database performance?

Your indexing strategy should include principled recommendations for indexing alongside primary key selection and timestamp strategy, ensuring reliable performance and scalable data retrieval across relational databases.