← ClaudeAtlas

sketch-designlisted

Co-author a system-design sketch on an .excalidraw canvas through the sketch-learn MCP server — drop in a pre-built template or build a custom board, draft what the repo can ground, let the human fill the rest, review it in rounds until every box is green, then implement strictly from it. Every read and write goes through the MCP tools (get_summary, get_element, search_text, update_element, add_elements, get_template, commit), never through the file itself. Use when the user describes a feature they want designed before it is built, says "design doc", "sketch design", "system design", or asks to review, annotate, or implement an existing .excalidraw sketch.
MohanTn/mohan-dotfiles · ★ 1 · Web & Frontend · score 64
Install: claude install-skill MohanTn/mohan-dotfiles
# sketch-design: design on an .excalidraw canvas, via MCP only The design lives on an **.excalidraw file** the human edits in the browser and you edit through MCP tools. Every tool is addressed by absolute `file_path` — there are no page names and no database. You draft, the human decides, you review in rounds, and only when the whole board is green do you write code from it. ## Prime directive: the file is not yours to touch **Never** use Read, Write, Edit, `cat`, `jq`, or a shell redirect on an `.excalidraw` file — not to peek, not to "just fix one label". Two things clobber a direct write: the MCP server holds the whole scene in an in-memory cache and the next `commit` overwrites whatever you wrote behind its back, and the frontend holds the same scene and autosaves over it. Every read and every write goes through the tools below. If a tool cannot express the change, say so and ask — do not reach for the file. ## Getting the file path Every call needs an **absolute** path ending in `.excalidraw`. - The user named a file → use it, expanded to absolute. - The user named a feature but no file → propose `<repo>/data/pages/<slug>.excalidraw` (slug = lowercase, spaces to hyphens: `"OTP login"` → `otp-login`) and say the path you picked. - Ambiguous or several candidates → ask. Do not guess and create a stray file. Note the sketch-learn frontend's Load list only shows pages that were saved *from* the frontend. A file you create through MCP opens fine in excalidraw.com o