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-skills
Create a first diagram:
/drawio create a horizontal tech-blue login flow with 6 nodes
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-sidecars
Import an existing .drawio file into the offline bundle:
node skills/drawio/scripts/cli.js existing.drawio --input-format drawio --export-spec --write-sidecars
skills/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.