Registry / mizchi

mizchi/explainer/d2-diagram

Draw a software architecture, system, data-model or call-flow diagram as D2 text laid out by TALA (D2's whiteboard-style engine, open source since D2 0.9), look at it in the terminal before anyone opens an image, and check that the picture says what it claims — `d2 --layout=tala x.d2 x.txt` renders the layout as Unicode box drawing, `--ascii-mode standard` as plain ASCII for a README, and `assets/d2-facts.mjs` reads the drawn boxes and arrows back out of the render and holds them to a fact sheet

Agent skill · version 0.0.0-main.1794521592.gccdd7ba · from mizchi/explainer

Install

npx yarkr-cli add skill:mizchi/explainer/d2-diagram

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:mizchi/explainer/d2-diagram
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:mizchi/explainer/d2-diagram

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:mizchi/explainer/d2-diagram

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.