drawio

Generate native draw.io diagrams as mxGraphModel XML from text inputs.

13|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/debug-zhuweijian/ai-research-toolkit --skill drawio-debug-zhuweijian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio
Source: https://github.com/debug-zhuweijian/ai-research-toolkit/tree/main/modules/06-presentation/skills/drawio
Command: npx skills add https://github.com/debug-zhuweijian/ai-research-toolkit --skill drawio-debug-zhuweijian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Draw.io diagrams from plain-text prompts are often time-consuming to recreate manually; this skill automates that by generating native .drawio XML.

Core Features & Use Cases

  • Generate native .drawio XML for flowcharts, ER diagrams, and process maps from textual prompts.
  • Optionally export embedded diagrams to PNG, SVG, or PDF while keeping the original .drawio editable.
  • Use cases include rapid diagram prototyping, architecture visualization, and documentation diagrams for reports.

Quick Start

Describe the diagram you want and specify an optional export format to generate a native .drawio file (and optionally a PNG, SVG, or PDF export).

Frequently Asked Questions about drawio

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

FAQPage Schema
How do I generate draw.io flowcharts from text prompts?

To generate flowcharts from text, this skill translates structured text inputs into native mxGraphModel XML, creating an editable .drawio file without manual drawing. You simply describe the diagram you need, and the skill automates the XML generation process.

Can I export draw.io diagrams to PNG, SVG, or PDF formats?

Yes, you can export draw.io diagrams to PNG, SVG, or PDF formats. By specifying your desired export format, the skill embeds the diagram XML into the output, ensuring the exported files remain fully editable in draw.io while cleaning intermediate files.

Do I need a specific output directory to create native .drawio XML files?

Yes, you must designate a specific DRAWIO_OUTPUT_DIR to create native .drawio XML files. The skill organizes all generated mxGraphModel XML outputs and exported files into this dedicated folder to maintain a clean workspace and ensure proper file embedding.

What is the best way to automate ER diagram creation for documentation?

Automating ER diagram creation for documentation is best handled by generating native .drawio XML from textual prompts. This approach rapidly prototypes architecture visualizations and process maps, providing fully editable diagram files for your reports.

Why does my exported draw.io diagram lose its editability?

Exported draw.io diagrams lose editability if the export format is not explicitly requested during generation. Requesting a specific format triggers the embedding of the diagram XML into the output, ensuring the file remains fully editable in draw.io.