diagram-design

Generate branded diagrams as self-contained HTML files with inline SVG and CSS.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/danieliudi/trackforge-os --skill diagram-design-danieliudi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagram-design
Source: https://github.com/danieliudi/trackforge-os/tree/main/.cursor/skills/diagram-design
Command: npx skills add https://github.com/danieliudi/trackforge-os --skill diagram-design-danieliudi

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 by hand is slow and error-prone, and generic diagram generators produce visually inconsistent output that clashes with a project's brand. This Skill produces editorial-quality diagrams as standalone HTML/SVG/PNG files following an opinionated, skinnable design system. ## Core Features & Use Cases - 39 visual types: architecture, flowchart, sequence, state machine, ER, timeline, swimlane, quadrant, radar, polar, loop, tree, org chart, layer stack, Venn, pyramid, treemap, bar, line, Gantt, scatter, Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, story map, database schema, and more. - Brand onboarding: pull style tokens from a website URL, an installed skill, a local folder, or manual input, and save them as named client profiles. - Import and redraw: convert .drawio, .drawio.png, .drawio.svg, or Mermaid .mmd sources into the design system at a chosen size and detail level, using the deterministic drawio_extract.py parser. - Optional accessible motion: add reveal, step, or loop animation with reduced-motion fallbacks and keyboard controls. - Use Case: Ask for an architecture diagram of your content site, and receive a self-contained HTML file with inline SVG, brand-matched colors, a legend strip, and summary cards ready to share or export to PNG. ## Quick Start Ask the assistant to create an architecture diagram of your system using the diagram-design skill, and confirm the visual type and size preset before it draws.

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 and SVG?

Request the architecture visual type and the skill produces a self-contained HTML file with inline SVG, semantic color roles, orthogonal connectors, and a legend strip. It follows a skinnable style guide so the output matches your brand tokens.

What diagram types does this skill support?

It supports 39 visual types including architecture, flowchart, sequence, state machine, ER, timeline, swimlane, quadrant, radar, Gantt, Sankey, fishbone, Wardley map, kanban, user journey, deployment, dependency graph, UML class, and database schema.

Can I convert a draw.io or Mermaid file into a branded diagram?

Yes. The skill imports .drawio, .drawio.png, .drawio.svg, and Mermaid .mmd sources, extracts a normalized intermediate representation with the drawio_extract.py script, and redraws the diagram at a chosen size and detail level.

How do I apply my own brand colors to generated diagrams?

On first use the skill checks the style guide and offers to pull tokens from a website URL, extract them from a local folder or installed skill, accept pasted tokens, or load a saved client profile. Customized tokens are stored in references/style-guide.md.

Does the skill support animated diagrams?

Yes, motion is optional and limited to reveal, step, and loop modes with a static-first contract. Animated figures include keyboard controls, reduced-motion fallbacks, and are verified with the bundled verify-motion.py script.

When should I not use a diagram for my content?

Skip the diagram when a table, bulleted list, or short paragraph communicates the same information, such as simple before/after comparisons or plain lists. The skill enforces complexity budgets and recommends splitting dense content into overview plus detail diagrams.