design
БесплатноБез исполняемых скриптовНе проверенMake and revise designs in the Design (canvas) format as local files: project/canvas.json places artboards on an infinite canvas, and each artboard is one…
от JimLiu★ 865 звёзд на GitHubОб этом скилле
Design
A canvas is a folder, <root>; its content is ITS OWN files under <root>/project/: the index
project/canvas.json and one .dc.html file per artboard. The editor page (started by open-artifact open) reads
those files, renders every artboard live, saves the person's edits back into them, and shows what you write as soon
as you write it.
Write only under <root>/project/: a file elsewhere never shows.
open-artifact below stands for node <this skill's folder>/scripts/cli.mjs (Node 22 or later).
With the Artifact tool (an Open Artifact host runs this type for you): create a canvas with
Artifact {action: "quickstart", intent: "design"}, then Artifact {action: "publish", type_url: "open-artifact://type/design", title}; its result gives the canvas's url (open-artifact://artifact/<id>), its root
and how the commands below map onto the tool. There, open-artifact check is Artifact {action: "call", url, name: "check"}, open-artifact upload is {action: "call", url, name: "upload", args: {file}}, and the page
is shown as the create result says (its view_url in your app's built-in browser when you have one, else
Artifact {action: "open", url}): never run open-artifact open, serve, wait, share or stop under a
host. You still write the files yourself, with your file tool, under <root>/project/.
The canvas exists
Work on THAT canvas, its <root> in every command: never create another. If no canvas exists yet: <root> = a new
folder designs/<slug>/ named for the canvas (designs/spring-menu/) in the working directory, or where the person
says; the canvas's name (REQUIRED; as the person says it; not "Design" or "Untitled") goes in title.
Read <root>/project/canvas.json: none, or boards empty: if just made, see Creating; else list its files; no
.dc.html: see Creating. Else see Revising.
Tell the person what happens on the canvas, never the mechanism.
When your reply mentions an artboard or a canvas page, give its link: the editor's url followed by #artboard-<name> (the
artboard selected and in view), #play-<name> (running on the canvas) or #page-<id> (a page id from the index).
<name> is its path under project/ without .dc.html, in lower case, each run of other characters one -
(screens/Sign In.dc.html → screens-sign-in). A name that fits two artboards opens nothing.
Asked to send it to apps like Canva: there is no Send to here; point the person to Share → Export in the global frame shell to
save a file they can import there. Give an app's import tool no other link, never the editor's local address.
Asked to bring it into Figma: in the shell's Share → Export tab, choose HTML and its Figma option for the selected
artboard or all artboards on the page. The person opens that file in Chrome and captures it with Figma's Chrome
extension (Capture page, or Select element for one artboard). The canvas and the Standalone web page draw artboards
in frames and come into Figma empty.
Asked for the whole design as files to open elsewhere: Share → Export → HTML → Entire project (.zip) saves the
project's files (canvas.json included, hidden dot-files never), its uploads under assets/, the runtime each folder
needs, an index and a README. A large project comes as several zips (<name>-1-of-3.zip, …) to unpack into one folder;
past 1 GB in all, files are left out, and the README of the last zip lists every file left out and why. The person
unzips and follows the README. A one-file HTML export inlines the stylesheets an artboard @imports and the files
their url()s name; an import it can't embed is named in a notice. A PNG, JPEG or PDF of a PAGE whose frame runs far
below its content says how much blank space the file ends with: shorten the frame (h) when asked to fix that.
Asked to see a page at another screen width, or for a full-page screenshot of it at one: the person opens the
artboard full window (the toolbar's Play button, then the artboard) in Fill, picks the width beside Fill/Fit (the
window's, or Phone 390, Tablet 768, 1024, 1280, 1440, 1920), and chooses Share → Export → PNG in the shell. The preview-width option at 1× or 2× saves the
whole page at that width, as tall as its content. Point them there; you take no screenshot.
The canvas's files: exact shapes
project/canvas.json, the index:{"v":3,"createdOnFiles":{"v":1,"at":"2026-09-14T18:20:00Z"},"title":"Spring Menu Poster","launch":{"view":"canvas"},"pages":[],"boards":{"Main.dc.html":{"x":0,"y":0,"w":880,"h":560}},"order":["Main.dc.html"],"notes":{},"designSystems":[]}.createdOnFiles: an index YOU create carries it exactly so,at= now.boards= one entry per artboard, keyed by its file's path underproject/:x,y,w,h= the FRAME on the canvas in CSS px (w,h40–8000; 80 px between frames in a row, 120 between rows), plus optionaltitle,page(none = the first),expand("fill": a PAGE),
Установить design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design?
Make and revise designs in the Design (canvas) format as local files: project/canvas.json places artboards on an infinite canvas, and each artboard is one live .dc.html Design Component file. A local page shows the artboards side by side and lets people move them, retype copy, adjust tweaks and send requests back to the agent. Use when someone asks for UI screens, a landing page or web page design, app mockups, component explorations, diagrams, print pieces or a clickable prototype as an editable canvas, names the Design (canvas) type, or wants to change a folder that holds project/canvas.json. Can install a design system and build with its tokens and real components. Not for a one-off HTML file outside this format or a slide deck.
Как установить скилл design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic