drawio-skill

Agents365-aiMIT活跃维护 有专家点评

把自然语言、代码、Terraform/K8s、SQL、OpenAPI 等源文件自动转成可编辑、可测试的 draw.io 架构图,支持增量同步、漂移对比和 CI 架构测试。

Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

v3.4.4发布于 2026-11-06 03:55 UTC10,686star +56 / 7 天732fork同步于 2026-11-11 05:27 UTC

专家点评

上手难度:进阶更新于 2026-11-11

把 Terraform/K8s/OpenAPI 源码和自然语言转成可编辑、可做 CI 校验的 draw.io 架构图

适用场景

  • 架构文档随代码走:Terraform 或 K8s manifest 改了之后跑一次 sync,只更新变化的节点,手工拖过的坐标和配色不被覆盖;换成纯手画或 Mermaid 生成,每次都要重画。
  • CI 里卡架构漂移:把允许的依赖关系写成 YAML 规则,在 PR 阶段比对当前图与规则,把架构约束变成可失败的测试;靠人工 review 架构图做不到这一点。
  • 一份模型出多张图:同一份系统描述投影成执行视图、部署视图、数据流视图,避免维护四五份互相矛盾的 drawio 文件。
  • 白板照片转可编辑图:评审会上拍的白板照经视觉提取重建为 .drawio,后续能继续改;直接留照片或截图没法进版本库做 diff。

踩坑

  • 无头 Linux 环境跑导出/转换会撞上 draw.io CLI 需要显示服务的问题,README 明说要装 xvfb;WSL2 下还得绕到 /mnt/c 调 Windows 版 exe,路径和权限容易出问题。
  • draw.io CLI 版本低于 30 时,Mermaid 转 .drawio 和 ELK 布局直接不可用,而 brew 装的 cask 版本不一定跟得上,装完先确认 CLI 版本再排查功能缺失。
  • 手动安装时目标 skills 目录下不能已存在同名条目,且必须克隆 skills/drawio-skill 子目录而不是仓库根;把整仓克隆进 skills 目录会得到一个不被识别的技能。

同类对比

要的是纯文本、能进 Git diff 的图,选 Mermaid 或 D2,代价是布局控制弱、图标体系不如 draw.io;要的是从云账号实时拉取资源拓扑而非从 IaC 文件推导,用云厂商自己的架构图工具更直接。

怎么上手

由 README 提炼,执行前请确认
brew install --cask drawio
npx skills add Agents365-ai/drawio-skill -g
硬件要求按 README 说明

README 未说明显存或 GPU 要求;需先安装 draw.io 桌面 CLI,Linux 无头环境需 sudo apt install xvfb,WSL2 下通过 /mnt/c 调用 Windows 版 exe。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把自然语言和真实系统源码转成可编辑、可测试的 draw.io 架构图

把自然语言、代码、Terraform/K8s、SQL、OpenAPI 等源文件自动转成可编辑、可测试的 draw.io 架构图,支持增量同步、漂移对比和 CI 架构测试。

核心能力

  • 从 Terraform、K8s、SQL、OpenAPI 等真实源生成带官方图标的架构图
  • 增量同步 diagramctl sync 保留手工调整的坐标与样式
  • 用 YAML/JSON 架构规则在 CI 中做架构测试与漂移对比
  • 一份模型投影出执行、系统、部署、数据流等多视图
  • 白板照片或截图经视觉提取重建为可编辑 .drawio

容易踩的坑

draw.io CLI 建议 ≥ 30 版本,否则 Mermaid 转 .drawio 和 ELK 布局不可用;技能是 skills/drawio-skill 子目录,不能把仓库根目录克隆进 skills 目录;手动安装时目标路径不能已存在,需先移走旧的 drawio-skill 条目。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.4.4
  1. v3.4.4最新正式版2026-11-06 · 2026-11-06 03:55 UTC

    Fixed

    • Native Windows: the draw.io CLI is found again. The Windows installer names the executable draw.io.exe (with the dot), while the scripts used the bare name drawio. drawio2pptx.py, drawiohtml.py, svgflow.py, and timelapse.py crashed with FileNotFoundError; buildup.py and prdiff.py reported the CLI as missing and skipped images. All of them, plus diagramctl.py doctor, now share one drawio_cli.resolve_drawio() resolver. It tries drawio and draw.io on PATH, then the macOS app bundle and the Windows %ProgramFiles%, %ProgramFiles(x86)%, and %LOCALAPPDATA%\Programs install directories, and passes the absolute path to subprocess. That also rules out .cmd shims, which Windows CreateProcess cannot launch (#143).
    • explain.py on Windows: redirected Markdown is written as UTF-8, so arrows and other non-ASCII text no longer fail under a legacy code page.

    Changed

    • SVG text labels: documented the per-cell convertToSvg=1; style for web-destined diagrams, its conversion limits and version gate, and the re-export caveat; the SVG and HTML exporter docs link to it.
    • PPTX export: documented that drawio2pptx.py embeds a raster image per slide rather than individually editable PowerPoint shapes.
    • Installation docs: corrected the manual placement recipe and the update attribution; the website install tabs match.
    • Japanese README: README_JA.md added, linked from the language row.

    Tests

    • 255 tests pass, 4 skipped. Seven new tests cover the resolver: PATH priority, the dotted name, the macOS app-bundle fallback, both Windows install directories, the nothing-installed case, and PATH hits winning over install locations.
    • The --embed-svg-images regression test now asserts that the resolved absolute path reaches argv, not a bare name.
    • CI runs on Ubuntu without draw.io installed, so the resolver is also exercised on the negative path.
  2. v3.4.22026-10-11 · 2026-10-11 10:08 UTC
    查看更新说明

    Added

    • MCP build supports optional ir_output. Save the Diagram IR and the editable .drawio in one call. Reuse the IR for views, queries, architecture tests, failure analysis, and story output.

    Fixed

    • MCP tools report all nonzero command exits as errors, including failed architecture contracts and strict-warning checks.
    • Malformed requests and invalid tool arguments produce readable errors without stopping the stdio server. Notifications remain silent.
    • Unknown architecture policy rule IDs are rejected instead of silently skipping the intended checks.

    Tests

    • Added 29 regression tests across the two merged updates and replaced permissive workflow assertions with exact results.
    • Clean release checkout: 247 tests run, 4 skipped, exit 0.
    • Build-to-IR-to-architecture-test dry run passed.
    • Native Electron export tests remain opt-in and were not run.

    Changes: PR #137 and PR #138. Skill metadata version: 3.4.2.

  3. v3.4.02026-09-14 · 2026-09-14 08:26 UTC
    查看更新说明

    See CHANGELOG [3.4.0].

    • GraphQL importer (graphqlerd.py, #131): GraphQL SDL (.graphql / .gql) or an introspection JSON dump becomes an entity type diagram, with @deprecated markers, implements and union edges, and optional grouping by schema file.
    • Rendered-output pitfalls (#132): decision-diamond exits, pixel-exact entryX / exitX pins, arrowhead sizes and label placement that validate.py cannot see, plus a DOM-verification workflow (--dump-dom on the viewer URL) for when the drawio binary is unavailable or a visual check is inconclusive.
    • 365-skills distribution removed (#133): the sync workflow is gone and this repository is the only install channel. Install with npx skills add Agents365-ai/drawio-skill -g or a manual clone; /plugin marketplace add Agents365-ai/365-skills no longer applies to this skill.
  4. v3.3.02026-09-11 · 2026-09-11 16:08 UTC
    查看更新说明

    See CHANGELOG [3.3.0]: two new importers.

    • AsyncAPI 2/3 (asyncapiimports.py, #127): channel, publish/subscribe operation and payload-schema graphs with JSON Pointer provenance, --direction, and --group by operation tag, channel tag or channel prefix.
    • Protocol Buffers (protoimports.py, #128): message, service (with RPC methods) and enum nodes with request/response and field-type edges, --group by proto package.

    The toolkit now lists 15 importers and 41 focused tools.

  5. v3.2.42026-09-11 · 2026-09-11 07:32 UTC
    查看更新说明

    See CHANGELOG [3.2.4]: README reorganization, Highlights grouped into four themes, Install/Quick Start promoted, deduplicated toolbox listing, hero led by the demo GIF. Docs only, no script changes.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    drawio-skill — From Text to Professional Diagrams

    License: MIT GitHub stars GitHub forks Latest Release Last Commit

    SkillsMP Agent Skills

    English · 中文 · 日本語 · 📖 Online Docs

    A skill that turns natural language and real system sources into maintainable .drawio architecture models. Beyond generation and export, it incrementally synchronizes without discarding manual layout, projects multiple views from one model, enforces architecture contracts, queries dependencies, simulates failure propagation, and publishes dependency-free interactive walkthroughs. Works with Claude Code, Cursor, Copilot, OpenClaw, Codex, Autohand Code, Hermes, and any agent compatible with the Agent Skills format.

    ✨ Highlights

    From a prompt

    • Describe it, get an editable .drawio — the skill plans the layout, writes the XML, exports, then self-checks its own PNG and auto-fixes overlaps, clipped labels, and stacked edges (up to 2 rounds), with up to 5 rounds of your feedback
    • Mermaid → native .drawio (draw.io ≥ 30) — author 28 standard types as Mermaid text (mindmap, gantt, timeline, journey, pie, sankey, kanban…) and the CLI converts them into a laid-out, editable .drawio: structure in, layout free
    • Whiteboard photo / screenshot → editable diagram — snap a legacy PNG or a physical whiteboard, let vision extract the graph, and raster2drawio.py rebuilds it as a real, editable .drawio honouring the original layout
    • 11 diagram type presets — ERD, UML Class, Sequence, C4, Architecture, ML/Deep Learning, Flowchart, SysML, BPMN, Network Topology, Cross-Functional Swimlane

    From real sources

    • Visualize a codebase — import graphs for Python / JS-TS / Go / Rust and Python class hierarchies, with Graphviz placement, transitive reduction, and nested module containers

    • IaC and live infrastructure — Terraform, Kubernetes, and docker-compose configs become diagrams with official AWS / Azure / GCP / K8s icons; snapshot what's actually deployed from terraform show -json, docker inspect, or kubectl get -o json

    • Schemas and pipelines — SQL DDL → ER diagram, OpenAPI/Swagger → API diagram coloured by HTTP method, AsyncAPI → event-driven architecture diagram, Protocol Buffers → message/service diagram, GraphQL SDL → entity type diagram, GitHub Actions / GitLab CI → pipeline DAG

    • Deterministic engines — sequence diagrams with computed lifelines and activation bars; multi-page C4 models with click-to-drill-down

    Keep it true over time

    • Architecture digital twin / Diagram IR — separate meaning, provenance, and geometry; project executive, system, deployment, data-flow, and security views from one model
    • Incremental sync without losing manual layout — diagramctl sync updates changed nodes/relations while preserving tuned coordinates, styles, and annotations; removals stay reviewable by default
    • Diagram-as-Test, in CI — YAML/JSON architecture rules (Internet-to-database access, cycles, orphans, trust boundaries, contrast…) plus an official GitHub Action that enforces them on every PR, and a PR action that renders visual diffs
    • Query, review, what-if — query components/owners/paths, spot articulation points and high coupling, simulate failure propagation, publish an accessible Story walkthrough
    • Drift and history — colour-coded diffs between two diagrams or two live snapshots; a time-lapse player of how a codebase's architecture grew

    Share and restyle

    • Repurpose with one command — interactive HTML viewer (pan/zoom/search), PowerPoint deck (raster page images, not individually editable shapes), animated data-flow SVG, Mermaid or Markdown export, click-through runbook, exec-summary compression
    • Restyle and enrich — style presets (yours or built-in dark/corporate/…), bilingual label variants with layout untouched, data-driven heat maps, white-to-metro tubemap mode
    • 10,000+ official shapes + 321 AI/LLM logos — resolve exact AWS / Cisco / K8s / UML icon styles instead of guessing, plus brand logos draw.io itself lacks
    • One CLI, optional MCP server — diagramctl doctor/build/sync/views/query/test/review/whatif/story/publish/transform, core workflows stdlib-only and offline; the MCP server exposes them to Claude Desktop, Cursor, VS Code, Codex, and any MCP host. Portable to any Agent Skills-compatible agent, no daemon

    🗺️ Feature Map

    A bird's-eye view of everything the skill does — diagram types, import sources, layout engines, styling, export formats, and repurposing — in one map. Fittingly, this map was itself drawn with drawio-skill.

    🚀 Installation

    1. Install the draw.io desktop CLI

    PlatformCommand
    macOSbrew install --cask drawio
    WindowsDownload installer
    Linux.deb/.rpm from releases; sudo apt install xvfb for headless

    Verify with drawio --version (draw.io.exe --version on Windows). Version ≥ 30 recommended — it unlocks Mermaid → .drawio conversion and the ELK --layout pass (both unavailable on ≤ 29). On WSL2 the CLI is the Windows desktop exe reached via /mnt/c — the skill detects this automatically (see troubleshooting). Full recipes in docs/INSTALL_CLI.md.

    2. Install the skill

    # Any agent (Claude Code, Cursor, Copilot, ...)
    npx skills add Agents365-ai/drawio-skill -g
    

    Manual install: clone once to a persistent path, then link the skill subdirectory (Claude Code shown). Use cp -R instead of ln -s on hosts that do not follow symlinks. The destination must not exist yet, so move an existing drawio-skill entry aside first.

    mkdir -p ~/src
    git clone https://github.com/Agents365-ai/drawio-skill.git ~/src/drawio-skill
    mkdir -p ~/.claude/skills
    ln -s ~/src/drawio-skill/skills/drawio-skill ~/.claude/skills/drawio-skill
    
    # Copy alternative, for hosts that do not follow symlinks
    # mkdir -p ~/.claude/skills
    # cp -R ~/src/drawio-skill/skills/drawio-skill ~/.claude/skills/drawio-skill
    

    The skill is the skills/drawio-skill/ subdirectory, so SKILL.md must sit directly under the host entry: <skills root>/drawio-skill/SKILL.md. Do not clone the repository root into a skills directory. Other host roots (Opencode, OpenClaw, Codex, Autohand Code global and project): docs/INSTALL_SKILL.md.

    Autohand Code also supports autohand --skill-install for cataloged skills, with --project for workspace-level installs. Until this skill is listed there, use the manual recipe above with the Autohand Code skills root: ~/.autohand/skills/ (global) or <project>/.autohand/skills/ (project).

    Also indexed on SkillsMP.

    Updating: npx skills update drawio-skill -g (skills CLI) for installer installs; link installs update with git -C ~/src/drawio-skill pull, and copy installs need a manual refresh. See docs/INSTALL_SKILL.md#updates. Release history in CHANGELOG.md.

    ⚡ Quick Start

    After installation, just describe what you want. For example, an ML model:

    Draw a Transformer encoder-decoder for machine translation: 6-layer encoder
    with self-attention, 6-layer decoder with cross-attention, input embeddings
    (batch × 512 × 768), positional encoding, and a final output projection.
    Annotate tensor shapes between layers and color-code by layer type.
    

    The skill plans the layout, generates the .drawio XML, exports to your chosen format, self-checks the result, and lets you iterate.

    🖼️ Examples

    [!TIP] The diagram above was generated from this single prompt:

    Create a microservices e-commerce architecture with Mobile/Web/Admin clients,
    API Gateway (auth + rate limiting + routing), Auth/User/Order/Product/Payment
    services, Kafka message queue, Notification service, and User DB / Order DB /
    Product DB / Redis Cache / Stripe API
    

    The maintained Architecture Studio showcase covers code → IR → .drawio, conflict-aware synchronization that preserves a manually tuned layout, and architecture → policy/views/what-if/accessible Story. Every artifact is regenerated by one script and verified in the test suite.

    The skill is designed to route edges cleanly across different topologies, avoiding lines that cross through shapes:

    It also speaks Mermaid — standard types (flowchart, mindmap, kanban, gitGraph, timeline…) convert straight to native, editable .drawio. Here's a Kanban board (this project's own roadmap) generated from a few lines of Mermaid:

    Tube-Map Mode restyles a pipeline or journey as a London-Underground-style metro map — coloured lines, octilinear (H/V/45°) routing, and white interchange circles. Here's the skill's own flow (this map is assets/tubemap.json, ~20 lines):

    Full walkthrough in docs/USAGE.md.

    🗺️ From Real Sources to Diagrams

    Beyond hand-authored diagrams, the skill turns existing code, infrastructure, and schemas into diagrams — no manual coordinates. Just ask:

    "Visualize the module structure of this Python project" · "Draw the class hierarchy of mypackage"

    ↑ Python's logging package as a class hierarchy — one command, modules auto-boxed, every inheritance edge resolved.

    Under the hood it runs a bundled extractor → auto-layout → validate pipeline:

    # source -> graph JSON -> placed, editable .drawio
    python3 scripts/tfimports.py ./infra -o graph.json          # Terraform -> official AWS icons
    python3 scripts/autolayout.py graph.json -o architecture.drawio
    
    # drift between two states, then share as one interactive file
    python3 scripts/drawiodiff.py v1.drawio v2.drawio -o drift.json
    python3 scripts/drawiohtml.py architecture.drawio -o architecture.html
    

    The full toolbox, grouped by stage:

    StageTools
    Import16 extractors: Python · JS/TS · Go · Rust import graphs, Python class inheritance, Terraform / Kubernetes / docker-compose with official cloud icons, live infra from terraform show -json / docker inspect / kubectl get -o json, SQL DDL → ERD, OpenAPI → API diagram (coloured by HTTP method), AsyncAPI → event-driven architecture diagram, Protobuf → message/service diagram, GraphQL SDL → entity type diagram, GitHub Actions + GitLab CI → DAG
    Compare & evolvedrawiodiff.py colour-codes drift between two diagrams or two live snapshots (added=green, removed=red, changed=orange); timelapse.py replays git history as an HTML player; prdiff.py renders PR diffs in CI
    Repurposeexplain.py → Markdown, drawiohtml.py → pan/zoom/search HTML viewer, drawio2pptx.py → deck, svgflow.py → animated SVG, drawio2mermaid.py → diagrams-as-code, runbook.py → clickable triage app, compress.py → exec summary with drill-down, buildup.py → self-drawing player, tubemap.py → metro map
    Restyle & enrichrestyle.py applies presets by hue remap, relabel.py produces translated twins with layout untouched, heatmap.py shades nodes from a metrics CSV/JSON, edgeports.py un-stacks edges at shape boundaries
    Layout & lintautolayout.py (Graphviz placement, orthogonal routing, --tune direction picking, --group containers, transitive reduction: asyncio 149 → 46 edges), seqlayout.py, c4.py, and the deterministic validate.py linter (--score / --strict)

    Layout needs Graphviz (brew install graphviz / apt install graphviz) — optional; everything else works without it. Full format + flag reference in references/autolayout.md, every tool in references/toolbox.md. Regenerate, validate (--strict gate) and render headlessly in CI: docs/CI.md.

    🧩 Supported Diagram Types

    CategoryExamplesNotable features
    Architecturemicroservices, cloud (AWS/GCP/Azure), network topology, deploymentTier-based swimlanes, hub-center strategy
    C4 modelsystem context, containers, componentsMulti-page .drawio, click-to-drill-down links
    ML / Deep LearningTransformer, CNN, LSTM, GRUTensor shape annotations, layer-type color coding
    Flowchartsbusiness processes, workflows, decision trees, state machinesSemantic shapes (parallelogram I/O, diamond decisions)
    UMLclass diagrams, sequence diagramsInheritance / composition / aggregation arrows; lifelines + activation boxes
    SysML / MBSEblock definition (bdd), internal block (ibd), requirement (req), parametric (par)«block» / «requirement» compartments, satisfy/derive/verify edges, native mxgraph.sysml.* ports & flows
    BPMNbusiness processes, pools & lanesNative mxgraph.bpmn.* events/tasks/gateways, sequence vs message flows
    Network topologyLAN/WAN, subnets, DMZmxgraph.networks.* device shapes, zone containers, link labels; Cisco/rack via shape search
    Cross-functional swimlanewho-does-what processes, handoffsPool + role lanes, flowchart vocabulary, orthogonal handoff edges
    DataER diagrams, data flow diagrams (DFD)Table containers, PK/FK notation
    Mermaid-authoredmind maps, gantt, timeline, journey, pie, sankey, kanban + 20 moreNative CLI conversion (≥ v30) — structure only, layout free
    Otherorg charts, wireframes—

    🔍 Shape Search

    Need a real AWS / Azure / GCP / Cisco / Kubernetes / UML / BPMN icon? The skill searches 10,000+ official draw.io shapes for the exact style string — so vendor icons render correctly instead of falling back to a blank box from a guessed shape=mxgraph.* name.

    "Add an AWS Lambda wired to an S3 bucket" · "Use the real Kubernetes pod icon"

    python3 scripts/shapesearch.py "aws lambda" --limit 5
    # → Lambda (77x93)
    #   outlineConnect=0;...;shape=mxgraph.aws3.lambda;fillColor=#F58534;...
    

    ↑ A serverless AWS architecture — every icon is the real official draw.io shape resolved by shapesearch.py, not a hand-guessed shape= string.

    Covers AWS / Azure / GCP / Cisco / Kubernetes / UML / BPMN / ER / electrical / P&ID and the general shape sets. Hand-writable style cheatsheet + search usage in references/shapes.md.

    🤖 AI / LLM Brand Logos

    draw.io ships no modern AI/LLM logos, so an LLM-app diagram renders as generic boxes. aiicons.py resolves a brand name to a draw.io image style for any of 321 logos (OpenAI, Claude, Gemini, Mistral, Llama, Cohere, DeepSeek, Qwen, Ollama, LangChain, HuggingFace…) from lobe-icons (MIT), plus 18 data-store brands (Redis, Postgres, MongoDB, Qdrant, Milvus, Supabase…) via simple-icons (CC0) for RAG stacks.

    python3 scripts/aiicons.py "claude" --json      # CDN-referenced (default)
    python3 scripts/aiicons.py "openai" --embed     # self-contained data URI
    

    ↑ A multi-provider LLM app — every brand logo resolved by aiicons.py. Icons are referenced from the unpkg CDN by default (network needed at render time); --embed inlines them for offline use. Logos are trademarks of their owners, used for identification only.

    🎨 Style Presets

    Capture a visual style once, reuse it everywhere. Five presets are built in — default, corporate, handdrawn, colorblind-safe (Okabe-Ito palette), dark — and you can teach the skill your own style from a .drawio file or a flat image:

    Draw a microservices architecture using my "corporate" style
    
    Learn my style from ~/diagrams/brand.drawio as "mybrand"
    

    The skill extracts colors, shapes, fonts, and edge style, renders a preview, and only saves the preset after you approve. Full preset-management commands in docs/STYLE_PRESETS.md.

    🔄 How it works

    Behind the scenes: check dependencies → plan layout → generate .drawio XML → export draft PNG → self-check + auto-fix (up to 2 rounds) → show to user → 5-round feedback loop until approved → final export.

    🆚 Comparison

    vs Other draw.io Skills & Tools

    Featuredrawio-skilljgraph/drawio-mcp (official)starsbahayonghang/drawio-skillsstarsGBSOSS/ai-drawiostars
    ApproachPure SKILL.md + optional MCP serverMCP servers / Claude Code plugin / ProjectYAML DSL + CLI (MCP optional)Claude Code plugin
    Dependenciesdraw.io desktop onlydraw.io desktopdraw.io desktop (MCP optional)draw.io plugin + browser
    Multi-agent✅ 6 platforms⚠️ MCP hosts (Claude, Cursor, VS Code)✅ Claude / Gemini / Codex❌ Claude Code only
    Self-check + auto-fix✅ 2-round (reads PNG)❌✅ validation + strict mode❌ screenshot only
    Iterative review✅ 5-round loop❌ generate once✅ 3 workflows❌
    Diagram presets✅ 7 types❌✅ paper-mode classifier❌
    Mermaid authoring✅ 28 types (CLI ≥ 30)✅❌❌
    ML/DL diagrams✅ tensor shapes, layer colors❌❌❌
    Color system✅ 7-color semantic❌✅ 6 themes❌
    Official shape search✅ 10k+ shapes (local)✅ 10k+ shapes (MCP)❌❌
    AI/LLM brand logos✅ 321 + 18 data-store❌❌❌
    Browser fallback✅ diagrams.net URL (viewer + editable)✅ diagrams.net URL (plugin) + inline preview✅ via optional MCP✅ diagrams.net viewer (primary)
    Zero-config✅ copy skills/drawio-skill/✅✅ desktop-only mode❌ needs plugin install

    Using the official jgraph plugin? jgraph/drawio-mcp now ships an official Claude Code plugin (/plugin install drawio@drawio) that also generates .drawio and exports via the desktop CLI. drawio-skill is complementary — reach for it when you want the code / IaC / SQL / OpenAPI / AsyncAPI / Protobuf importers, AI-brand logos, deterministic sequence & C4 generators, self-check + review loop, and the interactive HTML viewer, all from a single SKILL.md with no MCP server.

    Full comparison + key-advantages summary in docs/COMPARISON.md (with audit timestamp).

    🎯 When to use (and when not to)

    Good fit:

    • Polished, precise diagrams — stakeholder decks, architecture, network topology, strict UML, ER diagrams
    • Solid opaque fills, 10,000+ official shapes, branded icons (AWS / Azure / GCP / Cisco / Kubernetes + AI/LLM logos), swimlanes, and custom geometry
    • Anything you'll export to PNG / SVG / PDF and keep editable

    Reach for a sibling skill instead when you need:

    🔗 Related Skills

    Part of the Agents365-ai diagram-skill family — pick the right tool for the job:

    SkillStyleBest for
    excalidraw-skillHand-drawn / sketchyWhiteboard mockups, informal diagrams
    mermaid-skillText-based, auto-layoutREADME-embeddable, version-control friendly
    plantuml-skillUML-focusedClass / sequence diagrams in CI pipelines
    tldraw-skillWhiteboard collaborationCasual sketches, FigJam-style boards

    👤 Author

    Agents365-ai

    📄 License

    MIT