Skip to main content
skill CX Codex

diagram-design-editorial — Claude Code skill: 13 diagram types

A skill that turns a short description into an HTML+SVG diagram for posts and docs. Thirteen types, no Mermaid, no build step, styling matched to your site.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill diagram-design-editorial -a claude-code
Open on GitHub

What diagram-design-editorial does

The skill covers thirteen diagram types: architecture, flowchart, sequence, state machine, ER model, timeline, swimlane, quadrant, nested, tree, layer stack, Venn and pyramid/funnel. Describe what you want and Claude picks a type, writes the HTML and saves the file. Two starting points ship with it: assets/template.html for a minimal light diagram and assets/template-full.html when you want summary cards alongside it.

Output is self-contained HTML plus SVG, so nothing has to be compiled and no charting library gets pulled in. The design rules are strict. Every coordinate, width and gap is a multiple of 4px, shadows are out, corner radius stays at 10px or less, and borders are 1px hairlines. Three font families split the work: Instrument Serif for titles, Geist Sans for node labels, Geist Mono for ports, URLs and field types. One accent colour per diagram, used on one or two focal nodes.

Out of the box the palette is neutral — warm paper, charcoal ink, rust accent. To match your own site, run onboarding: the skill fetches the homepage, pulls the palette and font stack, maps them onto paper, ink, muted, accent and link, then runs WCAG AA contrast checks. You can also edit references/style-guide.md by hand. On first use in a new project, if that file still holds the defaults, Claude stops and asks whether to run onboarding, paste tokens manually, or keep the defaults.

What it helps with

  • sketch a service architecture with a database and cache
  • walk through the OAuth 2.0 handshake step by step
  • place projects on an impact-versus-effort quadrant
  • map an order lifecycle from payment to delivery
  • lay out an ER model with fields and relations

Example prompts for the agent

  • I need a sequence diagram of the OAuth 2.0 handshake.
  • Onboard diagram-design to https://yoursite.com.

How to install diagram-design-editorial

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill diagram-design-editorial -a claude-code

2Manually: put the files in place

~/.claude/skills/diagram-design-editorial/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/diagram-design-editorial/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about diagram-design-editorial

How do I install diagram-design-editorial in Claude Code?

Run npx skills add reason-machines/trending-skills --skill diagram-design-editorial -a claude-code. The skill then lives at ~/.claude/skills/diagram-design-editorial/SKILL.md.

What does diagram-design-editorial do?

It generates thirteen kinds of diagram as self-contained HTML and SVG for blog posts and documentation. Claude chooses the type from your description, and the look can be matched to your site.

What does it take to match my site's styling?

Run onboarding: the skill reads your homepage, extracts the palette and fonts, checks contrast, and writes the tokens to references/style-guide.md. Skip it and diagrams come out in the neutral default palette.

Similar skills

Everything for Design →

From the same set139

ntwarden-windows-analysis-toolkit A skill for digging into Windows internals: processes, services, network, ETW, kernel. Useful when you need to break down what a suspicious process is doing. CX Codex +1 443installs geoflow-content-automation A skill that walks your agent through GEOFlow: AI article generation, task scheduling, review and publishing via CLI, REST API and Docker. Useful when the content pipeline runs on PHP and PostgreSQL. CX Codex +1 442installs cli-to-js-api-wrapper A skill that walks through wrapping a command line tool in a typed JavaScript/TypeScript API with the cli-to-js package. Useful when an agent should call commands as methods, not shell strings. CX Codex +1 439installs tech-doc-style-chinese Style rules for Chinese technical writing: spacing between CJK and Latin, corner brackets, no buzzwords. Ships with a Python linter. CX Codex +1 434installs anubis-android-app-manager A skill for building and configuring Anubis, an Android app manager that freezes app groups through Shizuku depending on VPN state. CX Codex +1 427installs huashu-design-html-native Turns a plain-language request into a finished file: prototype, slide deck, animation or infographic in HTML/CSS/JS. No Figma involved. CX Codex +1 426installs cc-design-html-prototyping This skill builds HTML mockups, slide decks, and interactive prototypes. Use it to explore visual directions before implementing an interface. CX Codex +1 423installs hy-world-2-0-3d-world-model A skill for running HY-World 2.0: it turns photos and video into 3D scenes and builds worlds from text or a single image. CX Codex +1 419installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor