prototype-canvas

Solid

Start and operate the local tldraw design canvas in this repo. Launch the dev server, add or switch boards under mockups/canvases/, drive shapes through the bounded window.snapCanvas bridge, and act on annotated screenshots of the canvas. Use when asked to open/launch the canvas, put a mockup on the canvas, annotate or draw on it, fix overlapping frames after a layout.json edit, or respond to a screenshot of the canvas with notes drawn on it.

Web & Frontend 62 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Prototype canvas `canvas/` is a local tldraw app. It discovers every `.html` file under `mockups/canvases/<slug>/` and renders it as a shape. There is no shape map to edit and no code change needed to add a board. ## Start The server runs under tmux. A bare `npm run dev` is blocked by a hook, and the **whole shell command must start with `tmux`**: a leading `cd` trips the same hook, so pass the directory with `-c` and an absolute path. ```bash ROOT="$(git rev-parse --show-toplevel)" [ -d "$ROOT/canvas/node_modules" ] || (cd "$ROOT/canvas" && npm ci) tmux kill-session -t canvas 2>/dev/null tmux new-session -d -s canvas -c "$ROOT/canvas" \ "npm run dev -- --host 127.0.0.1 --port 5173 --strictPort" tmux capture-pane -p -t canvas | tail -5 # confirm it bound ``` - Pass **`--host 127.0.0.1`**, or Vite binds `localhost` only, which resolves to `::1` here and makes every `127.0.0.1` request fail with a bare connection error. Keep it on loopback either way: this is a local design tool, not a service to expose. - Read the pane back. `--strictPort` fails loudly rather than drifting to 5174, and you want to see which it did. - Never reuse a port just because it responds. Its HTML must contain `<meta name="prototyping-repo-root" content="$ROOT">`; otherwise it belongs to a different checkout. Pick another free port and keep `--strictPort`. - Deep-link a board with `?canvas=<slug>`, e.g. `http://127.0.0.1:5173/?canvas=notion-ios`. **Restart it before you op...

Details

Author
ReScienceLab
Repository
ReScienceLab/super-prototyping
Created
1 weeks ago
Last Updated
today
Language
HTML
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

clone-prototype

Clone a real app's screens as pixel-accurate, self-contained HTML artboards on the prototype canvas. Overlay a grid on the reference and sample colours visually, derive one measured design-token block, generate one HTML file per screen from a single script, verify by re-rendering, and park the reference underneath its mockup. Use when asked to 100% copy / clone an app's UI, rebuild screens from screenshots or Mobbin, extract a design system from reference images, or check a mockup against its reference.

62 Updated today
ReScienceLab
AI & Automation Featured

design

Create a design canvas - a multi-artboard visual design published as an Artifact that runs Claude Design's canvas editor (an early preview of Claude Design inside Claude Code). You DRAFT the design as .dc.html artboards laid out on one pan/zoom canvas; where saving is enabled for the user's account they refine every element visually (click-to-select, a properties panel, inline text editing, undo/redo) and Save publishes a new version for everyone, otherwise they get a view-and-export (PNG/PDF) preview of your draft. Good for UI mockups and screen flows, landing pages, marketing and social graphics, and print pieces - posters, flyers, brochures as single-page artboards; memos and reports as one flowing artboard. Use when someone wants a design, mockup, wireframe, UI or screen design, landing page, poster, flyer, brochure, banner, card, one-pager, or any visual layout they would rather tweak by hand than in code. Only for CREATING or re-seeding a canvas; an existing one is edited in its published Artifact.

64,796 Updated yesterday
asgeirtj
AI & Automation Featured

canvas

Author Nimbalyst Project Canvas boards (.canvas files) — an infinite canvas whose cards are live editors for real workspace files and shared documents, arranged spatially and wired with edges. Use when the user asks for a canvas, a board, a spatial layout of documents or mockups, a flow of screens, or a workspace overview.

1,691 Updated yesterday
nimbalyst