# drawio-diagram-forge

drawio-diagram-forge builds editable draw.io diagrams from text, images, or Excel. Use it for architecture views, flowcharts, sequence diagrams, and image conversion.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 118 installs · ★ 27 repo stars
- Author: yamapan (https://github.com/aktsmm)
- License: CC-BY-NC-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aktsmm/Agent-Skills/tree/HEAD/drawio-diagram-forge/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/drawio-diagram-forge

## What it does

drawio-diagram-forge turns text, images, and Excel input into editable `*.drawio` or `*.drawio.svg` files. It covers architecture diagrams for Azure and AWS, flowcharts, swimlanes, sequence diagrams, and conversion of an existing image into native diagram elements. Files go to `outputs/`; an editable source can be paired with an SVG for documentation.

The skill runs a three-agent pipeline: it analyses the request, builds a manifest, then generates the SVG. Structural and visual gates sit between the stages, while `scripts/validate_drawio.py` checks the `mxCell` structure. The manifest and SVG each allow 2 revisions, with a 45min total timeout. VS Code, Draw.io Integration, and GitHub Copilot are required, so the skill will not run without them.

## Requirements
- Works with: AWS, Azure

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill drawio-diagram-forge -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/drawio-diagram-forge/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/drawio-diagram-forge/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill drawio-diagram-forge -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/drawio-diagram-forge/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill drawio-diagram-forge -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/drawio-diagram-forge/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aktsmm/Agent-Skills drawio-diagram-forge
```

2. **Manually: put the files in place**
- File: `.github/skills/drawio-diagram-forge/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill drawio-diagram-forge -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aktsmm/Agent-Skills --path drawio-diagram-forge
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/drawio-diagram-forge/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aktsmm/Agent-Skills --skill drawio-diagram-forge -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aktsmm/Agent-Skills/tree/HEAD/drawio-diagram-forge/SKILL.md

## When to use it
- turn text requirements into an editable architecture diagram
- convert a flowchart image into a draw.io file
- build an Azure or AWS diagram with cloud icons
- create an SVG version for documentation
- validate `mxCell` structure in a draw.io source

## Example prompts
- Create an editable user-login diagram and save it under `outputs/`.
- Convert this architecture image into a `*.drawio` file with separate nodes and connectors.
- Build an Azure Hub-Spoke diagram from `inputs/requirements.md`.

## Similar
- [drawio-logical-diagrams](https://affpapa.org/en/nevibecode/skills/drawio-logical-diagrams.md) — skill · 4200 installs
- [aws-drawio-architecture-diagrams](https://affpapa.org/en/nevibecode/skills/aws-drawio-architecture-diagrams.md) — skill · ★ 372 repo stars
- [aws-architecture-diagram](https://affpapa.org/en/nevibecode/skills/aws-architecture-diagram.md) — skill · 872 installs
- [drawio-reconstruction](https://affpapa.org/en/nevibecode/skills/drawio-reconstruction.md) — skill · 688 installs
- [drawio](https://affpapa.org/en/nevibecode/skills/drawio.md) — skill · 314 installs
- [TerraVision](https://affpapa.org/en/nevibecode/mcp/terravision.md) — MCP server · ★ 1698 repo stars

From the same set: [aktsmm/agent-skills](https://affpapa.org/en/nevibecode/by/aktsmm/agent-skills.md) — 5 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
