/drawio edit)Use /drawio edit for incremental changes, theme switches, restructures, or imports from existing .drawio files.
This is the preferred path when the skill created the original diagram.
.spec.yaml.drawio.arch.json.drawio file without sidecarsImport first:
node skills/drawio/scripts/cli.js existing.drawio --input-format drawio --export-spec --write-sidecars
Then edit the generated spec and re-render.
Use this only when optional MCP is already configured and the user explicitly wants live refinement.
Critical rule:
get_diagram before edit_diagram/drawio edit rename User Service to Auth Service
/drawio edit add a Redis Cache node between API Gateway and User Service, then connect it with data-flow arrows
/drawio edit change the Event Store node from service to database
/drawio edit switch the diagram to high-contrast for accessibility review
/drawio edit restructure this into input, processing, and output modules using academic theme
Major structural edits should pause for confirmation after the logic draft when semantics may change.
Re-render a .drawio bundle:
node skills/drawio/scripts/cli.js my-diagram.spec.yaml my-diagram.drawio --validate --write-sidecars
Re-render a strict SVG review artifact:
node skills/drawio/scripts/cli.js my-diagram.spec.yaml my-diagram.svg --validate --write-sidecars --strict-warnings
Use the live route only when needed:
start_sessioncreate_new_diagram or load the current diagramget_diagramedit_diagramexport_diagramThis route is optional. The offline sidecar path remains the default editing workflow.
.spec.yamlget_diagram