drawio
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
md の構成・画面一覧・処理の流れなどから draw.io(.drawio)の図を作り、draw.io Desktop の CLI で PNG / SVG / PDF に書き出して自分で確かめる。「draw.io で図にして」「構成図を描いて」「画面遷移図を作って」「.drawio を PNG にして」といった場面で使う。MCP は使わず XML を直接書く。
25 other projects use a version of this.
Adopted by
Most recently taken up by
- shreeve1/Claude-Coworktheir own version, first seen Nov 1, 2026
- MakiDevelop/claude-skillstheir own version, first seen Nov 1, 2026
- jackzhaojin/ai-builder-kittheir own version, first seen Nov 1, 2026
- rysk-tanaka/skillstheir own version, first seen Oct 31, 2026
- github/awesome-copilottheir own version, first seen Oct 25, 2026
- norandom/Skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use excalidraw and handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lookfreeSkillexcalidraw
Generate architecture diagrams as .excalidraw files from codebase analysis. Use when the user asks to create architecture diagrams, system diagrams, visualize codebase structure, or generate excalidraw files.
Also in 3 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- github/awesome-copilot★ 41ksame name
- sparklabx/drawio-ai-kit★ 657same name
- Chanw-research/claude-code-paper-writing★ 42same name
- scarr05/claude-skills-pub★ 16same name
- soujava/agent-skills★ 10same name
- roeyw5/claude-code-guide★ 9same name
- akiojin/skills★ 8same name
- MakiDevelop/claude-skills★ 3same name
- norandom/Skills★ 3same name
- ikkeseb/skills★ 2same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- add-mesh-peerSkill
- adrSkill
- analyze-logsSkill
- codex-consultSkill
- codex-reviewSkill
- config-analyzerSkill
- cross-reviewSkill
- empirical-prompt-tuningSkill
- git-historySkill
- github-writingSkill
- hard-task-playbookSkill
- inherit-wipSkill
- interviewSkill
- ja-natural-reviewSkill
- mcp-smoke-via-claude-pSkill
- meeting-minutesSkill
- memoSkill
- nerfstudio-trainerSkill
- obsidian-work-loggerSkill
- plan-with-qaSkill
- poll-sonnet-workersSkill
- post-merge-cleanupSkill
- release-applySkill
- ros2-inspectorSkill
- ros2-launch-debugSkill
- ros-analyzeSkill
- safe-pathspec-commitSkill
- setup-claude-localSkill
- split-advisorSkill
- surveySkill
- work-logSkill
- write-specSkill
- zenn-interviewSkill
The file
Files
drawio — XML を直接書いて図にし、書き出して確かめる
.drawio の中身は XML。エージェントが直接書き、draw.io Desktop の CLI で書き出す。
書き出した画像を自分で読んで確かめるまでが手順。
1. 図の元を決める
- 元になる md(構成・画面一覧・手順など)があれば、それを正本にする。図に書く箱と線は md にあるものだけにし、推測で足さない
- 元がなければ、何を箱にして何を線にするかを先に箇条書きでユーザーに見せてから描く
- 保存先は特に指定がなければ元の md と同じフォルダに
<名前>.drawio
2. XML を書く
ひな形(箱2つと線1本):
<mxfile>
<diagram id="main" name="図の名前">
<mxGraphModel dx="800" dy="600" grid="1" gridSize="10" page="1" pageWidth="1169" pageHeight="827">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="a" value="SC-001
ログイン" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="40" y="120" width="140" height="60" as="geometry"/>
</mxCell>
<mxCell id="b" value="SC-002
一覧" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="300" y="120" width="140" height="60" as="geometry"/>
</mxCell>
<mxCell id="e1" value="認証成功" style="endArrow=classic;html=1;" edge="1" parent="1" source="a" target="b">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>書き方の決まり:
id="0"とid="1"の2つは必ず置き、他の要素はparent="1"にする- id は意味のある短い英字(
login,db,e1)にし、重複させない - 線(
edge="1")のsource/targetは、実在する箱の id にする。存在しない id を 指した線はエラーにならず、書き出すと黙って消える - 改行は

、&<>"は&<>"に置き換える - 座標は 10 の倍数にそろえ、箱どうしは横 120 以上・縦 80 以上あける。重なりを避けるため、 左から右(または上から下)へ流れる順に並べる
- 戻りの線は
<Array as="points">で迂回点を入れ、他の線や箱と重ねない - 色は種類ごとに1色に決める(例: 画面 #dae8fc/#6c8ebf、外部 #f8cecc/#b85450、 データ #d5e8d4/#82b366)。凡例が要るなら右下に置く
- 複数ページは
<diagram>を並べる
3. 機械チェック
python3 ~/.claude/skills/drawio/scripts/check.py <図>.drawioXML として読めるか、id の重複、線の接続先が存在するかを調べる。NG があれば直してから次へ。
4. 書き出す
drawio -x -f png -e --ozone-platform=headless --disable-gpu -o <図>.drawio.png <図>.drawio-fはpng/svg/pdf。-e付きの PNG は図のデータを埋め込むので、draw.io で そのまま開いて編集できる--ozone-platform=headless --disable-gpuは画面のない環境(SSH 先など)でも動かすため- XML が壊れていると終了コード 1 と
Export failedになる drawioが見つからなければ、draw.io Desktop(Linux は AppImage、Windows / Mac は ポータブル版でもよい)を入れてもらうようユーザーに伝える。書き出しを飛ばして.drawioだけ渡してもよい
5. 書き出した画像を読んで確かめる
PNG を Read で開き、次を確かめる。直したら 3 からやり直す。
- md にある箱と線がすべて出ているか(消えた線がないか)
- 文字が箱からはみ出ていないか、箱や線が重なっていないか
- 線のラベルがどの線のものか読み取れるか
最後に、作ったファイルのパスと、md と図の対応で気になった点を短く報告する。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

