跳到主要内容
Supermarket
返回能力市场
Claude Skill
design
MIT

drawio-skill

From text & real sources to maintainable .drawio architecture models: Diagram IR with source-kind profiles, incremental sync preserving manual layout, multi-view projection, architecture-as-test with a CI action, query/review, what-if, accessible Story Mode, and a built-in MCP server

Agents365-aiAgents365-ai
92/ 100

公开评测 · 综合采用结论

证据充分,整体质量与安全表现优秀

查看评测依据 评测我的项目基于公开项目证据,非安全认证或安装推荐
9.2kstars
647forks
最近更新 21天前
评测生成时间(北京时间)
本报告引擎
v3.10.0
当前引擎
v3.16.0

本报告与当前引擎使用不同规则;原分数不会自动更新,不同版本的分数不宜直接对比。

重新评测此项目

进入后确认来源与额度,提交才会创建任务。

Evaluation report

综合采用结论

92
A+
满分 100
值得推荐低风险
决策摘要

证据充分,整体质量与安全表现优秀

92%
高置信度
100
文档
100
安全
84
质量
100
活跃
67
采用
  • 基础评测完成+25/25确定性评分与静态安全扫描已完成
  • README 有效证据+25/2527,641 个去重后的有效字符
  • 独立证据来源+12/203 类非重复证据,重复文件不叠加
  • 仓库元数据+10/10已取得仓库状态与采用数据
  • 活跃记录+5/5已取得最近提交时间
  • AI 复核+15/15已完成结构化 AI 证据复核
How it works · 流程图

drawio-skill工作流程

README描述从输入到输出的连续处理步骤,包括依赖检查、布局规划、生成、自检和反馈循环。

AI 提取 · 证据约束

左右滑动查看完整图示

drawio-skill工作流程README描述从输入到输出的连续处理步骤,包括依赖检查、布局规划、生成、自检和反馈循环。描述布局XMLPNG结果修改用户输入文本或源规划布局处理生成XML处理导出PNG处理自检修复处理反馈循环处理
图示依据
  • • How it works章节描述:check dependencies → plan layout → generate .drawio XML → export draft PNG → self-check + auto-fix
  • • Quick Start提到:plans the layout, generates the .drawio XML, exports to your chosen format, self-checks the result
  • • 迭代反馈循环:up to 5 rounds of targeted refinement
五维表现
功能全面,解决从文本/代码/IaC生成可维护.drawio架构图的真实需求,示例丰富。但README结构混乱,部分命令与说明不完整,依赖与限制需进一步明确。
质量证据
  • 安装章节提供macOS/Windows/Linux的drawio CLI安装命令
  • Quick Start示例展示从文本生成Transformer架构图
  • 列出13种提取器,如pyimports.py、tfimports.py等
  • 提供MCP服务器工具列表:build/sync/views等
  • License章节声明MIT许可
采用建议
优势
  • 问题与用途描述
  • 有效 README
  • 安装或接入步骤
  • 可执行示例
  • 未发现已知高风险模式
关注点
  • README结构混乱,部分章节内容错位,影响可读性
  • 部分命令示例不完整,如缺少输出文件参数
  • 依赖说明不统一,如Graphviz可选但未明确哪些功能必需
  • 限制与排障信息分散,未集中说明
适合

需要从自然语言或代码生成专业架构图的开发者、需要将IaC配置可视化为云架构图的DevOps工程师、需要生成C4模型或序列图的软件架构师、需要将Mermaid图转换为可编辑.drawio的用户

不建议直接用于

需要完全离线且无外部依赖的简单绘图场景、对文档结构要求极高、需要快速定位信息的用户

也有自己的公开项目?先看完证据,再用当前规则生成独立报告。

评测我的项目 →
文档证据
100/100
问题与用途描述10 分
有效 README12 分
安装或接入步骤14 分
可执行示例16 分
输入、参数或工具说明11 分
输出或结果说明9 分
限制、权限或边界12 分
错误处理或排障8 分
许可证信息5 分
结构化章节3 分
安全证据
低风险
未发现已知高风险模式

静态扫描不是安全保证,生产接入前仍应人工复核权限和数据边界。

方法、证据与局限展开
数据来源

GitHub Repository API

扫描范围

3 个文件 · 42,367 字符

评测引擎

v3.10.0 · AI 复核已启用(deepseek-chat)

局限
  • 静态评测不会安装或执行项目代码
  • 安全扫描基于高信号文件与已知模式,不能替代人工审计
  • 流行度只反映采用程度,不代表安全或工程质量

30 天热度趋势

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.

Hero demo: Terraform source becomes an architecture diagram with official icons; the v2 change renders as an updated diagram

✨ 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, 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

drawio-skill feature map — one mind map covering every capability, itself drawn with the skill

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. 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
git clone https://github.com/Agents365-ai/drawio-skill.git \
  ~/.claude/skills/drawio-skill

# Autohand Code global install
git clone https://github.com/Agents365-ai/drawio-skill.git \
  ~/.autohand/skills/drawio-skill

# Autohand Code project-level install
git clone https://github.com/Agents365-ai/drawio-skill.git \
  .autohand/skills/drawio-skill

Autohand Code also supports autohand --skill-install for cataloged skills, with --project for workspace-level installs. Until this skill is listed there, use the direct clone path above.

Also indexed on SkillsMP.

Updating: skills update drawio-skill (SkillsMP) or git pull for manual installs. 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

Microservices Architecture: generated from a single natural-language prompt

[!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:

Star topology
Star · 7 nodes
Central message broker with 6 microservices radiating outward, no edge crossings on this example.
Layered flow
Layered · 10 nodes / 4 tiers
E-commerce stack with horizontal and diagonal cross-connections routed via corridors.
Ring cycle
Ring · 8 nodes
CI/CD pipeline with a closed loop and 2 spur branches flowing along the perimeter.

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:

Kanban board generated by drawio-skill from Mermaid — this project's roadmap across Backlog / Todo / In Progress / Done

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):

drawio-skill's pipeline drawn as a metro map — Author / Import / Repurpose / Analyze lines meeting at the Auto-layout and .drawio interchange stations

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"

Auto-generated class hierarchy of Python's logging package — modules boxed, inheritance arrows resolved

↑ 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;...

Serverless AWS architecture built from official draw.io icons resolved by shapesearch.py

↑ 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

Multi-provider LLM app diagram with real AI brand logos resolved by aiicons.py

↑ 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

Internal workflow

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)
stars
bahayonghang/drawio-skills
stars
GBSOSS/ai-drawio
stars
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