design-system-create
A starter kit for building a design system with CSS tokens, essential components, and style principles.
Install
mkdir -p .claude/skills/design-system-create && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12311" && unzip -o skill.zip -d .claude/skills/design-system-create && rm skill.zipInstalls to .claude/skills/design-system-create
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Собрать дизайн-систему с нуля: токены, типографика, компоненты, гайдлайны.Key capabilities
- →Define design tokens for colors, typography, spacing, radii, and shadows
- →Create core UI components like buttons, inputs, cards, and badges
- →Document design principles and guidelines
- →Provide examples of components in use on screens
- →Structure design system files
- →Define states for interactive elements
How it works
The skill establishes a minimal viable design system by defining tokens, creating core components, documenting principles, and providing examples. It structures files and specifies essential properties for each element.
Inputs & outputs
When to use design-system-create
- →Creating a new UI-kit
- →Defining project design tokens
- →Setting up core style guidelines
- →Building initial UI components
About this skill
Design system create
Минимально жизнеспособная дизайн-система — это:
- Tokens (цвета, типографика, отступы, радиусы, тени).
- Components (кнопка, инпут, карточка, бейдж — ядро).
- Принципы (1 страница: что считается «правильным»).
- Примеры — компоненты в работе на 2-3 экранах.
Не делай сразу 50 компонентов. Начни с ядра, расширяй по мере появления реальных нужд.
Структура файлов
design-system/
README.md
tokens.css
tokens.json
type.html ← страница со всеми текстовыми стилями
colors.html ← страница с палитрой
components/
button.html
input.html
card.html
badge.html
examples/
landing.html
settings.html
tokens.css — обязательный минимум
:root {
/* Цвета */
--color-bg: #FAF9F6;
--color-fg: #111111;
--color-muted: #6B6B6B;
--color-rule: rgba(0, 0, 0, 0.08);
--color-primary: #D97757;
--color-success: #2E7D5F;
--color-warning: #C58B14;
--color-danger: #C24E3A;
/* Типографика */
--font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
/* Шкала размеров */
--text-xs: 12px;
--text-sm: 14px;
--text-base: 16px;
--text-lg: 18px;
--text-xl: 24px;
--text-2xl: 32px;
--text-3xl: 48px;
--text-4xl: 72px;
/* Spacing — кратно 4 */
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-6: 24px;
--space-8: 32px;
--space-12: 48px;
--space-20: 80px;
/* Радиусы */
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--radius-pill: 999px;
/* Тени */
--shadow-sm: 0 1px 2px rgba(0,0,0,.06);
--shadow-md: 0 4px 12px rgba(0,0,0,.08);
--shadow-lg: 0 30px 80px rgba(0,0,0,.12);
/* Время и easing */
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 120ms;
--duration-base: 200ms;
}
Принципы (template)
В README.md системы укажи:
- Цвета. Когда какой использовать. «Primary только для главного CTA на странице. Не больше двух primary-кнопок в один экран».
- Расстояния. Никаких magic numbers. Если 17px — значит, ты ошибся; нужно 16 или 24.
- Типографика. Какой шрифт где. Не больше 3 размеров на экран.
- Бордеры и тени. Когда уместны, когда нет.
- Состояния. Что должно быть у любого интерактивного элемента.
Минимальные компоненты ядра
Button
3 варианта × 3 размера = 9 кнопок:
- variants: primary, secondary, ghost
- sizes: sm (32px), md (40px), lg (48px)
- states: default, hover, active, focus-visible, disabled, loading
Input
- text, password, email, number, search, textarea
- states: default, focus, filled, error, disabled
- с label, helper, error
Card
- minimum padding, border, optional shadow
- header / body / footer slots
Badge
- info, success, warning, danger, neutral
- sizes: sm, md
Дальше — что реально нужно.
Что НЕ нужно делать на старте
- ❌ Колорпикер с 12 оттенками каждого цвета. Достаточно 3-4.
- ❌ 20 размеров шрифта. Достаточно 8.
- ❌ Сложные компоненты (data-grid, file-uploader) до того, как нужны.
- ❌ Несколько тем (light/dark) до базовой системы.
Финальная проверка
Открой examples/landing.html или settings.html. Если для построения нужно было что-то «доделать руками» — это пробел в системе. Закрой пробел токеном или компонентом, не inline-стилем.
When not to use it
- →When creating 50 components at once
- →When defining 12 shades for each color
- →When adding multiple themes before a basic system is established
Limitations
- →Does not create a color picker with 12 shades per color
- →Does not create 20 font sizes
- →Does not create complex components like data-grids initially
How it compares
This skill provides a foundational and iterative approach to building a design system, focusing on core elements before expanding, unlike attempting to create a complete system from the outset.
Compared to similar skills
design-system-create side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| design-system-create (this skill) | 0 | 3mo | No flags | Beginner |
| visual-design-foundations | 5 | 5mo | No flags | Beginner |
| preline-theme-generator | 1 | 3mo | Review | Intermediate |
| ckm:design | 0 | 4mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
visual-design-foundations
wshobson
Apply typography, color theory, spacing systems, and iconography principles to create cohesive visual designs. Use when establishing design tokens, building style guides, or improving visual hierarchy and consistency.
preline-theme-generator
htmlstreamofficial
Generates beautiful, consistent Preline Theme CSS files. Agent interprets user request, runs build script, delivers complete CSS.
ckm:design
akshh229
Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), soci
attoset-brand
mohamed161001
AttoSet brand + design system. Use whenever building, editing, or reviewing any AttoSet website UI, component, page, copy, or visual asset to keep colors, typography, spacing, motion, and tone on-brand.
frontend-design
anthropics
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
retro-css-architecture
TheOrcDev
Organize 8-bit CSS with custom properties, pixel fonts, and responsive pixel art. Apply when creating or modifying retro-styled components and their CSS.