/d2:d2-diagramfrom d2
Creates a validated D2 diagram from a description, renders it as PNG, and returns the artifact with complete source code.
Ships in d2. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Use the d2 skill and connected d2-mcp tools to diagram the following request. Choose a readable layout, validate complete source, fix located errors, and render PNG unless another format is requested. Return the artifact and complete source; state any assumptions. Do not assume a remote server can read client files or persist documents.
$ARGUMENTS
7-day visitors to each command page
2 commands in this plugin
npx claudepluginhub h0rv/d2-mcp --plugin d2Other plugins' commands for the same job