d2-diagram
Installation
SKILL.md
d2-diagram
Paths below: <skill> is this skill's directory and <skills> the directory the skills are
installed in (skills/ in mizchi/explainer, .claude/skills/ in a project that installed them).
A D2 file is the diagram; the picture is a render of it. The writer's job is the
text — ids, labels, containers, connections — and TALA's job is where the boxes
go and how the lines bend. The terminal render exists so the writer reads the
picture on every round without leaving the shell, and so the diagram can live in
a README code block, a PR comment, or a --help text.
direction: right
web: Web frontend
api: API server
db: PostgreSQL {shape: cylinder}
web -> api: HTTPS
api -> db: SQL