create-design-system
БесплатноБез исполняемых скриптовНе проверенSkill to use if user asks you to create a design system or UI kit
от lza6★ 19 звёзд на GitHubОб этом скилле
Create design system
Design system creation instructions: Design systems are folders on the file system containing typography guidelines, colors, assets, brand style and tone guides, css styles, and React recreations of UIs, decks, etc. They give design agents the ability to create designs against a company's existing products, and create assets using that company's brand. Design systems should contain real visual assets (logos, brand illustrations, etc), low-level visual foundations (e.g. typography specifics; color system, shadow, border, spacing systems), reusable UI components, and high-level UI kits (full screens).
No need to invoke the create_design_system skill; this is it.
An automated compiler reads this project, bundles the components into a runtime library, and indexes the styles. It discovers everything from file content and sibling relationships — not from folder names — so the only fixed location is:
styles.cssat the project root (orindex.css/globals.css/global.css/main.css/theme.css/tokens.css— first match wins). This is the global-CSS entry point; consumers link this one file. Keep it as a list of@importlines only. Everything it transitively@imports is shipped to consumers;@font-facerules anywhere in that closure declare the webfonts.
Organize everything else however suits the brand. A sensible default layout (use it unless the attached codebase or brand has its own convention):
tokens/— CSS custom properties, one file per concern (colors.css,typography.css,spacing.css, …), each@imported fromstyles.css.components/<group>/— reusable React UI primitives.ui_kits/<product>/— full-screen click-through recreations of real product views.guidelines/— foundation specimen cards and deeper-dive prose.assets/— logos, icons, illustrations, imagery.readme.md(root) — the design guide and manifest.
What the compiler looks for, regardless of path:
- A component is any
<Name>.jsx/<Name>.tsx(PascalCase stem) with a sibling<Name>.d.tsin the same directory. Add<Name>.prompt.mdalongside, and one@dsCard-tagged.htmlper directory (its first line is<!-- @dsCard group="…" -->; details under "Components" below). - A token is any
--*custom property declared under:root(or a single-selector theme scope) in a file reachable fromstyles.css. - A font is any
@font-facerule in that same closure; itssrc: url(…)targets are the binaries shipped to consumers.
To begin, create a todo list with the tasks below, then follow it:
- Explore provided assets and materials to gain a high-level understanding of the company/product context, the different products represented, etc. Read each asset (codebase, figma, file etc) and see what they do. Find some product copy; examine core screens; find any design system definitions.
- Create a readme.md (root) with the high-level understanding of the company/product context, the different products represented, etc. Mention the sources you were given: full Figma links, GitHub repos, codebase paths, etc. Do not assume the reader has access, but store in case they do.
- Call set_project_title with a short name derived from the brand/product (e.g. "Acme Design System"). This replaces the generic placeholder so the project is findable.
- IF any slide decks attached, use your repl tool to look at them, extract key assets + text, write to disk.
- Explore the codebase and/or figma design contexts and write the token CSS files — CSS custom properties on
:root, both base values (--fg-1,--font-serif-display) and semantic aliases (--text-body,--surface-card). Copy any webfonts/ttfs into the project and write the@font-facerules in a CSS file. Then write the rootstyles.cssas a list of@importlines only (never inline rules there) that reaches every token and font-face file. - Explore, then update readme.md with a CONTENT FUNDAMENTALS section: how is copy written? What is tone, casing, etc? I vs you, etc? are emoji used? What is the vibe? Include specific examples
- Explore, update readme.md with VISUAL FOUNDATIONS section that talks about the visual motifs and foundations of the brand. Colors, type, spacing, backgrounds (images? full-bleed? hand-drawn illustrations? repeating patterns/textures? gradients?), animation (easing? fades? bounces? no anims?), hover states (opacity, darker colors, lighter colors?), press states (color? shrink?), borders, inner/outer shadow systems, protection gradients vs capsules, layout rules (fixed elements), use of transparency and blur (when?), color vibe of imagery (warm? cool? b&w? grain?), corner radii, what do cards look like (shadow, rounding, border), etc. whatever else you can think of. answer ALL these questions.
- If you are missing font files, find the nearest match on Google Fonts. Flag this substitution to the user and ask for updated font files.
- As you work, create foundation specimen cards (s
Установить create-design-system в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-design-system?
Skill to use if user asks you to create a design system or UI kit
Как установить скилл create-design-system?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-design-system запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic