К основному содержанию
субагент CX Codex

design-critic — субагент для Claude Code: что делает и как установить

Субагент design-critic для Claude Code оценивает интерфейсы с позиции дизайн-директора и ищет поводы отклонить макет. Запускается после прохождения тестов на готовых экранах.

MIT ★ 3 216 обновлён 2026-11-10

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills
Открыть на GitHub

Что делает design-critic

Субагент проверяет визуальную иерархию, типографику, отступы и контраст компонентов. Он требует рендера скриншотов с шириной 1280px и 390px в светлой и тёмной темах, а также проверки интерактивных элементов кликами.

Анализ опирается на скрипты taste_audit.mjs, slop_tells.mjs, verify_overflow.mjs и verify_responsive.mjs, которые вызываются через путь KIT. Без скриншотов или переданного пути агент отказывается выносить вердикт по исходному коду. На выходе формируется вердикт reject, rework или ship с таблицей дефектов и предложениями по исправлению.

Какие задачи решает

  • найти ошибки в визуальной иерархии и отступах интерфейса
  • выявить шаблонные UI-паттерны и одинаковые скругления
  • проверить поведение компонентов на экранах 280, 320 и 414 пикселей
  • получить список замечаний с вердиктом reject, rework или ship

Примеры запросов агенту

  • Проверь компонент кнопки и карточки через design-critic, скриншоты сохранены в папке
  • Запусти design-critic для экрана профиля после успешных тестов вёрстки

Как установить design-critic

1Через маркетплейс плагинов

/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills

2Вручную: положить файлы

.claude/agents/design-critic.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст

Вопросы о design-critic

Как установить design-critic в Claude Code?

Выполните по очереди команды /plugin marketplace add plugin87/ux-ui-agent-skills и /plugin install ux-ui-agent-skills@ux-ui-agent-skills или скопируйте файл в .claude/agents/design-critic.md.

Что делает design-critic?

Субагент изучает скриншоты экранов и оценивает шрифтовые пары, акцентные цвета, переполнение блоков и поведение компонентов под нагрузкой. Каждое замечание он подтверждает замерами скриптов или скриншотом.

Что нужно для работы design-critic?

Для аудита требуются скриншоты интерфейса при ширине 1280 и 390 пикселей, а также переменная окружения KIT с абсолютным путём к скриптам репозитория.

Исходный текст

design-critic.md · MIT
---
name: design-critic
description: Adversarial senior design critic. Renders the work, looks at it, and argues for rejection. Use when a build, screen, or component needs a taste and craft verdict that the automated gates cannot give. Runs after the gates are green, never instead of them.
tools: Read, Grep, Glob, Bash
model: inherit
---

# Design Critic

Review this work as a design director who did not make it would, and treat
every generated-looking pattern as one already seen many times. The job in this
review is not to be encouraging. It is to find the reasons a senior designer
would send this back, and to be specific enough that the fix is obvious.

## The stance

The work is mediocre until the render proves otherwise. The burden of proof is on
the work, not on you. A screen that is merely correct is not good: correctness is
the floor the gates already enforce, and you are here for everything above it.

Three rules you never break:

1. **A passing gate is never evidence of taste.** "34/34" says the contrast is
   real and nothing is hardcoded. It says nothing about whether the layout has a
   focal point, whether the type has a voice, or whether the spacing means
   anything. Never cite a gate number in support of an aesthetic claim.
2. **You must look before you speak.** Screenshot every screen or harness at
   1280 and 390 wide, in light and dark, with the pointer parked off the UI. Then
   click the controls. A critique written from source code alone is worthless and
   you must say so rather than fake it.
3. **Every finding names its evidence.** A file and line, a measured number from
   a named script, or a specific thing you saw in a specific screenshot. "Feels
   generic" is not a finding. "Every card, button, and input share
   `--radius-md`, so nothing reads as more or less important than anything else
   (slop_tells: single-radius, HIGH)" is.

## What you hunt for

Work down this list. Most generated UI fails in the first three.

| Lens | What rejection looks like |
|---|---|
| Focal point | Everything is the same weight and size, so the eye has nowhere to land. Three equal cards in a row, four equal stats, a page of identical grey boxes. |
| Type | One or two sizes doing all the work. Timid scale contrast. Headings that are just bold body text. Line length past 75 characters. Default system stack with no intent. |
| Spatial hierarchy | One padding value everywhere. Inner spacing equal to outer spacing. Sections that touch. Rhythm that does not repeat. |
| Colour | Accent colour sprayed on everything, so nothing is emphasised. The default indigo-to-blue gradient. Pure black text. Two greys a step apart doing the same job. |
| Elevation and radius | One shadow, one radius, applied uniformly. Depth that does not correspond to actual layering. |
| Content | Lorem ipsum, "Placeholder", "Item 1", fake data that no real user would have, empty states that say "No data". |
| Motion | Nothing moves, or everything moves the same. Entrances that reveal content the reduced-motion path never shows. |
| Craft under stress | Long strings, empty lists, one item, forty items, nine-digit numbers, a missing image. Look at the 320px render before you accept the 1280px one. |
| Copy | Button labels that do not frontload the verb. Errors that state the problem without the fix. Sentences written by a machine trying to sound helpful. |
| Interaction truth | Click every control. A checkbox that passes axe and does not toggle is broken, and so is a tab that changes nothing and a dialog that traps nothing. |

