Skip to content
Back to search

drawio-ai-kit

Teach your AI to draw correct, beautiful draw.io diagrams — declarative layout engine, ground-truth stencils, structural validator, vision self-check. AWS · Azure · GCP · Databricks · BPMN. Zero dependencies.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/sparklabx--drawio-ai-kit/badge.svg)](/listings/sparklabx--drawio-ai-kit)

HTML

<a href="/listings/sparklabx--drawio-ai-kit"><img src="/api/listings/sparklabx--drawio-ai-kit/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Full install — the CLI plus all 5 Domain Skills (AWS, Azure, GCP, Databricks, BPMN) — in one line:

npm i -g github:sparklabx/drawio-ai-kit && npx skills add sparklabx/drawio-ai-kit

Restart your agent, then try: *"draw an AWS 3-tier web app"*.

The first command puts the `drawio-ai` binary on PATH (installs straight from GitHub — not yet on the npm registry; see [INSTALL.md](INSTALL.md) to pin a version or install from a clone). The second registers the Domain Skills with your agent (the `skills` CLI auto-detects Claude Code, Codex, Gemini CLI, …) — without it the agent never picks the kit up on its own.

- Just one domain instead: `npx skills add sparklabx/drawio-ai-kit --skill drawio-aws` (`--list` previews all 5) - Optional, for the full experience: the **draw.io desktop app** enables `drawio-ai render` (the vision self-check); **Graphviz** enables `vendor/autolayout.py` for large graphs. Details in [INSTALL.md](INSTALL.md).

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 340 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <p align="center">
  2. <img src="docs/logo.png" width="150" alt="drawio-ai-kit logo" valign="middle">
  3. &nbsp;&nbsp;
  4. <img src="docs/wordmark.svg" width="360" alt="drawio-ai-kit — the AI draws, the kit makes it right" valign="middle">
  5. </p>
  6. <p align="center">
  7. <img src="https://img.shields.io/badge/version-2.0.0-22D3EE?style=flat-square" alt="Version 2.0.0">
  8. <img src="https://img.shields.io/badge/install-nothing%20extra-2BB3A3?style=flat-square" alt="Self-contained bundle">
  9. <img src="https://img.shields.io/badge/skill-1%20(all%20domains)-5AA9FF?style=flat-square" alt="1 skill, all domains">
  10. <img src="https://img.shields.io/badge/node-%E2%89%A520.6%20or%20Bun-B98CF0?style=flat-square" alt="Node ≥20.6 or Bun">
  11. <img src="https://img.shields.io/badge/built%20with-Bun-F9F1E1?style=flat-square" alt="Built with Bun">
  12. <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F59E0B?style=flat-square" alt="License: MIT"></a>
  13. <a href="CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-ff69b4?style=flat-square" alt="PRs welcome"></a>
  14. </p>
  15. An orchestration and validation framework enabling AI agents to generate **structurally precise and aesthetically standardized** draw.io diagrams, optimized for AWS, Azure & GCP architectures.
  16. It mitigates common AI agent hallucinations (such as generating non-existent stencil IDs that result in empty shapes) using three key components:
  17. 1. **Declarative Catalog** — A single source of truth mapping draw.io stencil IDs (`mxgraph.aws4.*`) to their respective taxonomies and canonical color palettes.
  18. 2. **Design Principles** — Codified architectural and layout rules (`skills/drawio/references/principles.md`).
  19. 3. **Structural Validator** — A static analysis engine that audits diagram XML to guarantee stencil references are valid and design principles are satisfied prior to serialization.
  20. Exposed to the AI via the **self-contained `drawio-ai` CLI** (one bundled file, nothing extra to install).
  21. ## Showcase
  22. One diagram per platform — all generated end-to-end by the kit: no hand-placed coordinates, real stencils, validated, vision-checked. Full set in [`examples/`](examples/).
  23. <p align="center"><img src="docs/gallery.webp" width="900" alt="Gallery — AWS Multi-AZ · Databricks Data Intelligence Platform · Azure hub-spoke landing zone · GCP Shared VPC landing zone"></p>
  24. ## Quick start
  25. **Requirements:** Node.js ≥20.6 **or** Bun 1.4+. Nothing else to install.
  26. > **Bun-only machine (no `node`)?** The CLI's shebang is `#!/usr/bin/env node` (the Windows-safe standard), so `install.sh` writes `~/.local/bin/drawio-ai` as a wrapper that runs `bun <pkg>/dist/cli.mjs`. Re-run `install.sh` after `bun update -g`. With a manual `bun add -g`, run `bun $(bun pm bin -g)/../install/global/node_modules/drawio-ai-kit/dist/cli.mjs` or install Node.
  27. ### 1. One-liner (CLI + skill)
  28. ```bash
  29. curl -fsSL https://raw.githubusercontent.com/sparklabx/drawio-ai-kit/refs/heads/main/install.sh | sh
  30. ```
  31. It installs `drawio-ai-kit@latest` globally with Bun (if present) or npm, links the `drawio-ai` command into
  32. `~/.local/bin` (pick another dir with `BIN_DIR=/dir` or `--bin-dir /dir`; pin a version with `--version 2.0.1`), then registers the `drawio` skill with every
  33. agent it finds. It never installs a runtime and needs no `sudo`. Prefer to read it first? Download
  34. `install.sh`, open it, then run `sh install.sh` (`--dry-run` prints the commands only; `--help` lists options).
  35. Re-run it to upgrade. It first removes old installs so exactly one copy remains:
  36. - any global copy from npm or Bun, including old git installs
  37. - the old skills (`drawio-aws`, `drawio-cloud-architect`, …) and their leftover folders
  38. - the pre-1.0 MCP entry
  39. Pass `--no-clean` to keep them.
  40. ### 2. Manual (npm or Bun)
  41. ```bash
  42. npm i -g drawio-ai-kit && drawio-ai skill install # npm
  43. bun add -g drawio-ai-kit && drawio-ai skill install # Bun
  44. ```
  45. About 2 MB from the npm registry, so it takes seconds. `drawio-ai skill install` registers the skill straight
  46. from the installed package, with no second download. Restart your agent, then try: *"draw an AWS 3-tier web app"*.
  47. ### 3. As a project dependency (scripts and types)
  48. ```bash
  49. npm i drawio-ai-kit # or: bun add drawio-ai-kit
  50. ```
  51. ```js
  52. import { Diagram, group, icon, renderTree } from "drawio-ai-kit"; // full TypeScript types included
  53. ```
  54. Run such a script with plain `node build.mjs` or `bun build.mjs`. Without a local install, use the global CLI:
  55. `drawio-ai run build.mjs` (it resolves `"drawio-ai-kit"` to the installed CLI).
  56. The global install puts the `drawio-ai` binary on PATH (see [INSTALL.md](INSTALL.md) to pin a version).
  57. Install only from the npm registry; installing from git or GitHub is not supported. The CLI ships as a **Bun-minified production bundle** (`dist/`)
  58. that runs on Node or Bun. Its one library (icon search) is bundled inside, so users install nothing extra.
  59. The skill step uses the `skills` CLI, which auto-detects Claude Code, Codex, Gemini CLI, … —
  60. without it the agent never picks the kit up on its own.
  61. One skill covers every domain: it asks you what's missing (which cloud? what to draw?), then
  62. loads just that domain's reference. It is written in short, explicit steps so small fast models
  63. (e.g. Claude Haiku) can drive it end-to-end.
  64. - Optional, for the full experience: the **draw.io desktop app** enables `drawio-ai render` (the vision self-check); **Graphviz** enables `vendor/autolayout.py` for large graphs. Details in [INSTALL.md](INSTALL.md).
  65. ## Is it safe to install?
  66. Short answer: yes — and you don't have to take my word for it.
  67. - **No hidden code.** No `postinstall` (or any lifecycle) hooks — nothing runs on `npm install`. No dependencies are installed alongside it. **No `sudo`, no runtime installs, no remote code at run time.** The optional one-line installer is a short POSIX script you can read first. The shipped `dist/` is minified, but it is a reproducible build of the readable `src/`: it is never committed; CI builds it on every PR (and checks the build is deterministic), and the release job builds the published copy from the tagged source.
  68. - **Self-contained.** The package has no runtime `dependencies`. The one library it uses (`minisearch`, for icon search) is a devDependency that Bun bundles into `dist/`, and `npm audit --omit=dev` runs in CI.
  69. - **Runs locally, no telemetry.** The CLI only reads/writes local files. The single optional outbound call is icon-logo fetching from public CDNs (lobe-icons), and it's opt-in.
  70. - **Easy to undo:**
  71. ```bash
  72. npm uninstall -g drawio-ai-kit # remove the CLI (Bun: bun remove -g drawio-ai-kit)
  73. npx skills remove drawio # remove the skill (Bun: bunx skills remove drawio)
  74. ```
  75. - **Updating** — two independent channels:
  76. ```bash
  77. npm i -g drawio-ai-kit@latest && drawio-ai skill install # CLI + skill (Bun: bun add -g drawio-ai-kit@latest)
  78. ```
  79. The skill drives `drawio-ai` at runtime, so engine fixes reach you the moment you update the
  80. CLI. Re-running `drawio-ai skill install` refreshes the skill's docs from the same version. Pin a release with
  81. `drawio-ai-kit@2.0.0`.
  82. To report a security issue, see [`SECURITY.md`](SECURITY.md).
  83. ## Build a diagram — declarative, no hardcoded coordinates
  84. Define a diagram **topology** (`pipeline`/`hierarchy`/`network`/`hubspoke`/`hybrid`/`mesh`/`sequence`), declare the **nested structure**, and the layout engine programmatically computes spatial coordinates (x/y/w/h) — frames auto-size to fit their children, while rows and columns auto-space. You define the logical topology, not raw pixels.
  85. ```js
  86. import { Diagram, group, icon, box, renderTree } from "drawio-ai-kit"; // run: drawio-ai run build.mjs (or plain node/bun where drawio-ai-kit is installed)
  87. const d = new Diagram("network");
  88. const tree = group("region", "group_region", "Region", { dir: "row" }, [
  89. group("vpc", "group_vpc", "VPC", { dir: "col" }, [
  90. icon("alb", "elastic_load_balancing", "ALB"),
  91. icon("ec2", "ec2", "EC2"),
  92. ]),
  93. ]);
  94. renderTree(d, tree); // engine lays everything out + sizes the page
  95. d.title("My VPC");
  96. d.link("alb", "ec2"); // edges by id; router picks straight/corridor
  97. const res = d.validate(); // names real? colors/nesting/labels clean?
  98. // d.mxfile("My VPC") → write to .drawio, export PNG, then vision self-check
  99. ```
  100. Icon names are retrieved from `drawio-ai search` to prevent name fabrication (it tolerates typos, aliases like `k8s`/`pg`/`es`, and multi-keyword queries); edge routing, container sizing, alignment, and contextual corner styles are dynamically computed. The AI agent defines the logical layout and iterates via a render-analyze-rectify loop (vision-based self-correction). Example: `examples/aws/build_mesh.mjs` (zero manual coordinates).
  101. ## Migration (from 1.x)
  102. At **2.0.0** the 5 domain skills (`drawio-aws`, `drawio-azure`, `drawio-gcp`, `drawio-databricks`,
  103. `drawio-bpmn`) were merged into ONE `drawio` skill, and the CLI became a Bun-minified bundle in `dist/`.
  104. - **Easiest:** re-run `install.sh`. It removes the old skills and the old CLI, then installs fresh.
  105. - **Skills (manual):** `npx skills remove drawio-aws drawio-azure drawio-gcp drawio-databricks drawio-bpmn`, then `drawio-ai skill install`.
  106. - **CLI (manual):** `npm i -g drawio-ai-kit` (from the npm registry; the bin points at `dist/cli.mjs`).
  107. - **Your build scripts:** import everything from `"drawio-ai-kit"` (the package no longer ships `src/`). Re-scaffold, or replace the `<ROOT>/src/builder.ts` / `layout-engine.ts` / `bpmn.ts` imports with that one name. Run with `drawio-ai run build.mjs`.
  108. - `drawio-ai principles --mode …` and `drawio-ai workflow` still work; they now print the skill's `references/` and `workflows/build.md`.
  109. ## Migration (from <1.0)
  110. At **1.0.0** the MCP server and bespoke installer were removed. To migrate:
  111. - **Install:** run `install.sh`. It removes the `drawio-ai-kit` MCP entry and the old
  112. `drawio-cloud-architect` / `drawio-aws-architect` skill folders, then installs the CLI from npm and the `drawio` skill.
  113. - **Manual:** `claude mcp remove drawio-ai-kit --scope user`, delete the old skill folders
  114. (e.g. `~/.agents/skills/drawio-cloud-architect`), then `npm i -g drawio-ai-kit && drawio-ai skill install`.
  115. - **Vision self-check:** the inline image was replaced by `drawio-ai render` → PNG → `Read`.
  116. - **Uninstall:** `npm uninstall -g drawio-ai-kit` + remove each skill via the skills tooling.
  117. ## Template library (`examples/`)
  118. Each file builds one common architecture via the layout engine (zero hardcoded coordinates) — copy one as a starting point. Examples are **organized into domain subfolders** — see [`examples/README.md`](examples/README.md) for the full index. Copy one out of the kit and run it: `drawio-ai scaffold <file> -o <dir>/build.mjs --name <name>.drawio && drawio-ai run <dir>/build.mjs` (the `.drawio` lands next to the script; never run examples inside the kit folder).
  119. **`examples/aws/`**
  120. | Example | Type | Architecture |
  121. | --- | --- | --- |
  122. | `build_pipeline.mjs` | pipeline | Layered data analytics pipeline (ingest → process → store → serve) + cross-cutting band |
  123. | `build_landingzone.mjs` | hierarchy | AWS Landing Zone / Control Tower org & OUs |
  124. | `build_vpc.mjs` | network | VPC Multi-AZ 3-tier (ALB spanning AZs) |
  125. | `build_vpc_routing.mjs` | network | Subnets + route tables + VPC Endpoint (Gateway) → S3 |
  126. | `build_vpc_eks.mjs` | network | VPC with Bastion, NAT, EKS, Auto Scaling worker nodes |
  127. | `build_vpc_efs.mjs` | network | VPC with Amazon EFS (a mount target per AZ) |
  128. | `build_web3tier.mjs` | network | 3-tier web app (Edge → Web → App → Data) |
  129. | `build_eventdriven.mjs` | hubspoke | Serverless event bus (EventBridge hub → consumers) |
  130. | `build_serverless.mjs` | sequence | Serverless web app, numbered request walkthrough |
  131. | `build_hybrid.mjs` | hybrid | On-prem ↔ AWS over Direct Connect + VPN, mirrored DR |
  132. | `build_mesh.mjs` | mesh | Multi-account connectivity / service mesh |
  133. | `build_iam_accounts.mjs` | hierarchy | Multi-account IAM + cross-account assume-role |
  134. **`examples/azure/` · `gcp/` · `databricks/` · `multicloud/` · `bpmn/`**
  135. | Example | Type | Architecture |
  136. | --- | --- | --- |
  137. | `azure/build_azure_vnet.mjs` | network | Azure N-tier: Subscription → Resource Group → VNet → Subnet tiers |
  138. | `azure/build_azure_hub_spoke_lz.mjs` | network | CAF hub-spoke landing zone (Management Groups, hub + spoke VNets, reserved subnets, peering, private endpoints) |
  139. | `gcp/build_gcp_vpc.mjs` | network | GCP global VPC across two regions (Project → global VPC → regional Subnets) |
  140. | `gcp/build_gcp_shared_vpc_landing_zone.mjs` | network | Shared VPC landing zone (host/service projects, regional Cloud Router/NAT, Interconnect, PSC, VPC-SC) |
  141. | `databricks/build_lakehouse.mjs` | pipeline | Databricks lakehouse medallion (Bronze/Silver/Gold) + Unity Catalog |
  142. | `databricks/build_platform.mjs` | hybrid | Databricks control-plane vs data-plane deployment topology |
  143. | `databricks/build_data_intelligence_platform.mjs` | pipeline | Databricks Data Intelligence Platform reference (signature bands, medallion, foundation) |
  144. | `databricks/build_mlops.mjs` | pipeline | Databricks MLOps — Git provider + Dev/Staging/Prod workspaces + Unity Catalog + Lakehouse |
  145. | `multicloud/build_multicloud.mjs` | hybrid | On-prem + AWS + Azure composed through a neutral interconnect |
  146. | `bpmn/build_bpmn.mjs` | bpmn | BPMN swimlane process (pool → lanes × phases) |
  147. ## Runtime architecture
  148. - **Node ≥20.6 or Bun** — runs the shipped `dist/` bundle (CLI, validator, library). The source in `src/` is TypeScript (`.nvmrc` = 22 for development).
  149. - **Bun 1.4+** — maintainers only: `bun test` runs the suites, `bun run build` bundles `src/` (and devDependencies such as minisearch) into the minified `dist/` that ships. Users need Node or Bun, not both.
  150. - **Python 3.11** (`.python-version`) — data ingestion and compilation pipeline: catalog generator + icon-pack builder (`scripts/build_pack.py`, stdlib only).
  151. Install the dependencies:
  152. ```bash
  153. nvm install --lts && nvm use --lts # or: brew install node
  154. brew install python@3.11 # then: python3.11 --version
  155. ```
  156. ## CLI commands
  157. | Command | Purpose |
  158. | --- | --- |
  159. | `search` | Find a stencil by keyword/category → returns the exact name + ready-to-paste draw.io `style` (verbatim from the index: real names, official colors, connection points). |
  160. | `style` | Get the full style for one stencil by exact name. |
  161. | `validate` | Lint XML: unknown stencils, dangling edges, missing `aspect=fixed`, **recolored AWS icons**, **broken AWS group nesting**, **geometry (overlap / child spills its frame / stacked arrowheads)**, plus an aesthetic `audit` (font/palette/fan-out/icon-size). |
  162. | `audit` | Aesthetic audit only (font/palette/fan-out/icon-size). |
  163. | `render` | Render the XML to PNG (`drawio-ai render <file> -o out.png`). Needs the draw.io desktop CLI; set `DRAWIO_CLI` to override the path. |
  164. | `logo` | Logo for non-AWS brands (AI/LLM + some) as an `image` style, via `vendor/aiicons.py` (lobe-icons). Needs python3. |
  165. | `categories` | List all catalog categories. |
  166. | `types` | List supported diagram topologies. |
  167. | `principles` | Design rules + architecture preset + catalog categories (from the skill's `references/`). Pass `--mode aws|azure|gcp|databricks|bpmn` for a domain. |
  168. | `run <script> [args]` | Run a script whose `import "drawio-ai-kit"` resolves to this CLI's own install (Node >=20.6, Bun). |
  169. | `root` | Print the installed Kit's absolute path. |
  170. | `skill install` | Register the bundled `drawio` skill with your agents through the `skills` CLI (`-g`, `-a <agent>`, `-y` pass through). No extra download. |
  171. | `workflow` | Print the build → validate → render → write workflow (`skills/drawio/workflows/build.md`). |
  172. | `scaffold` | Copy a template as a runnable build script: `scaffold build_vpc.mjs -o <dir>/build.mjs --name vpc.drawio` (`--list` shows all). |
  173. The `drawio` skill wraps these commands into a full build-with-engine → validate → **render + vision self-check** → final-export workflow. Vendored helpers in `vendor/`: `autolayout.py` (Graphviz layout for >15-node graphs), `aiicons.py`, `repair_png.py`, `encode_drawio_url.py` (browser fallback).
  174. ## The skill
  175. One skill, `skills/drawio/`, covers every domain — installed with `drawio-ai skill install`:
  176. ```text
  177. skills/drawio/
  178. ├── SKILL.md 4 steps: check CLI → ask what's missing → pick the domain reference → build
  179. ├── references/ read on demand — the agent loads only its domain's file
  180. │ ├── api.md the whole engine API on one page
  181. │ ├── principles.md layout rules (dense grids, flow, no overlap)
  182. │ ├── aws-architecture.md · azure-architecture.md · gcp-architecture.md
  183. │ ├── databricks-architecture.md · bpmn.md
  184. │ └── diagram-types.md · style-guide.md
  185. └── workflows/
  186. ├── build.md scaffold → run → fix-all-issues → look once → deliver
  187. ├── from-iac.md Terraform/Terramate inventory before drawing
  188. └── delegate.md hand the build loop to a (cheap) subagent
  189. ```
  190. Small-model friendly by design: every step names the exact file to read and the exact command
  191. to run, templates are scaffolded runnable (`--name` sets the output), and the validator's
  192. messages say what to change.
  193. ## Other hosts (Coworker AI, Agent SDK, …)
  194. The kit isn't tied to one app — the "brains" live in the **CLI + repo + rules**, so
  195. any Claude host that can run **shell commands** can use it. Point the agent at the
  196. CLI: `drawio-ai principles`, `drawio-ai search`, `drawio-ai validate`, plus the
  197. template index & reproduction loop in `skills/drawio/references/diagram-types.md`. (`draw.io` CLI is
  198. only needed for PNG render / vision-check.)
  199. ## CLI usage
  200. ```bash
  201. drawio-ai search s3
  202. drawio-ai search "k8s, pg, es" # one call, one best hit per service
  203. drawio-ai search "alb ec2 rds s3" # spaces work too
  204. drawio-ai search kubenetes # typos are fine
  205. drawio-ai search kubernetes --category Containers
  206. drawio-ai search "aws cloud" --kind group
  207. drawio-ai style s3
  208. drawio-ai validate ../4_oncloud.drawio
  209. drawio-ai categories
  210. drawio-ai principles --mode aws
  211. drawio-ai render out.drawio -o out.png
  212. ```
  213. ## Catalog (2106 icons — 983 AWS + 626 Azure + 216 GCP + 281 across 8 OSS packs)
  214. `loadCatalog` merges every `catalog/*.json`, so all icons are searchable together via `drawio-ai search`.
  215. `catalog/aws.json` is generated from `data/shape-index.json.gz` (10,446-shape index from jgraph/drawio-mcp, Apache-2.0) — real stencil names (`s3`, `eks`, `identity_and_access_management`, ...), official per-icon colors, connection points, and `aspect=fixed`, all **verbatim**. No hand-guessing.
  216. Regenerate after refreshing the index:
  217. ```bash
  218. python3.11 scripts/ingest_index.py # data/shape-index.json.gz → catalog/aws.json (983 icons, 19 groups)
  219. ```
  220. ### Icon packs (non-AWS)
  221. Brand/tech icons for the tools people draw alongside AWS — searchable by name (`spark`, `kafka`, `postgres`, `kubernetes`, `argocd`, `prometheus`, `pytorch`, …) as square tiles in the same house style:
  222. | Pack | Icons | Examples |
  223. |---|---:|---|
  224. | `database` | 66 | postgres, mysql, mongodb, redis, clickhouse, snowflake |
  225. | `bigdata` | 48 | spark, kafka, airflow, flink, trino, dbt, minio |
  226. | `cicd` | 42 | jenkins, argocd, terraform, ansible, sonarqube |
  227. | `aiml` | 26 | pytorch, tensorflow, huggingface, ollama, langchain |
  228. | `containers` | 26 | kubernetes, docker, helm, istio, linkerd |
  229. | `observability` | 26 | datadog, prometheus, grafana, opentelemetry |
  230. | `databricks` | 24 | unity catalog, delta sharing, mosaic ai |
  231. | `network` | 15 | nginx, kong, traefik, haproxy, cloudflare |
  232. The prebuilt `catalog/*.json` are committed — **using** the kit needs no rebuild. To add or refresh a pack, edit `packs/<name>/manifest.json` and:
  233. ```bash
  234. python3 scripts/build_pack.py <name> # devicon → vectorlogo.zone → gilbarbara → simple-icons → text (needs macOS qlmanage)
  235. ```
  236. See `THIRD_PARTY_NOTICES.md` for attributions.
  237. ## Tests
  238. ```bash
  239. bun test # the node:test suites, run by Bun (fast)
  240. npm test # the same suites on plain Node — must also pass
  241. bun run build # bun → dist/ (gitignored; CI and release build it; run before tests)
  242. bun run build:check # rebuild into a temp dir and fail if dist/ differs
  243. ```
  244. ## Notes & licensing
  245. - The **code** is MIT (see [`LICENSE`](LICENSE)). Bundled **icons/logos** (AWS Architecture Icons + third-party project logos) are trademarks of their owners and are **not** covered by MIT — see [`NOTICE`](NOTICE).
  246. - Prefer **native stencils** (this catalog) over base64 — smaller files, crisp vectors, cleaner licensing.
  247. - Use **base64** (`custom-icons.json`) only for icons draw.io lacks (Confluent, Starburst, OpenMetadata, MinIO, Dagster, internal/brand logos) or when rendering outside draw.io.
  248. - The official AWS Architecture Icons have their own usage terms — review before redistributing a base64 bundle publicly.
  249. - Category colors in the seed are approximate; the generator can refresh them.
  250. ## Star History
  251. <a href="https://www.star-history.com/?type=date&repos=sparklabx%2Fdrawio-ai-kit">
  252. <picture>
  253. <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=sparklabx/drawio-ai-kit&type=date&theme=dark&legend=top-left&sealed_token=khfogTBEHQVXxmA7TA17wslPm1Z8Y1xLVHqiBakNtSfAfKs1HupFi4mnjz4rJKqOL3arv_od78_f3x_RI67523_8q6yqFAaUZJs92C0kkonv9wci9h22vsv-sOg6HYgHOIBpYpMzQmh4M4pC5LBDdttK2tSAF5FJ4O1R-PkmFQd-kQb3Ax-XjVJiBS4h" />
  254. <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=sparklabx/drawio-ai-kit&type=date&legend=top-left&sealed_token=khfogTBEHQVXxmA7TA17wslPm1Z8Y1xLVHqiBakNtSfAfKs1HupFi4mnjz4rJKqOL3arv_od78_f3x_RI67523_8q6yqFAaUZJs92C0kkonv9wci9h22vsv-sOg6HYgHOIBpYpMzQmh4M4pC5LBDdttK2tSAF5FJ4O1R-PkmFQd-kQb3Ax-XjVJiBS4h" />
  255. <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=sparklabx/drawio-ai-kit&type=date&legend=top-left&sealed_token=khfogTBEHQVXxmA7TA17wslPm1Z8Y1xLVHqiBakNtSfAfKs1HupFi4mnjz4rJKqOL3arv_od78_f3x_RI67523_8q6yqFAaUZJs92C0kkonv9wci9h22vsv-sOg6HYgHOIBpYpMzQmh4M4pC5LBDdttK2tSAF5FJ4O1R-PkmFQd-kQb3Ax-XjVJiBS4h" />
  256. </picture>
  257. </a>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.