D2

Use whenever the user wants to produce, edit, or render any kind of diagram with D2, the Terrastruct text-to-diagram language at https://d2lang.com — architecture, flowchart, sequence, ER/SQL schema, UML class, network topology, mind map, deployment, org chart, state machine, grid layout, mermaid-style flow, or anything similar — even when they don't say "D2" explicitly. Trigger on requests for `.d2` files, mentions of `d2`/`d2lang`, or open-ended diagramming tasks ("draw me a system diagram", "make a flowchart of X", "diagram the request flow", "give me an ER diagram for these tables"). Covers the full DSL — shapes, connections, containers, classes, vars, globs/filters, imports, layers/scenarios/steps, styling, themes, sketch mode, icons, markdown/LaTeX/code blocks, layout engines, CLI flags, and the specialized diagram shapes.

AeyeOps Updated

File contents

AeyeOps/aeo-skill-marketplace/tree/main/aeo-docs/skills/d2 commit f4fa269160

Frequently asked questions

npx skillmds@latest add aeyeops/d2