cathrynlavery / diagram-design

An open-source AI agent skill that turns plain-English requests into polished, self-contained HTML and SVG diagrams styled to match your brand.

HTML · ★ 897 today★ 74,340 stars5,006 forksHTMLMIT licenseUpdated Nov 26, 2026

What it does

Diagram Design is a skill you add to AI coding assistants like Claude Code, Codex, GitHub Copilot, and Cursor. You describe the diagram you want in plain words, and it produces a single HTML file you can open in any browser. It supports 52 diagram types, aims for a clean editorial look without shadows, and avoids the generic style of Mermaid-generated charts. It can also pull your website's colors and fonts so every new diagram matches your brand.

How it works

  1. 1Install the skill into your AI assistant with the npx command or a marketplace.
  2. 2Ask your agent in plain words, such as requesting an architecture diagram or a quadrant chart.
  3. 3The agent picks the right diagram type and states its plan.
  4. 4The agent writes one .html file that you can open by double-clicking.
  5. 5Optionally, point it at your website so future diagrams use your palette and fonts.

Who it's for

  • Founders and small business owners who need clean diagrams for decks, docs, or proposals without design tools.
  • Developers and technical leads who already work inside AI coding assistants.
  • Non-technical teams that want diagrams made from ordinary descriptions.

Highlights

  • 52 diagram types, delivered as one self-contained HTML + SVG file.
  • Works with Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, Pi, and other Agent Skills hosts.
  • Can onboard your site's palette and fonts so diagrams match your brand.
  • MIT licensed and open source, with about 74,000 GitHub stars.

Getting started

Run npx skills add cathrynlavery/diagram-design in your terminal, or add it through the Claude Code, Codex, or Copilot plugin marketplace commands listed in the project's README. The core install is free and open source under the MIT license.

$ git clone https://github.com/cathrynlavery/diagram-design.git

Why it matters for business

The project's rapid star count and popularity suggest strong developer interest in AI agents that produce ready-to-use visual deliverables, a growing category as teams rely more on AI assistants for everyday work.

Keep in mind: The project was created in April 2026 and has 35 open issues, so it is relatively new and may still change; pricing for any hosted services is not described in the material.

Explainer written by AI from the project's public page. Details may change; check the source before you install or buy.