Excalidraw Drawing (Minimal)
Use this skill for fast, stable diagram output with minimal process overhead.
Source of truth: this file is the primary definition.
Tools
start_sessioncreate_from_mermaidadd_elementsupdate_elementget_scene
Rules
- Always call
start_sessionfirst for the targetsessionId. - Strategy routing:
- Mermaid input (
```mermaidblock or Mermaid DSL) ->create_from_mermaid - Non-Mermaid input ->
add_elements/update_element
- Use segmented writes for medium/large diagrams (2-4 batches).
- Prefer updating by
id.
Default Style
When user does not specify style, use Ghibli:
- Primary:
#f0f9ff/#0369a1 - Secondary:
#f7fee7/#365314 - Accent:
#fff7ed/#9a3412 - Shared:
fillStyle: "hachure",roughness: 2,roundness: { "type": 3 }
If user specifies style, follow user style.
Workflow
start_session(sessionId)- First render:
- Mermaid ->
create_from_mermaid - Manual ->
add_elements(segmented)
- Quick polish with
update_element - Verify with
get_scene
Quick Verification
get_scenesucceeds- key nodes/edges exist
- labels are readable on core nodes
- no obvious broken connector on core flow
If checks fail, fix only the affected region and re-check.
Completion Output
Report:
sessionId- created/updated ids
- verification pass/fail
Source: Scofieldfree/excalidraw-mcp — distributed by TomeVault.