Skip to content
Back to skills

Coding

ASecurity

Create, edit and search tldraw canvases (.tldr files) for wireframes, architecture sketches and visual notes through the MCP server. Use when the user asks for a tldraw canvas, a UI wireframe or a visual scratchpad.

  • 24 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 14, 2026
ai-agentsgonoderailsgitapidatabasedocumentation

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill coding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-coding-56eed8d7/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-coding-56eed8d7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tldraw-canvas
description: "Create, edit and search tldraw canvases (.tldr files) for wireframes, architecture sketches and visual notes through the MCP server. Use when the user asks for a tldraw canvas, a UI wireframe or a visual scratchpad."
triggers: [tldraw, canvas, wireframe, visual scratchpad, UI sketch, make-real]
tags: [coding, architecture, visual, design, prototyping]
context_cost: medium
---
# tldraw Canvas Skill

## Goal
Create, manage, and manipulate tldraw canvases (`.tldr` files) for visual design, wireframing, architecture sketching, and UI prototyping using the `@talhaorak/tldraw-mcp` server. The tldraw canvas acts as a persistent visual scratchpad that AI agents can programmatically read, write, and search.

## Prerequisites
- **MCP Server**: `tldraw` must be configured in your MCP config (see `templates/core/MCP_CONFIG_TEMPLATE.json`).
- **Runtime**: Node.js 18+
- **Viewer**: Open `.tldr` files at [tldraw.com](https://www.tldraw.com) or the tldraw desktop/VS Code extension.

## Capabilities

### MCP Tools Available
| Tool | Purpose |
|---|---|
| `tldraw_create` | Create a new empty canvas file |
| `tldraw_read` | Load and parse `.tldr` file contents |
| `tldraw_write` | Write/update a canvas with validation |
| `tldraw_list` | List all `.tldr` files with page/shape metadata |
| `tldraw_search` | Full-text search across all canvases |
| `tldraw_get_shapes` | Get all shapes, optionally filtered by page |
| `tldraw_add_shape` | Add a new shape (rectangle, ellipse, arrow, text, etc.) |
| `tldraw_update_shape` | Update properties of an existing shape |
| `tldraw_delete_shape` | Delete a shape from a canvas |

### Supported Use Cases
- **UI Wireframing**: Rapid visual prototypes for PRD phase
- **Architecture Sketching**: System diagrams, component layouts
- **Visual Scratchpad**: Persistent notes, brainstorming, TODO boards
- **Design-to-Code Bridge**: Create wireframes → use vision API to convert to code
- **Sprint Planning**: Visual boards with sticky notes, groupings, connectors

## Steps

1. **Create or open a canvas**
   - Call `tldraw_create` for a new canvas, or `tldraw_read` for existing
   - Organize by project: `docs/wireframes/login.tldr`, `docs/architecture/system.tldr`

2. **Add shapes and content**
   - Call `tldraw_add_shape` for each visual element:
     - `geo` shapes: rectangle, ellipse, diamond, pentagon, hexagon, star, etc.
     - `arrow` shapes: connectors between elements
     - `text` shapes: labels, annotations, notes
     - `draw` shapes: freeform paths
   - Specify position (x, y), size (w, h), color, and fill

3. **Build relationships**
   - Use arrow shapes to connect components
   - Group related shapes by proximity or color coding

4. **Search and navigate**
   - Use `tldraw_search` to find content across all canvas files
   - Use `tldraw_list` to enumerate canvases and their metadata

5. **Sync with project documentation**
   - Mirror canvas structure in text-based docs (PRD, PLAN.md)
   - Canvas files are JSON-based — commit to git for version control

## Integration with Other GABBE Skills

### With `sketch-to-diagram.skill`
Use `image-recognition` MCP to analyze hand-drawn sketches, then recreate as tldraw shapes:
```
Photo → image-recognition → element list → tldraw_add_shape (×N) → .tldr file
```

### With `excalidraw.skill`
tldraw and Excalidraw serve complementary purposes:
- **tldraw**: Better for UI wireframes, rapid prototyping, full canvas management (9 tools)
- **Excalidraw**: Better for formal architecture diagrams with node-edge semantics (4 tools)

### With `visual-mcp-integration` guide
Follow Section 3 guardrails: pre-map geometry, sync state to text, verify before sharing.

## Usage Examples

### Create a UI wireframe
```
> "Create a tldraw wireframe for the login page: header bar, email input, password input, login button, forgot password link"
```

### Create an architecture canvas
```
> "Set up a tldraw canvas for our microservices architecture with API Gateway, Auth, Users, Orders, and Database components"
```

### Search across canvases
```
> "Search all tldraw canvases for shapes mentioning 'auth' or 'login'"
```

## Constraints
- Calculate x and y positions before adding shapes; random placement gives unreadable canvases.
- Mirror every structural change into the text documentation (PRD, PLAN.md).

## Output Format
`.tldr` canvas files in the project's docs folders, and a text summary of each canvas in the project documentation.

## Limits and safety
- Keep `.tldr` files inside the project (`docs/wireframes/`, `docs/architecture/`); read a canvas before `tldraw_write` and do not replace one the human made without their yes.
- Canvases are committed to git: put no secrets, internal hostnames or personal data in shapes or labels.
- After changes call `tldraw_get_shapes` or `tldraw_read` to check the canvas, and update the text documentation to match.

Files in this skill

  • agent-trajectory-eval.skill.md5.7 KB
  • artisan-commands.skill.md3.7 KB
  • browser-tdd.skill.md7 KB
  • chaos-fault-injection.skill.md8.1 KB
  • ci-autofix.skill.md4.2 KB
  • clean-coder.skill.md4.5 KB
  • code-review.skill.md6.1 KB
  • debug.skill.md6.5 KB
  • documentation.skill.md7.3 KB
  • eval-driven-development.skill.md6.9 KB
  • evals/code-review.eval.yaml1 KB
  • excalidraw.skill.md3.7 KB
  • file-processing.skill.md4.3 KB
  • git-workflow.skill.md7.2 KB
  • metamorphic-testing.skill.md7.8 KB
  • mobile-dev.skill.md4.2 KB
  • nodejs-expert.skill.md1.6 KB
  • output-validation.skill.md5.4 KB
  • pbt-strategy.skill.md8 KB
  • performant-ai.skill.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.