Diagram Design: Editorial HTML and SVG Diagrams for AI Coding Agents

Repositorycathrynlavery/diagram-designTool

Diagram Design is a skill and template framework for AI agents like Claude Code, Codex, and Pi. It produces 39 editorial diagram types as self-contained HTML and SVG, avoiding common Mermaid clichés and generic AI styling.

Key points

  1. Provides 39 layout grammars including architecture, loop flywheels, Sankey, fishbone, Wardley maps, and database schemas.
  2. Outputs self-contained HTML and SVG without build steps, JavaScript dependencies, or external images.
  3. Ships three design variants per visual type: minimal light, minimal dark, and full-editorial.
  4. Can ingest and restyle existing diagrams from draw.io and Mermaid at configurable detail levels.
  5. Integrates as an agent skill for Claude Code, Codex, Factory Droid, Pi, and compatible runners.

Why it matters

LLMs frequently output generic, rounded-box diagrams or cluttered graphics that require manual polishing in tools like Figma. Diagram Design provides crisp, publication-ready diagrams with minimal visual noise directly through coding agents.

Analysis

Cathryn Lavery created this project to bridge the gap between technical content creation and clean editorial design. By relying purely on self-contained SVG and HTML, the resulting assets are zero-dependency, accessible, and easily embedded into documentation or blogs. Reaching version 2.5.10 and over 30,000 GitHub stars, the repository is mature, well-tested, and actively maintained for modern agent environments.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Trending GitHub Repositories

    diagram-design: Editorial SVG and HTML Diagrams for AI Coding Agents

    The diagram-design repository by Cathryn Lavery introduces a plugin for Claude Code, Codex, and compatible agents that generates 39 editorial-quality diagram types as self-contained HTML and SVG. It aims to eliminate generic Mermaid-style layouts and manual Figma redesigns.

    1.2kbookmarks86.3kviews

    AI & LLMs· Tool

  • Repository:tt-a1i/archify

    Archify: Interactive Architecture and System Diagrams for AI Coding Agents

    Archify is an open-source Node.js rendering and validation engine designed as a skill for coding agents like Cursor, Claude Code, Codex CLI, and OpenCode. Agents produce a typed JSON Intermediate Representation (IR), which Archify deterministically compiles into self-contained, interactive HTML, SVG, and media exports.

    45.5kstarsJavaScript

    AI & LLMs· Tool

  • Repository:display-dev/visualize

    visualize: On-Brand HTML Artifacts for AI Coding Agents

    visualize is an open-source skill for AI coding assistants such as Claude Code, Cursor, and Codex, designed to eliminate generic AI styling in generated HTML by applying persistent brand profiles and structured refinement commands.

    67starsHTML

    AI & LLMs· Tool

  • Repository:elayadesign/ai-design-skills

    ai-design-skills: Markdown-based Design Skills for AI Coding Tools

    The elayadesign/ai-design-skills repository provides modular Markdown rule sets for AI coding assistants. These skills can be integrated into tools such as Claude Code, Cursor, and Windsurf to produce structured landing pages and consistent UI systems.

    2kstars

    AI & LLMs· Resource

  • Repository:MengTo/Skills

    Agent Skills: Reusable Playbooks for AI Coding Agents

    The GitHub repository MengTo/Skills provides a curated collection of Markdown-based 'agent skills'. It enables designers and builders to guide AI coding agents like Codex, Claude, and Cursor through complex web design, interaction, and 3D rendering tasks.

    6.2kstarsHTML

    AI & LLMs· Resource

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.