What problem does it solve?
It prevents messy, misaligned ASCII/box diagrams by generating diagrams from a proper source format (D2, Graph::Easy, or PlantUML) and rendering them before output.
Core Features & Use Cases
- Diagram-first workflow: creates a small diagram source, renders it, inspects the output, then revises until the geometry is correct.
- Multi-context activation: supports diagrams in chat, Markdown, docs/specs, PR comments, issue comments, terminal output, architecture notes, and code comments.
- Multiple renderers: uses D2 for architecture/service flows and Graph::Easy when appropriate, with PlantUML support for sequence diagrams.
- Label and layout safeguards: enforces short labels, simple structure, and avoids common D2 ASCII backend pitfalls (like
$ and multiline labels).
Quick Start
Ask the agent to draw a terminal-friendly ASCII box-and-arrow diagram for the flow you describe, and have it generate the diagram source first, render it, then return the rendered diagram.