p:drawio

Generate native draw.io diagrams as .drawio files from user prompts.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/pontscho/prompt-heaven --skill p-drawio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p:drawio
Source: https://github.com/pontscho/prompt-heaven/tree/main/ClaudeCode/skills/p%3Adrawio
Command: npx skills add https://github.com/pontscho/prompt-heaven --skill p-drawio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Users frequently need to turn prompts into editable diagrams, saving time compared to manual drawing.

Core Features & Use Cases

  • Generate native draw.io (.drawio) diagrams from textual requests.
  • Optional exports to PNG, SVG, or PDF with embedded diagram XML for editing.
  • Use cases include flowcharts, architecture diagrams, ER diagrams, and UI sketches.

Quick Start

Describe the diagram you want and the skill will generate a .drawio file ready for export to PNG, SVG, or PDF.

Frequently Asked Questions about p:drawio

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

FAQPage Schema
How do I generate a draw.io diagram from a text prompt?

To generate a draw.io diagram, the skill creates native mxGraphModel XML from your text prompt and saves a .drawio file in your working directory. You can describe flowcharts, ER diagrams, or UI sketches to get editable output.

Can I export a draw.io diagram to SVG or PDF?

Yes, you can export a draw.io diagram to PNG, SVG, or PDF. The exports embed the diagram XML, ensuring the output remains editable in the draw.io editor later.

Do I need the draw.io CLI to export diagrams to SVG?

You do not need the draw.io CLI to export to SVG. The skill supports a Python SVG fallback using the bundled render.py script when the CLI is unavailable.

What diagram shapes are supported when creating mxGraph models?

Supported mxGraph model shapes include ellipses, rhombuses, swimlanes, documents, cylinders, and edge labels. You can use these to build architecture and flowchart diagrams.

How does prompt-based diagram generation compare to manual drawing?

Prompt-based diagram generation creates editable mxGraphModel XML directly from text, saving time compared to manual drawing. It outputs a native .drawio file that can be further modified in the editor.