A modeling language and toolchain that generates live, code-based software architecture diagrams using C4-inspired notation.
Agents365-ai/drawio-skill
An agent skill that turns natural language and real system sources like Terraform, Kubernetes, SQL and OpenAPI into editable draw.io architecture diagrams.
Open-source alternative to:Lucidchart
- Stars
- 10,234
- Forks
- 870
- Open issues
- 0
- Last commit
- 9 days ago
What is it?
drawio-skill is an Agent Skills-format package that generates maintainable .drawio architecture models from natural language prompts, code, infrastructure configs and schemas. It covers Terraform, Kubernetes and docker-compose with official cloud icons, SQL DDL to ER diagrams, OpenAPI, AsyncAPI, Protobuf and GraphQL to diagrams, and CI pipelines to DAGs. It also imports live infrastructure snapshots from terraform, docker and kubectl output.
Beyond one-off generation, the project focuses on keeping diagrams in sync with systems. Incremental sync updates changed nodes while preserving manually tuned layout, drift diffs compare two diagrams or snapshots, and YAML/JSON architecture rules can run as tests in CI. Diagrams can be exported to interactive HTML, PowerPoint, animated SVG, Mermaid or Markdown. The core workflows are stdlib-only, with draw.io desktop CLI as the main dependency.
Key features
- 01Generates editable .drawio files from natural language and self-checks the rendered output
- 02Imports Terraform, Kubernetes, docker-compose, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources
- 03Incrementally syncs diagrams while preserving manual layout and annotations
- 04Runs architecture rules as CI tests and drift diffs between diagrams
- 05Exports to interactive HTML, PowerPoint, animated SVG, Mermaid and Markdown
- 06Searches over 10,000 official draw.io shapes and 321 AI/LLM brand logos
Use cases
- Documenting cloud infrastructure from Terraform or Kubernetes manifests with official provider icons
- Enforcing architecture rules such as blocking direct internet-to-database access in pull requests
- Tracking how a deployed system drifts from its documented architecture
- Producing stakeholder decks or interactive architecture walkthroughs from existing code
Quick start
- 1
Install the draw.io desktop CLI (macOS)
brew install --cask drawio - 2
Install the skill for any agent
npx skills add Agents365-ai/drawio-skill -g - 3
Verify the CLI installation
drawio --version
Things to know
- The full toolkit needs the draw.io desktop CLI, and version 30 or later is recommended for Mermaid conversion and ELK layout.
- Windows and Linux CLI setup is more involved, and WSL2 uses the Windows desktop executable.
Topics
FAQ
- What is drawio-skill?
- An agent skill that turns natural language and real system sources like Terraform, Kubernetes, SQL and OpenAPI into editable draw.io architecture diagrams. drawio-skill is an Agent Skills-format package that generates maintainable .drawio architecture models from natural language prompts, code, infrastructure configs and schemas. It covers Terraform, Kubernetes and docker-compose with official cloud icons, SQL DDL to ER diagrams, OpenAPI, AsyncAPI, Protobuf and GraphQL to diagrams, and CI pipelines to DAGs. It also imports live infrastructure snapshots from terraform, docker and kubectl output.
- Is drawio-skill free to use? What license does it have?
- drawio-skill is open source under the MIT license. Check the license terms before using it in commercial products.
- Is drawio-skill still maintained?
- Actively maintained. The last commit to drawio-skill was on Oct 11, 2026.
- What can I use drawio-skill for?
- Documenting cloud infrastructure from Terraform or Kubernetes manifests with official provider icons Enforcing architecture rules such as blocking direct internet-to-database access in pull requests Tracking how a deployed system drifts from its documented architecture Producing stakeholder decks or interactive architecture walkthroughs from existing code
- How do I install drawio-skill?
- Install the draw.io desktop CLI (macOS): brew install --cask drawio Install the skill for any agent: npx skills add Agents365-ai/drawio-skill -g Verify the CLI installation: drawio --version
- Where can I get drawio-skill?
- The source code and installation instructions are on GitHub: https://github.com/Agents365-ai/drawio-skill
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Claude and coding-agent skill that turns a short JSON spec into animated, explorable diagrams exportable as SVG, PNG, GIF or MP4.
An agent skill and zero-dependency linter that makes coding agents draw hand-placed SVG diagrams in one consistent house style.
An agent skill that turns ideas, plans, or codebases into interactive HTML diagrams for Claude Code, Codex, Cursor and OpenCode.
An agent skill that makes editorial diagrams as one self-contained HTML + SVG file, with 45 diagram types and brand matching.
Open-source, local-first 3D building editor built on React Three Fiber and WebGPU, usable in the browser or from a CLI with MCP tools for AI agents.