tldraw — автоматизация векторного холста
★ 7.1 · design
tldraw-offline is a Claude Code skill that lets an agent drive a tldraw Offline canvas through a local HTTP API (default localhost:7236) using plain curl calls from the terminal — no GUI clicking, no direct editing of .tldraw files. It supports two distinct workflows: one-off canvas edits via the /exec endpoint (generating shapes, layout, cleanup) and durable document scripts — JavaScript embedded in script/main.js that the app's file watcher applies on save and re-executes on every reload. Scripts run with editor (createShape, updateShape, deleteShapes, on('tick')), helpers (createShapeIfMissing, createArrowBetweenShapes, boxShapes), and an AbortSignal for proper listener teardown. The skill suits developers and designers who need to programmatically build diagrams, wireframes, or interactive whiteboards — especially when reactive shapes, animation, or button-driven state logic are required.
- #tldraw
- #canvas
- #whiteboard
- #diagramming
- #document-scripting
- #creative-automation