/sdd:diagram <description> [--format=mermaid|excalidraw|dbml] [--save=./path.ext]from sdd
Generates 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.
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.
Convert a description into a syntactically valid diagram. Broken syntax is worse than no diagram.
--format=mermaid|excalidraw|dbml, --save=<path>. Default mermaid. Infer from description when possible: ER / schema → DBML, whiteboard → Excalidraw, else Mermaid.graph TD), sequence, ER, state, class, C4.references/mermaid-cheatsheet.md + examples/mermaid-c4.mdreferences/excalidraw-json-schema.md + examples/excalidraw-microservices.jsonreferences/dbml-syntax.md + examples/dbml-ecommerce.dbmlIndexes {} where they matter + Note: per tableRef: references existing tableselementId existsmermaid / json / ```dbml). Excalidraw: add "File → Open → paste." DBML: add "paste at https://dbdiagram.io."--save=<path> was given, write the file. Otherwise offer to save.examples/dbml-ecommerce.dbml (opens in a new tab)examples/excalidraw-microservices.json (opens in a new tab)examples/mermaid-c4.md (opens in a new tab)references/dbml-syntax.md (opens in a new tab)references/excalidraw-json-schema.md (opens in a new tab)references/mermaid-cheatsheet.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/design-databaseProposes 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./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.npx claudepluginhub dinoquinten/claude-plugins --plugin sddOther plugins' skills for the same job