diagram-design

Generate branded architecture, flowchart, and data diagrams as standalone HTML/SVG files.

Updated Sep 14, 2026
One-click install
npx skills add https://github.com/duchuyn04/resume-analyze --skill diagram-design-duchuyn04
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: diagram-design
Source: https://github.com/duchuyn04/resume-analyze/tree/main/.agents/skills/diagram-design
Command: npx skills add https://github.com/duchuyn04/resume-analyze --skill diagram-design-duchuyn04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Creating consistent, well-designed technical diagrams is slow and error-prone: default tool output looks generic, connectors overlap, labels bleed through lines, and diagrams rarely match a project's brand. This Skill produces editorial-quality diagrams as self-contained HTML files with inline SVG, enforcing a strict design system, connector rules, and complexity budgets. ## Core Features & Use Cases - 40 visual types: architecture, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar, Gantt, Sankey, Wardley map, kanban, user journey, deployment, dependency graph, UML class, database schema, and more, each with a dedicated layout reference. - Import and redraw: convert .drawio/.drawio.png/.drawio.svg, Mermaid .mmd, and Excalidraw .excalidraw sources into the design system at a chosen size and detail level, using deterministic extraction scripts. - Brand onboarding and profiles: adopt brand tokens from a website, save reusable style profiles, and gate first use so default-skinned diagrams never ship into a branded project. - Optional accessible motion: add reveal, step, or loop animation with reduced-motion fallbacks, keyboard controls, and static export guarantees. - Use Case: Ask for a redraw of an existing draw.io architecture diagram as a branded HTML/SVG at presentation size; the Skill extracts the source structure, picks the right visual type, applies your saved brand profile, and outputs a self-contained file. ## Quick Start Create a branded architecture diagram of my web application showing the CDN, origin server, and database as a standalone HTML file.

Frequently Asked Questions about diagram-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an architecture diagram as HTML/SVG?▼

Describe the system components and connections, and the Skill selects the architecture visual type, loads its layout reference, and renders a self-contained HTML file with inline SVG. It applies the active style-guide tokens for colors and typography automatically.

How to convert a draw.io file into a branded diagram?▼

Provide the .drawio, .drawio.png, or .drawio.svg file and the Skill runs a deterministic extraction script that decodes the mxGraphModel into nodes and edges, reports structural signals, then redraws it in the design system at your chosen size and detail level.

Can I apply my own brand colors and fonts to diagrams?▼

Yes. The design system is skinnable through a single style-guide reference defining semantic roles like paper, ink, muted, and accent. You can edit tokens directly, onboard brand tokens from a website URL, or save and reuse named profiles per project.

Does it support Mermaid or Excalidraw diagram import?▼

Yes. Mermaid .mmd and Excalidraw .excalidraw sources can be redrawn into the editorial design system. The Skill parses the source structure, chooses the nearest visual type, and rebuilds the layout rather than reproducing the original renderer's automatic spacing.

What are the limits on diagram complexity?▼

Each diagram has a strict budget: maximum 9 nodes, 12 arrows, and 2 accent-colored focal elements, with per-type caps such as 5 sequence lifelines or 8 ER entities. Exceeding the budget means splitting the content into an overview plus a detail diagram.

When should I not use this diagram Skill?▼

Skip it for quick unicode diagrams, simple lists, before/after comparisons, or single-shape visuals where a table or sentence communicates the same information. The Skill is for cases where a reader learns more from a designed visual than from prose.