generate-diagrams
Generate Diagrams (Media Renderer)
Renders the approved DIAGRAM_SPEC.md to SVG files in the project's images/
folder with one bundled command. The command owns D2 extraction, validation,
flags, theme styling, output checks, and temp-file cleanup; this Skill owns
scope, layout choices, Interactive review, reporting, and phase state.
Output voice
Apply a lightweight human-voice pass to scope questions, review prompts, and
result reports. Preserve user-provided Media Intent and D2 source when
transporting them, and keep filenames, paths, commands, and state values exact.
Before approving diagram labels or explanatory text, invoke the standalone
unslop Skill as a required full editorial pass using
DISCOVERY.json.editorialPreferences; preserve D2 syntax and semantic labels.
Protocol: resolve Media Scope, Batch by default (Interactive on request), review and report results, update only the owned media phase, leave it pending on cancellation or failure, and preserve unrelated phase records. D2 setup remains local.