design-style-installer — скилл для Claude Code: установка темы
Скилл design-style-installer для Claude Code устанавливает дизайн-тему и переносит её токены в проект. Запускается для смены оформления: обновляет стили компонентов, сохраняя структуру и содержимое.
MIT 105 установок ★ 440 обновлён 2026-10-20
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a claude-codeЧто делает design-style-installer
Скилл подключает выбранную тему к проекту, заменяет жёстко заданные значения цветов и других стилей ссылками на токены, затем проверяет сборку и основные экраны. Можно взять одну из тем Open Agent Stack — например, aurora-mesh или sand-terra — либо передать локальный файл токенов tokens.json.
Способ подключения зависит от стека: для Tailwind меняются настройки темы, а в других случаях добавляются CSS-переменные. Скилл также проверяет контраст текста и фона и записывает результат в design-install-report.md, включая оставшиеся жёстко заданные значения. Структуру и содержимое компонентов он сохраняет; если нужны изменения структуры, они попадут в отчёт как предложения.
Какие задачи решает
- подключить дизайн-токены к Tailwind или CSS
- заменить жёстко заданные стили компонентов ссылками на токены
- проверить контраст текста и фона после смены темы
- найти оставшиеся в коде значения стилей
Примеры запросов агенту
- Установи тему
aurora-meshв этот проект. - Покажи доступные темы оформления.
- Проверь, какие значения стилей ещё заданы напрямую.
Как установить design-style-installer
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a claude-code2Вручную: положить файлы
~/.claude/skills/design-style-installer/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/design-style-installer/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a codex2Вручную: положить файлы
.agents/skills/design-style-installer/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a cursor2Вручную: положить файлы
.cursor/skills/design-style-installer/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills design-style-installer2Вручную: положить файлы
.github/skills/design-style-installer/SKILL.md1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a gemini-cli2Командой платформы
gemini skills install https://github.com/OneWave-AI/claude-skills --path design-style-installerВручную: положить файлы
.devin/skills/design-style-installer/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill design-style-installer -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о design-style-installer
Как установить design-style-installer в Claude Code?
Выполни npx skills add OneWave-AI/claude-skills --skill design-style-installer -a claude-code. Файл скилла находится по пути ~/.claude/skills/design-style-installer/SKILL.md.
Что делает design-style-installer?
Он подключает дизайн-тему, заменяет жёстко заданные стили компонентов токенами и проверяет сборку и контраст. Результат записывает в design-install-report.md.
Какие темы можно установить с помощью design-style-installer?
В коллекции есть aurora-mesh, cirrus, liquid-glass, mono-brutalist, neo-terminal, sand-terra и tidal. Также можно использовать локальный tokens.json.
Исходный текст
SKILL.md · MIT
--- name: design-style-installer description: Install a complete design-token theme into any project in one pass -- pulls a style from the Open Agent Stack design-styles collection (aurora-mesh, cirrus, liquid-glass, mono-brutalist, neo-terminal, sand-terra, tidal) or a local tokens.json, wires it into Tailwind/CSS, and repaints existing components to match. tools: Read, Glob, Grep, Write, Edit, Bash, WebFetch model: inherit --- # Design Style Installer Apply a full design system to a project the way a brand refresh actually works: tokens first, wiring second, components last, and nothing hardcoded that the tokens already define. Sources: the seven production themes in [Open Agent Stack `design-styles/`](https://github.com/OneWave-AI/open-agent-stack/tree/main/design-styles) -- each ships `tokens.json` (W3C design-tokens), `theme.css`, `tailwind.tokens.js`, and a WCAG contrast worksheet -- or any local W3C-format tokens file. ## Workflow 1. **Pick the style.** If the user named one, fetch it from the open-agent-stack repo (or read the local clone). If not, show the seven options with their one-line personalities -- aurora-mesh (soft futuristic dark, gradient mesh), cirrus (light cloud/sky, frosted), liquid-glass (translucent layered), mono-brutalist (stark, type-led), neo-terminal (CRT green-on-black), sand-terra (warm editorial neutrals), tidal (deep ocean blues) -- and ask which fits the product. 2. **Read the project.** Detect the stack (Tailwind version, CSS modules, styled-components, plain CSS) and inventory the current styling surface: where colors, fonts, radii, and shadows are defined today, and how many components hardcode values outside that. 3. **Install the tokens.** Wire the theme by stack: Tailwind -- merge `tailwind.tokens.js` into `theme.extend` (v4: emit `@theme` CSS variables); otherwise -- add `theme.css` custom properties at `:root`/`[data-theme]`. Load the theme's fonts properly (next/font or preconnected `<link>`), never a blocking import chain. 4. **Repaint.** Replace hardcoded values in components with token references, mapping by role, not by nearest hex: old primary -> new accent, old page background -> `bg.base`, old card -> `surface`. Where the old design had roles the theme lacks (a third accent, a warning tint), derive them from the theme's palette logic and document the additions in the tokens file -- do not freelance new colors. 5. **Verify.** Run the build, then check the money paths render correctly: nav, hero, buttons in all states, forms, cards. Confirm text/background pairs still meet the contrast worksheet's AA levels after any derivations. Output `design-install-report.md`: tokens installed, files touched, hardcoded values remaining (with paths), and derived tokens added. ## Rules - Tokens are the only source of truth after installation. A repaint that leaves hex codes scattered in components has not finished. - Map by semantic role, never by visual similarity -- the old light-gray border and the old light-gray disabled-text are different tokens even if they were the same hex. - Never mix themes. If the user wants aurora-mesh cards on a sand-terra page, that is a custom theme -- fork the tokens file and name it honestly. - Preserve layout and content exactly: this skill changes paint, not structure. Structural itches go in the report as suggestions. - Respect the theme's motion tokens too -- durations and easings are part of the style, not decoration to skip. - Keep the theme's accessibility guarantees: any color you derive gets contrast-checked before it ships. ## Quick Commands - "Install [style] into this project" -- full workflow - "Show me the styles" -- step 1 gallery with personalities - "Just the tokens, no repaint" -- steps 1-3 - "What's still hardcoded?" -- the drift audit from step 5
© OneWave-AI · MIT · OneWave-AI/claude-skills