/sdd:design-database <domain, e.g. 'e-commerce catalog' or 'SaaS billing'>from sdd
Proposes a database schema (SQL or NoSQL) for a given domain. Use when the user asks to "design a database", "model data for X", "build an ER", pick SQL vs NoSQL, or invokes /sdd:design-database. Grounded in DDIA and Kimball.
Ships in sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Design a DB that survives real load and schema change. Opinionated, not a survey.
sql-vs-nosql.md.kimball-dimensional.md). Mixed → CDC into a separate warehouse.indexing-tradeoffs.md), uniqueness + check constraints.normalization.md). Denormalize only the hot read path, with a documented plan to prevent drift.transactions.md). Cross-service → saga + outbox + idempotency keys (distributed-transactions.md).replication.md), sharding key + hot-partition mitigation (sharding-partitioning.md). Don't shard prematurely.schema-evolution.md). Never drop in a single deploy.sql-vs-nosql.md · kimball-dimensional.md · normalization.md · indexing-tradeoffs.md · transactions.md · distributed-transactions.md · replication.md · sharding-partitioning.md · schema-evolution.md
Load only the ones relevant to the current step.
# Database Design: <domain>
## 1. Workload (ratio, top queries, volume, consistency)
## 2. Store choice (engine, one-paragraph justification)
## 3. Schema (tables/collections, indexes)
## 4. Transactions & consistency (isolation per op)
## 5. Scale strategy (replication, sharding, hotspots)
## 6. Schema evolution (migration plan)
## 7. Operations (backup, DR, monitoring)
## 8. Trade-offs & alternatives considered
Offer to generate a DBML diagram via the diagram skill and save to ./designs/db-<kebab-name>.md.
references/distributed-transactions.md (opens in a new tab)references/indexing-tradeoffs.md (opens in a new tab)references/kimball-dimensional.md (opens in a new tab)references/normalization.md (opens in a new tab)references/replication.md (opens in a new tab)references/schema-evolution.md (opens in a new tab)references/sharding-partitioning.md (opens in a new tab)references/sql-vs-nosql.md (opens in a new tab)references/transactions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/design-principlesExplains distributed-systems and database principles — CAP, PACELC, consistency models (linearizable/causal/eventual), consensus (Raft/Paxos/quorums), ACID vs BASE, idempotency, Bloom/HyperLogLog/Count-Min/Merkle. Auto-activates when the user mentions these terms or asks "why does X happen in distributed systems". Grounded in DDIA ch. 5, 7, 9./design-systemProduces a system design doc for a given requirement. Use when the user asks to "design a system", "architect a service", "design X at scale", or invokes /sdd:design-system. Grounded in DDIA and Fundamentals of Software Architecture./diagramGenerates Mermaid, Excalidraw JSON, or DBML diagrams. Use when the user asks to "diagram X", "draw the architecture", "generate an ER diagram", "create a sequence diagram", or invokes /sdd:diagram. Accepts a free-text description with `--format` and `--save` flags./review-architectureReviews an architecture (file, repo, design doc, or pasted text) against scalability, security, reliability, compliance, and anti-pattern checklists plus fitness functions. Use when the user asks to "review my architecture", "critique this design", "audit this system", or invokes /sdd:review-architecture.npx claudepluginhub dinoquinten/claude-plugins --plugin sddOther plugins' skills for the same job