agentleFS
adtn0810adtn0810/truestack/skills/excalidraw-diagrams/SKILL.md

excalidraw-diagrams

Skill2 starsChanged 2 months agoMITView on GitHub

Create or edit Excalidraw workflow, architecture, sequence and state diagrams with editable scene files and visually checked exports. Use when Excalidraw, a reusable diagram artifact or a reference-matched technical diagram is requested.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Excalidraw diagrams

Produce an editable .excalidraw scene and a verified PNG or SVG preview. Choose the diagram type and audience first; distinguish backend architecture from business workflow. Use source-backed components and labeled connections for existing systems. Inspect supplied reference pixels, then match their visual structure without importing unrelated services or symbols.

Author the scene first

Prefer an existing authorized Excalidraw editor, project dependency or supported integration. Consult the installed version's element creation documentation and restore utilities. Hand-authored JSON must be a valid native scene with type: excalidraw, supported version, elements, appState and files. Preserve existing IDs, images, links and layout when editing; do not replace an unrelated scene.

Use consistent spacing, legible text, deliberate actor/service boundaries, arrow direction and labeled data or API calls. Place persistent storage distinctly, with failure paths in a secondary lane. Use a limited palette and a legend for semantic colors. Avoid fitting long endpoint strings into small boxes. Original generic examples belong in reusable guidance; private project facts belong only in that project's requested artifact.

Export the same scene

Use the official installed editor export or exportToSvg, exportToCanvas or exportToBlob from @excalidraw/excalidraw. Restore/validate native elements as required by the installed version and pass the scene's images/files and intended background/export options. Wait for needed fonts and assets; browser availability alone does not establish a working renderer.

An official SVG export rasterized by an existing browser is an acceptable PNG route; record both stages. File-based isolated headless rendering can avoid a server. Do not relax browser security, expose a local service or connect private scenes to a hosted editor merely to obtain an export. New package/runtime installation, MCP setup and external upload require the appropriate task-specific authorization; adding this skill grants none of them.

If official export is unavailable, preserve the scene and report the smallest missing prerequisite. A disclosed preview generated by another drawing tool may help, but label it as a fallback and state that native Excalidraw rendering is unverified. Never describe an Excalidraw-looking bitmap as an official export. Do not hold a useful requested preview while doing unrelated work.

Validate and deliver

Check JSON parsing, unique element IDs, valid types, finite coordinates and dimensions, image references and intended text. Then inspect the actual export at normal reading size and zoomed: missing fonts/assets, clipping, overlaps, crossing labels, arrow endpoints, readability and source/status accuracy. Structural validation alone does not prove layout quality. Correct the scene and export again, keeping preview and source synchronized.

Preserve source plus preview in the authorized artifact directory. Report filenames, dimensions, renderer/package version, actual export route, source snapshot and any limitations. Example: "Draw the order-processing backend with API calls, PostgreSQL jobs and worker acknowledgements; deliver editable source plus a PNG." No specific provider or database is implied unless evidence supports it.

License and dependency boundary

This skill is original truestack MIT-licensed workflow text; no engine, upstream skill, font or artwork is vendored. Excalidraw is MIT licensed; copied substantial upstream material must retain its copyright and license notice. The official MCP project is an optional separately configured route, not an installed dependency. Consult its own current license and setup before use. Unrecognized community packages are not implicit substitutes. Existing editor tooling or a compatible JavaScript/browser export environment is needed for rendering; inert scene authoring requires neither credentials nor a hosted service. Official links checked 2026-09-30; verify version-specific contracts at use time.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.