design-system
БесплатноБез исполняемых скриптовНе проверенCreate and revise design systems in the Design System artifact format (project/design-system.json, tokens.json, a README brand book, component previews, fonts…
от JimLiu★ 865 звёзд на GitHubОб этом скилле
Design System — a system kept in local files
A design system is a folder, <root>, that keeps its content in ITS OWN FILES under <root>/project/; icons and
images are files under project/assets/ or uploads (<root>/_blobs/) named by the index. The page (served by
open-artifact open, The command line) reads those files and saves the user's edits back into them; a file you write
shows on the page within a second.
Write only under <root>/project/: a file elsewhere never shows. <root>/_blobs/ (uploads), <root>/_agent/
(requests from the page) and <root>/.artifact.json belong to the local server: never write inside them. (A file
you draft only to upload it sits in <root>/src/: Creating, step 2.)
open-artifact below stands for node <this skill's folder>/scripts/cli.mjs (Node 22 or later).
A system kept in files
Its index is project/design-system.json, nothing else, holding a createdOnFiles or
convertedFrom object, the marker (read it first; no project/design-system.json: an empty
system, see Creating; for a clean-up, stop and say so):
{"v":3, "layout":"files", "createdOnFiles":{"v":1,"at":"2026-09-14T18:20:00Z"}, "title":"Acme", "namespace":"Acme", "libraries":[{"name":"react","version":"18.3.1","global":"React"},{"name":"react-dom","version":"18.3.1","global":"ReactDOM"}], "sections":{}, "groups":["Logos","Icons"], "assetGroups":{"Logos":{"name":"Logos","tile":"l","order":[],"files":{}}}, "blobs":{}, "docs":{"readme":"project/README.md","sections":[]}}.
"editing": "off" in the index turns off editing on the page; the page offers a clean-up ("Finish setting up").
Asked for one in words, not by its button, first ask if they want its files reorganized into this format. Then do so
by Revising. Files the format has no place for (kits, some foundations pages) stay put. Keep authors' words; add
nothing in their voice. Pictures, fonts and scripts stay files, moved where reference/format.md puts them, paths
repaired: upload none, inline none, whatever else these pages say. Remove files only by reference/craft.md's Move
aside. Remove editing in the LAST write, once files follow reference/format.md. Other changes are just made, both
kept. "editing": "code": synced from code (page read-only). Asked to change it, change it in the code and re-sync
(reference/from-code.md, end).
Everything under assets/<Group>/ is a FILE at that path (icons, logos, images, SVG too, video, PDF, a group's
README.md), or an upload the index names by a record assetGroups.<Group>.files.<key>:
{"name", "blob": "<id>", "size", "type"}: name = its path below the group folder (acme-mark.svg), the key
the same with bytes outside [A-Za-z0-9_./-] written ~ + two hex; <id> from the /_blob/<id> the upload
returned; size in bytes; type its media type (open-artifact upload --group prints the record, its key and next
steps). Prefer files: they travel with project/ when a design installs the system; an upload lives in
<root>/_blobs/. The page stores dropped media as uploads and keeps supporting documents at their project paths. A group's order lists names in tile
order; groups orders the group keys. Encode group keys with the same UTF-8 byte rule as file keys and keep the display name in name. Leave sections, blobs and docs to the page (new index: {}, {},
{"readme":"project/README.md","sections":[]}).
To revise: write only the project/ paths you change. The index is written ONCE, LAST in your work, never in the
small steps before it (a write replaces the whole file: a copy read earlier would undo a rename, or drop the record
of an icon a person added meanwhile; the page rewrites it on every save to set lastChange): read it right before,
change those (its lastChange and the keys your change touches: title, namespace, libraries, an asset record), keep
every other key and the marker. A system YOU start (no index yet) gets project/design-system.json with
createdOnFiles exactly so, at = now; open-artifact open <root> --type design-system --title "<name>" writes that
index for you when none is there. A project/design-system.json with no marker is not an index: the page opens
read-only and open-artifact check reports it as an error; say so, write nothing over it.
What a system holds
path under project/ |
what | notes |
|---|---|---|
design-system.json |
the index (above) | title IS the system's name; written LAST |
tokens.json |
the tokens object | written whole |
README.md, other *.md sections |
the brand book | other *.md outside components/ (and archived/, api/) are further sections (max 24) |
components/<Comp>/README.md |
guidelines | |
components/<Comp>/preview.html |
the live preview | |
components/<Comp>/<Comp>.d.ts |
its props | read for the Props tab and its api/ card |
components/bundle.js·bundle.css·index.d.ts·lib/*.js |
the bundle, stylesheet, types, libraries | as fi |
Установить design-system в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-system?
Create and revise design systems in the Design System artifact format (project/design-system.json, tokens.json, a README brand book, component previews, fonts and asset groups) as local files, then open them in a local design-system page where the user can browse and edit tokens, type, components and assets. Use when the user asks for a design system or brand kit in this format, built from a code repository, a design tool or scratch, names the Design System type, or wants to revise a folder that holds project/design-system.json. Design and Slides artifacts install these systems. Not for a free-form HTML style guide, UI kit or token page.
Как установить скилл design-system?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-system запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic