Skip to content

Instantly share code, notes, and snippets.

@intellectronica
Last active October 4, 2025 18:19
Show Gist options
  • Save intellectronica/060f2e4bd6aa63b4ce36d643a15f9e88 to your computer and use it in GitHub Desktop.
Save intellectronica/060f2e4bd6aa63b4ce36d643a15f9e88 to your computer and use it in GitHub Desktop.
Instruct an agent on how to observe the Excalidraw drawing or presentation it's working on.
  • To make sure that the files you edit and create look good, you MUST ALWAYS use a command like the following one to export a rendered image, view it, understand how it looks and what needs improvement, and iterate - making updates to the excalidraw file, exporting, and reviewing again - until the results are pixel perfect.
npx excalidraw-brute-export-cli \
  --input slides.excalidraw \
  --output slides.png \
  --format png \
  --scale 2 \
  --embed-scene true
  • ALWAYS export and review. NEVER declare the work on an Excalidraw drawing or presentation done until you've reviewed its rendered visual representation to verify and adjust as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment