Tldraw Diagram Skill — Development skill for Claude Code
Claude Code skill for generating tldraw diagrams (.tldr files & SDK code) with a headless PNG/SVG renderer.
How to install Tldraw Diagram Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open genAIal/tldraw-diagram-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tldraw Diagram Skill does
Claude Code skill for generating tldraw diagrams (.tldr files & SDK code) with a headless PNG/SVG renderer. Unofficial community project — not affiliated with tldraw Inc.
Alternatives in Development
- Diagram 2.3k ★
- Ian Handdrawn Ppt — 中文手绘技术 PPT 整页图像生成 Skill 21:9 封面 + 16:9 正文配图 PNG 输出 1.4k ★
- Img To Component — /agent-input/how-it-works/2.png 이미지에 대해서 다음 작업 수행하라 395 ★
README
tldraw Diagram Skill for Claude Code
A [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skill that generates [tldraw](https://tldraw.com) diagrams — either as `.tldr` files (importable into tldraw.com) or as tldraw SDK code snippets (`editor.createShapes(...)`).
**Unofficial community project.** This skill is not affiliated with, endorsed by, or supported by tldraw Inc. "tldraw" is used purely to describe compatibility with the tldraw file format and SDK.
**Philosophy: Diagrams should argue visually**, not just display information. The skill designs each diagram around visual patterns (fan-out, convergence, timeline, cycle) rather than uniform card grids.
What it does
.tldrfile generation — JSON files you open with File > Open in the tldraw web app or load vialoadSnapshot().- SDK snippet generation — TypeScript code for tldraw SDK apps (
editor.createShapes/createBindings). - tldraw-native — Uses tldraw's actual shape vocabulary (
geo,note,frame,arrow,text,line,draw) and semantic color palette. No custom hex colors, no invented shapes. - Evidence-driven — Technical diagrams include real code snippets and JSON samples inside
note(sticky) shapes. - Headless PNG renderer — Ships a Playwright-based renderer that launches headless Chromium, loads tldraw from esm.sh, and exports PNG via tldraw's own
exportToBlob.
Installation
1. Add the skill to your Claude Code project
Add the skill path to your project's `CLAUDE.md` or `.claude/settings.json`:
## Skills
| Skill | Path | When to use |
|-------|------|-------------|
| **tldraw** | `path/to/tldraw-skill/SKILL.md` | When the user wants a tldraw diagram (.tldr or SDK code) |
2. Set up the renderer (optional)
The renderer converts `.tldr` files to PNG for visual verification. It requires Python 3.11+ and [uv](https://docs.astral.sh/uv/).
cd path/to/tldraw-skill/references
uv sync
uv r
Related Skills
Gs Admin CLI Docs
Unofficial community docs, knowledge base, and Claude Code plugin for the Gainsight Admin CLI (gs-admin). Not
Interactive Diagram
生成可交互式、可拖动的 HTML 图表(流程图、架构图、思维导图、序列图),并将其作为独立文件保存。支持 Dagre 自动布局、平移/缩放,并可导出为 PNG/SVG/JSON 格式。零依赖。Claude Code 技能
TS Tsx JS Jsx Architecture Diagrams
Claude Code skill that generates architecture diagrams ( class, component, and dependency graphs) for any Type
ChatGPT Image 2.5 Claude Skill
A skill that generates and edits images with ChatGPT Images 2.5, using your own ChatGPT login through the Code
Tldraw Agent
🎨 Generate diagrams from text. CLI, MCP, library — works anywhere.
Delta Harmonica Tablature Generation Skill
Turn a song's jianpu (numbered notation) into a Delta Force (三角洲行动) Nightwatch harmonica keyboard score, rende
Related Agents
Asset Creator
Creates code-based visual assets — SVG icons, OG image HTML, social banners, icon sets. Code-only output (not
Meme Doodle Renderer
Use this agent for Phase 5 and the RENDER route of the meme-marketing skill. It turns an approved meme concept
YouTube Asset Builder
Generates real PNG visual assets, animated diagram clips, and thumbnail candidates for a "Claude Explains" You