drawio-diagram-forge
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Generate draw.io editable diagrams (.drawio, .drawio.svg) from text, images, or Excel. Orchestrates 3-agent workflow (Analysis → Manifest → SVG generation) with quality gates. Use when creating architecture diagrams, flowcharts, sequence diagrams, or converting existing images to editable format. Supports Azure/AWS cloud icons.
9installs
Sourceaktsmm/agent-skills
Added on
NPX Install
npx skill4agent add aktsmm/agent-skills drawio-diagram-forgeTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Draw.io Diagram Forge
Generate draw.io editable diagrams using AI-powered workflow.
When to Use
- Creating architecture diagrams (Azure, AWS)
- Converting flowcharts from text descriptions
- Transforming images/screenshots into editable format
- Generating swimlane, sequence diagrams
Prerequisites
| Tool | Required |
|---|---|
| VS Code | Yes |
| Draw.io Integration | Yes |
| GitHub Copilot | Yes |
Quick Start
Create a login flow diagramGenerate an Azure Hub-Spoke architecture diagramFrom inputs/requirements.md, create a system diagramOutput Formats
| Extension | Description | When to Use |
|---|---|---|
| Native format | Recommended |
| SVG + metadata | Markdown/Web |
| PNG + metadata | Image with edit |
Output:
outputs/Workflow
USER INPUT → ORCHESTRATOR → MANIFEST GATEWAY → SVG FORGE → COMPLETEDQuality Gates
| Score | Action |
|---|---|
| 90-100 | Proceed |
| 70-84 | Fix and retry |
| 50-69 | Simplify |
| 0-29 | Ask user |
Limits
| Limit | Value |
|---|---|
| Manifest revision | 2 |
| SVG revision | 2 |
| Total timeout | 45min |
Cloud Icons
→ references/cloud-icons.md
Enable in VS Code
- Open file
.drawio - Click "+ More Shapes" (bottom-left)
- Enable: Azure, AWS
- Apply
Azure Format (Critical)
xml
<!-- WRONG -->
<mxCell style="shape=mxgraph.azure.front_door;..." />
<!-- CORRECT -->
<mxCell style="aspect=fixed;image=img/lib/azure2/networking/Front_Doors.svg;..." />References
| File | Description |
|---|---|
| mxcell-structure.md | mxCell XML structure |
| cloud-icons.md | Azure/AWS icon guide |
| style-guide.md | Node colors, edge styles |
Scripts
| Script | Description |
|---|---|
| Validate mxCell structure |
Troubleshooting
| Issue | Solution |
|---|---|
| Blank in draw.io | Check |
| Edges not visible | Verify node IDs |
| Icons missing | Enable Azure/AWS shapes |
Done Criteria
- or
.drawiofile generated.drawio.svg - Diagram opens correctly in VS Code Draw.io extension
- All nodes and edges visible
- Quality gate score ≥ 85