apply-aesthetic — скилл для Claude Code: дизайн-направление в токенах
Скилл выбирает визуальное направление — архетип или именную дизайн-систему — и переводит его в токены вашего проекта. Пригодится, когда нужен конкретный вид, а не «на вкус агента».
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a claude-codeЧто делает apply-aesthetic
Сначала скилл формулирует бриф: отрасль, аудитория, тон, одно настроение, глубину анимации и порядок лейаутов. Это обязательный шаг до любых токенов, потому что генерация без решения даёт slop.
Дальше выбирается направление из aesthetic-systems.md: архетип — high-end agency, editorial minimal, brutalist, soft-SaaS или dark-tech — либо одна из 2,144 именных систем. Список смотрится через python3 ${CLAUDE_SKILL_DIR}/../../../scripts/design_systems.py list, а спецификацию достаёт node ${CLAUDE_SKILL_DIR}/../../../scripts/library.mjs get <name> с проверкой по sha256. Скрипт печатает путь к DESIGN.md, оттуда берутся роли цветов, типографика, отступы, радиусы, тени и моушен. Применение идёт через Library Contract: semantic.* перевешиваются на роли выбранной системы.
Контраст каждой пары цветов проверяется скриптом contrast.py. Брендовое значение, которое не проходит проверку, придётся поправить — вкус не отменяет доступность. Установка через npx skills add кладёт только папку скилла, без кит-файлов: проверка на старте выдаст KIT_MISSING, и без npx ux-ui-agent-skills init или установки плагина шаги не выполнятся.
Какие задачи решает
- перевести словесное описание настроения в конкретные токены
- взять палитру и типографику из именной дизайн-системы
- выбрать архетип лейаута под отрасль и аудиторию
- проверить контраст цветовых пар после переноса бренда
- добавить моушен, не сломав доступность
Примеры запросов агенту
- Сделай дизайн в духе linear-app, токены переведи в наш semantic-слой
- Хочу вид high-end agency для лендинга студии, начни с брифа
- Возьми систему stripe и проверь контраст всех пар
Как установить apply-aesthetic
1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a claude-code2Вручную: положить файлы
~/.claude/skills/apply-aesthetic/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/apply-aesthetic/
1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a codex2Вручную: положить файлы
.agents/skills/apply-aesthetic/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a cursor2Вручную: положить файлы
.cursor/skills/apply-aesthetic/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install plugin87/ux-ui-agent-skills apply-aesthetic2Вручную: положить файлы
.github/skills/apply-aesthetic/SKILL.md1Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a gemini-cli2Командой платформы
gemini skills install https://github.com/plugin87/ux-ui-agent-skills --path .claude/skills/apply-aestheticВручную: положить файлы
.devin/skills/apply-aesthetic/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о apply-aesthetic
Как установить apply-aesthetic в Claude Code?
Выполните npx skills add plugin87/ux-ui-agent-skills --skill apply-aesthetic -a claude-code. После этого файл скилла лежит по пути ~/.claude/skills/apply-aesthetic/SKILL.md.
Что делает apply-aesthetic?
Определяет визуальное направление по брифу и переносит его в токены: цветовые роли, типографику, отступы, радиусы, тени и анимацию. В конце проверяет контраст получившихся пар.
Почему скилл останавливается с KIT_MISSING?
Установка через npx skills add ставит только папку скилла. Нужны кит-файлы из npx ux-ui-agent-skills init или установки плагина — иначе читать токены и спецификации неоткуда.
Исходный текст
SKILL.md · MIT
---
name: apply-aesthetic
description: Apply a visual direction, an archetype (high-end agency, editorial minimal, brutalist, soft-SaaS, dark-tech) or one of 2,144 named design systems (apple, linear-app, stripe, vercel, notion, material, shadcn, spotify, tesla…), by resolving it into the token system. Use when the user wants a specific look/vibe/brand feel, or asks to make a design feel premium/expensive/non-generic.
---
# Skill: Apply Aesthetic
> **Step 0: is the kit here?** This skill reads files from the kit. Check once:
> `ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING`
> On `KIT_MISSING` only the skill folders were installed, which is what
> `npx skills add` does. Say so plainly, point the user at
> `npx ux-ui-agent-skills init` or the plugin install, and stop. Do not guess the
> contents of a file you could not open.
Choose and apply a design direction without breaking accessibility.
## Steps
1. **Brief Inference first (mandatory).** Before any tokens, name it: industry/domain, audience & tone, the one mood adjective the result must earn, motion depth, and the layout-family sequence (`${CLAUDE_SKILL_DIR}/../../../taste/design-taste.md` → Brief Inference + Variance Mandate). Generating before deciding = slop.
2. Pick a direction in `${CLAUDE_SKILL_DIR}/../../../taste/aesthetic-systems.md`:
- An **archetype** (recipe mapped to our tokens), or
- A **named library system**: browse with `python3 ${CLAUDE_SKILL_DIR}/../../../scripts/design_systems.py list` (or `search <term>` / `show <name>`). Then run `node ${CLAUDE_SKILL_DIR}/../../../scripts/library.mjs get <name>` and read the `DESIGN.md` at the path it prints. An npm install carries the index and no spec, so this is what fetches it (checked against the sha256 the kit ships); where the spec is already on disk it fetches nothing. If it prints `refused`, say the spec could not be fetched and pick from an archetype instead; never write a spec from memory.
3. Apply the **Library Contract** (in `aesthetic-systems.md`): re-point `semantic.*` tokens to the chosen system's color roles; map typography/spacing/radius/shadow/motion to `${CLAUDE_SKILL_DIR}/../../../tokens/*.json`.
4. **Verify contrast** of every mapped color pair (`${CLAUDE_SKILL_DIR}/../../../scripts/contrast.py` / `a11y-audit`). A brand value that fails must be adjusted. Taste never overrides POUR.
5. Add motion per `${CLAUDE_SKILL_DIR}/../../../taste/motion-choreography.md`; run the pre-flight aesthetic check in `design-taste.md`.
## Output
Updated/overridden semantic tokens + notes on type/space/motion, then render via `design-code`. Confirm the result passes both the aesthetic check and accessibility.
© plugin87 · MIT · plugin87/ux-ui-agent-skills