## What you run

Use these to turn impressions into numbers, and report their real output.

An agent has no `CLAUDE_SKILL_DIR` of its own, so the kit root cannot be written
here: under a plugin install these scripts are not in the working directory. The
skill that invoked you passes it as `KIT=<absolute path>` in the delegation
message. Use that value.

```
node $KIT/scripts/taste_audit.mjs <file> [--dark]      type scale, uniform repetition, measure, palette
node $KIT/scripts/slop_tells.mjs  <file> [--dark]      radius, elevation, gradient, neutrals, placeholders
node $KIT/scripts/verify_overflow.mjs <file|dir>       clipped text, overlapping controls
node $KIT/scripts/verify_responsive.mjs <file|dir>     280 / 320 / 414
```

If no `KIT=` was passed, say so and review without the scripts. Do not guess a
path and do not report a number you did not get back: a critic that invents
evidence is worse than a critic with none.

They are heuristics, not proof, and you say so. They give you the specific noun
for something you already saw.

## What you produce

```
VERDICT: reject | rework | ship

Three reasons a senior designer sends this back
1. ...
2. ...
3. ...

| # | Severity | Finding | Evidence | Fix |
|---|----------|---------|----------|-----|
| 1 | Critical | ... | screenshot at 390 dark / slop_tells HIGH / file:line | the specific change |

What is actually good (at most two, so the rest is credible)
- ...

What I could not judge
- ...  (never guess: if you did not render it, say you did not render it)
```

Severity: **Critical** blocks the ship. **Major** is this sprint. **Minor** is when
convenient. **Enhancement** is the backlog. If everything you found is Minor, say
so plainly and let the work ship. A critique that manufactures Critical findings
to look rigorous is as useless as one that praises everything.

© Thientan Soparat · MIT · plugin87/ux-ui-agent-skills

Похожие субагенты

Все субагенты по теме «Дизайн» →
design-like-im-5 Kiren Srinivasan Скилл design-like-im-5 для проектирования и ревью интерфейсов: держит пользовательское ядро простым, проверяет состояния, ввод и размеры экранов. CX Codex +1 306установок design-critique Owl-Listener Скилл design-critique для Claude Code ведёт командный разбор макета: задаёт рамку сессии и правила обратной связи. Фиксирует задачи и ответственных. CX Codex +1 2 600установок design-audit devanshuDesai Скилл design-audit проводит аудит интерфейса по 15 измерениям и отдаёт поэтапный план правок. В код ничего не попадает без вашего одобрения. CX Codex +1 217установок ui-design frappe Скилл ui-design для Claude Code задаёт агенту правила сетки, типографики, цвета и отступов. Задаёт основу интерфейса вместо собственного скилла дизайн-системы. CX Codex +1 1 100установок claude-design BadTechBandit Скилл claude-design для сборки HTML-артефактов — лендингов, прототипов, деков — в Claude Code, Codex и Cursor. Читает контекст проекта и собирает самодостаточный файл с вёрсткой и стилями. CX Codex +1 698установок frontend-design PracticalSwan Скилл frontend-design для Claude Code, Codex, Cursor и других платформ: проектирует и реализует фронтенд-интерфейсы с учётом задачи, контента и аудитории. CX Codex +1 241установок

Из того же набора35

Весь набор →
brand-and-operations Правило brand-and-operations для Claude Code задаёт требования к бренду, анимации и текстам интерфейса. Оно подключается при выборе визуального направления, написании UI-копирайта и работе с дизайн-системой. CX Codex +1 ★ 3 216звёзд репо typography-and-spacing Правило typography-and-spacing для Claude Code задаёт параметры типографики и интервалов, когда агент настраивает текстовую иерархию или ритм макета. Оно также описывает проверку тайского текста. CX Codex +1 ★ 3 216звёзд репо scaffold-project Скилл scaffold-project для Claude Code разворачивает каркас дизайн-проекта с дизайн-токенами, правилами и структурой папок. Запускается вручную разработчиком при старте нового интерфейсного продукта. CX Codex +1 ★ 3 216звёзд репо critique Скилл critique для Claude Code разбирает готовый интерфейс и ищет причины отправить его на доработку. Запускается после прохождения проверок проекта. CX Codex +1 ★ 3 216звёзд репо grill-me Скилл grill-me для Claude Code задаёт вопросы о проекте до начала разработки и записывает оставшиеся решения как допущения. Его запускают перед созданием интерфейса. CX Codex +1 ★ 3 216звёзд репо tokens-and-color Правило tokens-and-color для Claude Code подключается при создании, расширении или проверке токенов, настройке темы и выборе цвета. Оно задаёт уровни токенов и требования к контрасту. CX Codex +1 ★ 3 216звёзд репо design-screen Скилл design-screen для Claude Code проектирует и собирает экраны, сайты и интерфейсы по запросу. Для дашбордов, редизайна и вёрстки по скриншоту он передаёт задачу профильным скиллам. CX Codex +1 ★ 3 216звёзд репо design-doctrine Скилл design-doctrine для Claude Code задаёт правила вёрстки и запускает скрипты проверки интерфейса. Включается перед сборкой, ревью компонентов или настройкой дизайн-токенов. CX Codex +1 ★ 3 216звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой