Diagram Design
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
A skill your agent uses when the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold), Delta Lake, Unity Catalog, workspace deployment…
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricks --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/drawio-databricks .claude/skills/drawio-databricks && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .claude/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricksType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricks --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/drawio-databricks .agents/skills/drawio-databricks && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .agents/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricks --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/drawio-databricks .cursor/skills/drawio-databricks && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .cursor/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sparklabx/drawio-ai-kit.git --path skills/drawio-databricks--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricks --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/drawio-databricks .gemini/skills/drawio-databricks && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .gemini/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricksInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/drawio-databricks .github/skills/drawio-databricks && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .github/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sparklabx/drawio-ai-kit drawio-databricks --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/drawio-databricks .opencode/skills/drawio-databricks && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "drawio-databricks" agent skill from https://github.com/sparklabx/drawio-ai-kit/tree/main/skills/drawio-databricks into .opencode/skills/drawio-databricks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "drawio-databricks", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
drawio-databricksA skill your agent uses when the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold), Delta Lake, Unity Catalog, workspace deployment…
Drawio Databricks is an agent skill from sparklabx/drawio-ai-kit. Use when the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold), Delta Lake, Unity Catalog, workspace deployment, data-plane/control-plane, or any diagram built with Databricks icons. Builds with the declarative layout engine using ground-truth stencils, validates (stencils/colors/nesting/geometry), runs a render-based vision self-check. Default output is .drawio; PNG/SVG only on request.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Diagrams and Verification before completion. It works with Databricks and draw.io. The repository describes itself as: Teach your AI to draw correct, beautiful draw.io diagrams — declarative layout engine, ground-truth stencils, structural validator, vision self-check. AWS · Azure · GCP ·… The licence is MIT.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1a03d87. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Drawio Databricks loads about 1.6k tokens when it runs. Until then it costs about 116 tokens; SKILL.md has 529 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sparklabx/drawio-ai-kit at commit 1a03d87, republished under its MIT licence (© sparklabx). 529 words, ~1,600 tokens.
.claude/skills/drawio-databricks/SKILL.md (or your agent's skills folder).Produce correct Databricks lakehouse architecture diagrams in draw.io. This skill
is a thin frontend; the deterministic engine, validator, and rules live in the
drawio-ai-kit package, reached via the drawio-ai CLI.
command -v drawio-ai >/dev/null 2>&1 || echo "Install the Kit first: npm i -g github:sparklabx/drawio-ai-kit"If drawio-ai is not on PATH, stop and tell the user to run
npm i -g github:sparklabx/drawio-ai-kit. Never run npm i -g yourself — nothing mutates the
user's global environment without their say-so.
If your harness can spawn autonomous subagents that run shell commands AND read images (e.g. Claude Code's Task tool, a general-purpose agent), run the whole build loop in a subagent — the rules, icon searches, and every render/fix iteration then cost this conversation nothing. If it can't (or the subagent can't read images), skip to Inline path below — same loop, same rules.
Before spawning, resolve what the subagent cannot ask about: diagram scope, output directory (absolute path under the user's project), filename. Run the preflight above yourself. For a multi-diagram request, spawn one subagent per diagram in parallel with distinct filenames.
Model routing — if your harness lets you choose the subagent's model, route by task weight: a fast/cheap tier (Claude Haiku-class — must support vision) when the request matches a template from the rules' Templates table (reproduction is mechanical; the validator's advice strings teach every fix), your default strong model for free-hand or novel architectures. If a cheap subagent returns VALIDATE not ok or ITERATIONS > 3, respawn ONCE on the strong model before taking over inline. Multi-diagram requests: route each diagram independently.
Subagent prompt (fill every <...>):
Build a Databricks lakehouse architecture .drawio diagram with the drawio-ai CLI.
Request: <user's request + clarifications, verbatim>
Output: <ABS_PROJECT_DIR>/<NAME>.drawio — never write inside the Kit, never into cwd.
Follow exactly:
1. Set ROOT="$(drawio-ai root)". Read $ROOT/docs/api-cheatsheet.md — the full layout-engine
API in one file; never read library source.
2. Run `drawio-ai workflow` and `drawio-ai principles --mode databricks` — the source of
truth. (Fallback if a command is blocked: read $ROOT/rules/*.md directly.)
3. Look up every icon with ONE batched `drawio-ai search "a, b, c"`; never recolor icons.
4. Scaffold, don't write: `drawio-ai scaffold --list`, pick the closest template, then
`drawio-ai scaffold <name>.mjs -o <dir>/build.mjs` — the script arrives runnable and
self-checking. Edit only the deltas; Write a new script only if no template is close
AND you'd change more than half of it.
5. Each `node build.mjs` run prints validate JSON AND the render's machine-readable
`issues` list. Fix from THAT checklist — all issues in one Edit round — then re-run.
Loop until issues is empty.
6. Only when issues is empty: Read the PNG once as final visual confirmation. Target <= 2
PNG reads total. Then render once WITHOUT --check for the final deliverable PNG.
Do NOT invoke any drawio skill — this prompt already contains the full procedure.
Do not ask questions — make the standard choice and record it under ASSUMPTIONS.
Return EXACTLY this block, nothing else:
DRAWIO: <absolute path to .drawio>
PNG: <absolute path to .png>
VALIDATE: <verbatim final validate JSON>
ICONS: <comma-separated icon names used>
ITERATIONS: <number of render/fix cycles>
SUMMARY: <one sentence describing the diagram>
ASSUMPTIONS: <choices made without asking, or "none">Relay DRAWIO, PNG and SUMMARY to the user verbatim; do NOT re-read the
.drawio or PNG in this conversation — the subagent already ran the vision
self-check. If VALIDATE is not ok, take over via the Inline path (the build
.mjs and .drawio are on disk at the returned paths).
drawio-ai workflowPrints the build → validate → render → write-to-project-path loop every diagram follows. Read it; it is the source of truth for the process.
drawio-ai principles --mode databricksReturns the Databricks rules + shared principles + catalog categories.
Resolve the Kit's install dir, then import the engine by absolute path (the
Shared Workflow shows the exact pattern):
ROOT="$(drawio-ai root)" # absolute path to the installed KitBuild with the declarative layout engine (NO hand-written coordinates), then:
drawio-ai validate <file> → drawio-ai render <file> -o <file>.png (Read
the PNG for the vision self-check) → write the .drawio to an absolute path
under the user's project (never the Kit, never cwd).
Logical layers: medallion architecture Bronze (raw) → Silver (cleaned) → Gold (business-ready). Deployment split: the Databricks control plane is managed
by Databricks (no diagram representation needed); the data plane (compute)
lives in the customer's cloud account via PrivateLink or VNet injection — show
it nested inside the customer's VPC/cloud boundary. Unity Catalog governs
metadata across workspaces.
drawio-ai validate → ok, no warnings, no advice.drawio-ai suggest-layout → recommended archetype matches your layout; no sparsity (one-icon-frame) warning.drawio-ai search (category colors intact).drawio-ai render vision self-check passed.© sparklabx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/drawio-databricks of sparklabx/drawio-ai-kit.
Open the folder on GitHubat commit 1a03d87
Drawio Databricks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Drawio Databricks this skillsparklabx/drawio-ai-kit | 652 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 44k | 1 repos | ~7.5k | Automated safety check: Pass | MIT | |
| Draw.io Diagram StudioAgents365-ai/drawio-skill | 10k | — | ~2.4k | Automated safety check: Notes | MIT | |
| Draw.io Diagram ReconstructionHKUSTDial/Supervisor-Skills | 8.4k | — | ~5.4k | Automated safety check: Pass | MIT | |
| Scibox Diagramjihe520/sci-box | 248 | 1 repos | ~983 | Automated safety check: Notes | None | |
| Drawio Diagram BuilderWill-hxw/drawio-diagram-builder | 412 | — | ~5.9k | Automated safety check: Pass | MIT |
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
HKUSTDial/Supervisor-Skills
Rebuilds a reference diagram image as an editable, high-fidelity Draw.io file, mixing native elements, SVG icons and cropped PNGs, with a batch workflow for a folder of images.
jihe520/sci-box
制作与修改可编辑的 draw.io / diagrams.net 示意图(.drawio XML),产出 .drawio + PNG/PDF。三条路径:套用内置模板(五带技术路线图、三栏研究框架图、三栏阶段流程图、横版任务流水线图)、从零手写…
Will-hxw/drawio-diagram-builder
Create, edit, replicate, and iteratively refine editable research and technical diagrams in diagrams.net/draw.io (.drawio XML) from prompts, papers, repositories, screenshots, or existing diagrams.
github/awesome-copilot
Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.
sparklabx/drawio-ai-kit
A skill your agent uses when the user asks for an AWS architecture diagram — VPC/networking, event-driven, landing zone, multi-AZ, serverless pipeline, or any diagram built with AWS service icons.
sparklabx/drawio-ai-kit
A skill your agent uses when the user asks for an Azure architecture diagram — VNet/networking, App Service, AKS, landing zone, multi-region, or any diagram built with Azure service icons.
sparklabx/drawio-ai-kit
A skill your agent uses when the user asks for a BPMN diagram, swimlane diagram, business process map, or workflow diagram with roles/lanes and phases.
sparklabx/drawio-ai-kit
A skill your agent uses when the user asks for a GCP or Google Cloud architecture diagram — VPC/networking, GKE, Cloud Run, landing zone, multi-region, or any diagram built with GCP service icons.
Works with
Categories
A skill your agent uses when the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold), Delta Lake, Unity Catalog, workspace deployment…. Drawio Databricks is an agent skill from sparklabx/drawio-ai-kit. Use when the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold), Delta Lake, Unity Catalog, workspace deployment, data-plane/control-plane, or any diagram built with Databricks icons.
Drawio Databricks fits situations like: the user asks for a Databricks lakehouse architecture diagram — medallion architecture (Bronze/Silver/Gold); workspace deployment; data-plane/control-plane; any diagram built with Databricks icons.
Run `npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a claude-code`. Or copy the skill folder (skills/drawio-databricks in sparklabx/drawio-ai-kit) into .claude/skills/drawio-databricks in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a codex`. Or copy the skill folder (skills/drawio-databricks in sparklabx/drawio-ai-kit) into .agents/skills/drawio-databricks in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sparklabx/drawio-ai-kit --skill drawio-databricks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drawio-databricks, .gemini/skills/drawio-databricks, .github/skills/drawio-databricks and .opencode/skills/drawio-databricks in your project.
Going by SKILL.md and its folder, Drawio Databricks needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Drawio Databricks is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Drawio Databricks: Diagram Design (cathrynlavery/diagram-design, 44k stars), Draw.io Diagram Studio (Agents365-ai/drawio-skill, 10k stars), Draw.io Diagram Reconstruction (HKUSTDial/Supervisor-Skills, 8.4k stars) and Scibox Diagram (jihe520/sci-box, 248 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sparklabx (a GitHub organization) maintains it in sparklabx/drawio-ai-kit, which has 652 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 2, 2026.
Source: sparklabx/drawio-ai-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.