← All skills & workflows

diagramming

d2-diagram

Creates professional architecture diagrams, flowcharts, system maps, and visual documentation in D2.

Create professional diagrams in D2 when the user needs architecture views, process maps, funnels, org charts, or other structural visuals that should live as text files in the repo.

Difficulty
advanced
Input
conversation
Output
diagram
Needs
none

What it needs

  • request — What to produce

What you get

  • d2-render (png)
  • d2-source (d2)
  • prefer a permanent directory)

Ask it like this

  • Create a system architecture diagram in D2
  • Draw a flowchart showing our deployment pipeline in D2
  • Generate a D2 diagram of our microservices architecture
  • Create a sequence diagram for the login flow using D2