database-architecture

Installation
SKILL.md

Database Architecture

Design and optimize database systems: schema patterns, indexing strategies, partitioning schemes, replication topologies, migration procedures, and performance tuning.

Guiding Principle

"The database is the gravity well of your system — schema decisions are the hardest to change, so invest the most thought where the cost of change is highest."

Procedure

Step 1 — Schema Design

  1. Identify entities, relationships, and cardinality from domain model
  2. Select modeling approach: normalized (OLTP), denormalized (OLAP), document, graph
  3. Design primary keys: natural vs. surrogate, UUID vs. sequential
  4. Define constraints: foreign keys, unique, check, not-null
  5. Apply schema patterns: soft delete, audit columns, polymorphic associations, EAV (when justified)
Installs
1
GitHub Stars
2
First Seen
Sep 4, 2026