From tldraw-buddy
Draw on a shared tldraw canvas with the user. Create diagrams, flowcharts, sketches, and visual artifacts.
npx claudepluginhub jessmartin/tldraw-buddy --plugin tldraw-buddyThis skill uses the workspace's default tool permissions.
You have access to a shared tldraw canvas that the user can see in their browser. Use the `tldraw-buddy` CLI to create and manipulate shapes.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
You have access to a shared tldraw canvas that the user can see in their browser. Use the tldraw-buddy CLI to create and manipulate shapes.
The canvas belongs to the user. They may have drawn things on it that matter to them. Never delete shapes or clear the canvas without asking first. Always confirm before using delete or clear — even if you think you're "starting fresh." The user's work on the canvas is just as real as their code.
tldraw-buddy starttldraw-buddy snapshot to see what's already on the canvas before making changes.The CLI is at ${CLAUDE_PLUGIN_ROOT}/bin/tldraw-buddy (or just tldraw-buddy if on PATH).
tldraw-buddy snapshot
# Rectangle with text
tldraw-buddy create --type geo --geo rectangle --x 100 --y 100 --w 200 --h 100 --text "Hello" --color blue --fill semi
# Ellipse
tldraw-buddy create --type geo --geo ellipse --x 300 --y 100 --w 150 --h 150 --color green --fill solid
# Text label
tldraw-buddy create --type text --x 100 --y 300 --text "My label" --color violet --size xl
# Sticky note
tldraw-buddy create --type note --x 400 --y 300 --text "Remember this" --color yellow
The create command prints the new shape's ID, which you need for connect and update.
tldraw-buddy connect --from shape:abc123 --to shape:def456 --label "next" --color black
tldraw-buddy update --id shape:abc123 --text "New label" --color red --x 200
tldraw-buddy delete shape:abc123 shape:def456
tldraw-buddy clear
tldraw-buddy save # saves to canvas.tldr
tldraw-buddy save my-diagram.tldr # saves to specific file
tldraw-buddy load my-diagram.tldr
The canvas persists in the browser automatically (IndexedDB), but you can also save it to a .tldr file on disk. This is useful for:
Let the user know they can save their canvas to disk if they ask about persistence or want to keep their work. Offer to save before clearing or when finishing a drawing session.
tldraw-buddy snapshot — understand current statecreate calltldraw-buddy snapshot to verify the resultShape types: geo, text, note
Geo types: rectangle, ellipse, triangle, diamond, pentagon, hexagon, star, cloud, heart
Colors: black, grey, light-violet, violet, blue, light-blue, yellow, orange, green, light-green, light-red, red, white
Fill: none, semi, solid, pattern
Text sizes: s, m, l, xl