| name | excalidraw-drawing-accuracy |
| description | Minimal Excalidraw workflow for stable output. Steps: start session first, route Mermaid/manual inputs correctly, use the default Ghibli style, write in small batches, and verify. |
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_session
create_from_mermaid
add_elements
update_element
get_scene
Rules
- Always call
start_session first for the target sessionId.
- Strategy routing:
- Mermaid input (
```mermaid block 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_scene succeeds
- 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