Offline-First by Default
Generate `.drawio` locally, keep `.spec.yaml` and `.arch.json` beside it, and use live MCP only when real-time browser refinement is genuinely needed.
Desktop-first, offline-first draw.io authoring with YAML specs, local sidecars, optional live editing, and academic-quality guardrails.
Use the skill in this order unless you explicitly need a browser session:
.drawio locally and keep the sidecars in sync.Install the skill:
npx skills add bahayonghang/drawio-skillsCreate a first diagram:
/drawio create a horizontal tech-blue login flow with 6 nodesCreate a network topology bundle:
/drawio create a tech-blue AWS VPC topology with an internet gateway, an application load balancer, two app servers, and a private RDS subnet. Label the private links.Validate and export from the repo:
node skills/drawio/scripts/cli.js input.yaml output.drawio --validate --write-sidecars
node skills/drawio/scripts/cli.js input.yaml output.svg --validate --write-sidecarsImport an existing .drawio file into the offline bundle:
node skills/drawio/scripts/cli.js existing.drawio --input-format drawio --export-spec --write-sidecarsskills/drawio/references/examples/.This documentation tracks the current runtime model defined in:
skills/drawio/SKILL.mdskills/drawio/references/workflows/*.mdskills/drawio/references/docs/**If a page disagrees with those files, treat the skill and references as authoritative.