svg-diagram

Generate theme-matched SVG diagrams and insert them into MDX files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/co-r-e/dexcode --skill svg-diagram-co-r-e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: svg-diagram
Source: https://github.com/co-r-e/dexcode/tree/main/.claude/skills/svg-diagram
Command: npx skills add https://github.com/co-r-e/dexcode --skill svg-diagram-co-r-e

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jiti, and includes scripts (resource) components.

What problem does it solve?

SVG diagram generation skill. Generates professional diagrams (flow, architecture, comparison, hierarchy, cycle, etc.) as SVG matching the slide's theme colors and fonts, saves them to the deck's assets directory, and inserts them into MDX. Text is kept minimal, prioritizing visual clarity. All arrows use orthogonal (right-angle) routing.

Core Features & Use Cases

  • Theme-aligned SVGs generated to match colors and fonts, ready to insert into slides.
  • Various diagram templates (flow, architecture, process, hierarchy, cycle, etc.) with orthogonal arrows.
  • Automated asset management writes to decks/<deck>/assets and updates MDX references.

Quick Start

Describe the diagram you want (deck, slide, and content details) and the tool will generate the SVG, save it to the deck's assets, and insert a reference into the target MDX.

Frequently Asked Questions about svg-diagram

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

FAQPage Schema
How do I generate SVG diagrams that match my presentation deck theme?

You generate SVG diagrams that match your deck theme by describing the diagram content, which produces a theme-aligned SVG saved to your deck's assets directory with an automated MDX reference update.

Can I automatically insert SVG flowcharts into MDX slides?

Yes, you can automatically insert SVG flowcharts into MDX slides because the tool handles asset management by writing the generated SVG to your deck's assets directory and updating the MDX reference automatically.

What types of SVG diagrams can I create for slide decks?

You can create flow, architecture, process, hierarchy, and cycle SVG diagrams for slide decks, featuring orthogonal right-angle arrows and minimal text to prioritize visual clarity.

Does the SVG diagram generator support custom theme colors and typography?

Yes, the SVG diagram generator supports custom theme colors and typography by leveraging the deck's theme extraction system to ensure generated diagrams visually match your existing slides.

What is the best way to manage slide assets when adding SVG diagrams to MDX?

The best way to manage slide assets when adding SVG diagrams to MDX is using an automated system that writes generated files to your deck's assets directory and automatically inserts the corresponding reference.