NewsCrawler.org

diagram-design: an agent skill that draws diagrams as one HTML file

Redrawn from a .drawio file
cathrynlavery/diagram-design
Diagram Design. Editorial diagrams your designer won't hate.
A prompt typed into an agent session becomes a finished architecture diagram, then a plain first-pass diagram is redrawn with the skill, then the gallery of diagram types
Image: github.com

Diagram Design is an agent skill that draws diagrams as one self-contained HTML and SVG file, styled to your brand. It supports 45 diagram types. You describe the diagram in plain words, and the agent picks the type, states its plan, and writes one .html file that you can open by double-clicking. It works with Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder and Pi.

If you give the agent your website address, it pulls your site's palette and fonts, so later diagrams match the site. The skill installs with the command npx skills add cathrynlavery/diagram-design, and Claude Code, Codex, GitHub Copilot, Factory Droid and Qoder each have their own install route through a plugin marketplace[1]. When the skill is installed into several folders, the CLI recommends Symlink mode[2], which keeps one shared copy that all folders point to. Official builds come only from this repository, and LittleMight, Cathryn Lavery's company, publishes the plugin directory listings.

The skill can also import diagrams from draw.io, Mermaid, Excalidraw and PlantUML, and export them to PNG and SVG.

Read the original github.com

Sources

  • GitHub Trending

    cathrynlavery/diagram-design

    624 stars today70,645 stars4,740 forks

First seen: Читать по-русски

Open as a page