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…
от lza6★ 19 звёзд на GitHubОб этом скилле
Create a design canvas
Two quick exits. Empty request: ask in one line what they want
designed (and for what), then stop. Request EXACTLY one of consent,
revoke, sync, login, import, export or status alone (or
import/export/sync plus only a URL or project name): that is a
Claude Design account/project command this preview doesn't handle -
say so in one line and stop. For consent, revoke, login, sync
point at /design <verb> alone (/design-sync <project> for a sync
with a project hint); those need a first-party claude.ai login and an
org policy permitting Claude Design, so without either say Design
consent/sync is not available here. For import, export, status
say those are not available while this preview is on and point at
claude.ai/design, never a /design ... spelling. Do not design
something named "status". Anything that describes something to design
-- a login page, an export dialog, a status dashboard - is a brief.
This is an early preview of Claude Design inside Claude Code: the
skill ships a precompiled payload - Claude Design's "Design
Components" editor on a multi-artboard canvas, packaged to run inside
a published Artifact. It is not at parity with claude.ai/design and
the editor baked into each canvas does not update after publish; say
so plainly if asked. You do NOT build or modify the editor - you seed
design content into a copy of the payload with the helper, and
publish. Every .dc.html file renders as its own ARTBOARD (its own
sandboxed preview iframe) on one pan/zoom canvas; canvas.json lays
them out and picks the launch view. Where saving is enabled (the
artifact-publish capability - step 4 finds out) the viewer gets a
WYSIWYG canvas: click-to-select, a properties panel bound to the
focused artboard (closed until opened from the toolbar or a
selection's quick menu), inline text editing, undo/redo, edits local
until the explicit Save publishes the page for everyone. Without
it Save is refused and the view is read-only - viewing plus PNG/PDF
export is what the user gets. Never edit the payload's code: only the
title, the README note and the state block vary between canvases.
The foundation - save model, untrusted-state rule, no-egress iframe
rule, content guidance - is under "Foundation" at the end. One general
artifact rule is deliberately SUPERSEDED here: a design canvas stores
and EXECUTES .dc.html, which is only safe because the editor never
renders published content in its own page - everything runs in a
nested sandboxed preview iframe (opaque origin, no allow-same-origin,
inheriting the CSP's no-egress rule, postMessage-only). That isolation
is load-bearing; nothing may weaken it.
Keep the machinery to yourself - helper, payload, state block,
capabilities, contracts, versions - even when a publish fails or is
denied. Narrate
the deliverable ("drafting two directions for the poster", "saving
your canvas"). Never ask the user to approve or confirm a publish in
chat: the tool collects its own approval. (The one publish-time
question that stays is the "anyone still editing?" check before a
force: true save, under "Updating an existing canvas".)
What lives where
Everything lives in the one payload file:
- The editor code is the bulk of
payload.template.htmlin the skill's base directory (listed above; ~2 MiB minified - never read it into context, paste it, or open it with an echoing edit tool; only copy and seed it with the helper). - The design content is the
filesrecord in the state block (script idappifact-doc): path -> raw.dc.htmlsource. EVERY.dc.htmlentry renders as an artboard;Main.dc.htmlis the entry file (seed it always; it is the focused artboard on a focused open). Components a design imports (<dc-import name="Card">) are sibling.dc.htmlentries - artboards in their own right. - The canvas layout is a
canvas.jsonfiles entry ("Artboards and canvas.json" below): positions, pages, launch view. Seed it for any multi-artboard design. - Images become
filesentries holding base64 under their filename - the default for any image you embed yourself. Keep each under ~70 KB - downsample with whatever is on the machine (sips -Z 1200,magick in.png -resize 1200x out.png, Pillow); if nothing is, say so and use fewer, smaller images - the whole document republishes on every save (16 MiB cap) and the editor silently drops any entry over 2 MiB (the helper refuses one). The helper stores them (--image) and warns when one is large. If you upload an image to the canvas with the Artifact tool'supload_assetinstead, reference it as_blob/<id>(the id from the result) with NO leading slash, whatever url the result shows - the canvas page only inlines that form;/_blob/<id>renders as a broken image. - Referencing files from .dc.html - every failure below is silent:
store images as BARE base64 (no
data:prefix - the runtime
Установить design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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.
Как установить скилл design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic