ns-frontend-design — скилл для Claude Code и Cursor
Скилл ns-frontend-design для Claude Code, Codex, Cursor и других агентов — строит production-интерфейсы с типографикой, иерархией и анимацией. Срабатывает на страницах, компонентах, дашбордах, формах и KPI-аналитике.
Apache-2.0 153 установок обновлён 2026-10-24
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a claude-codeЧто делает ns-frontend-design
Его цель — не воспроизвести типовую AI-эстетику с фиолетовыми градиентами и одинаковыми карточками, а выстроить конкретный визуальный образ: масштаб шрифтов, отступы, акцент, уровень движения.
При запуске скилл читает docs/context/design-brief.md, если он есть в проекте, — оттуда берёт токены, типографику и правила движения. Когда стек React и задача включает дашборды или аналитику, загружается references/react-analytics-ui.md; библиотека графиков по умолчанию — Recharts. Рабочий цикл: аудит существующих паттернов, привязка к design-brief, дизайн состояний (hover, focus, empty, error) и адаптивных точек, реализация минимальным диффом, проверка фокуса клавиатуры и контраста. Зависит от скилла ns-harness.
Скилл не трогает backend-схемы и API, не заменяет ns-reviewer на MR-ревью. Если design-brief.md отсутствует, агент задаёт один вопрос о направлении бренда — и только один — прежде чем браться за крупную UI-работу.
Какие задачи решает
- Убрать шаблонную AI-эстетику со страниц и компонентов
- Собрать дашборд с KPI-графиками на Recharts
- Привязать интерфейс к токенам и типографике из design-brief
- Добавить состояния hover, focus, empty и error в существующие компоненты
- Проверить контраст и навигацию с клавиатуры на готовом экране
Примеры запросов агенту
- Переработай главную страницу по
docs/context/design-brief.md, убери дублирующиеся карточки - Собери дашборд с графиками продаж и таблицей источников трафика
- Добавь состояния загрузки и пустого экрана в компонент
<DataTable />
Как установить ns-frontend-design
1Через Skills CLI (Vercel)
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a claude-code2Вручную: положить файлы
~/.claude/skills/ns-frontend-design/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/ns-frontend-design/
1Через Skills CLI (Vercel)
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a codex2Вручную: положить файлы
.agents/skills/ns-frontend-design/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a cursor2Вручную: положить файлы
.cursor/skills/ns-frontend-design/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install nextstage-brasil/skills skills/ns-frontend-design2Вручную: положить файлы
.github/skills/ns-frontend-design/SKILL.md1Через Skills CLI (Vercel)
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a gemini-cli2Командой платформы
gemini skills install https://github.com/nextstage-brasil/skills --path skills/ns-frontend-designВручную: положить файлы
.devin/skills/ns-frontend-design/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add nextstage-brasil/skills --skill ns-frontend-design -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о ns-frontend-design
Как установить ns-frontend-design в Claude Code?
Выполни команду npx skills add nextstage-brasil/skills --skill ns-frontend-design -a claude-code. После этого скилл будет доступен по пути ~/.claude/skills/ns-frontend-design/SKILL.md.
Что делает скилл ns-frontend-design?
Он ведёт агента через полный цикл UI-работы: аудит текущих паттернов, привязку к design-brief, реализацию с учётом состояний и адаптивности, проверку доступности. Задача — production-интерфейс с чётким визуальным образом, а не шаблонный результат.
От чего зависит ns-frontend-design и нужно ли что-то установить заранее?
Скилл зависит от ns-harness — он должен быть установлен в проекте. Для полноценной работы с дашбордами на React желателен файл references/react-analytics-ui.md в репозитории.
Исходный текст
SKILL.md · Apache-2.0
--- name: ns-frontend-design description: "(NS) Distinctive production UI — layout, typography, motion, polish; avoids AI-slop aesthetics. Use when building/refining pages, components, dashboards, KPI/analytics views, charts, forms, design-brief work, or better UI/UX — even if they do not say \"design\". Load docs/context/design-brief.md when present. Do NOT use for backend-only, requirements writing, or full SDD (ns-spec-driven)." license: Apache-2.0 metadata: author: nextstage-brasil version: "1.1" depends: - ns-harness --- # Frontend Design Ship **distinctive, production-grade UI** — not interchangeable template aesthetics. ## Session boot See `../ns-harness/references/session-boot.md`. Read `.nextstage-harness/rules/architecture-rules.md` and layer-specific frontend rules when present. ## Context to load | File | When | | ---- | ---- | | `docs/context/design-brief.md` | Always check first — tokens, typography, motion | | `docs/context/stack-confirmed.md` | Framework and CSS approach | | `.nextstage-harness/rules/*frontend*` | Project conventions | | `references/react-analytics-ui.md` | React stack + KPIs, charts, timelines, tables, sources, alerts | If `design-brief.md` is missing, infer stack from architecture rules and ask **one** focused question on brand direction before large UI work. When the stack is **React** and the work includes dashboards or analytics UI, read `references/react-analytics-ui.md` before implementing — default chart library: **Recharts**. ## When to use - New pages, layouts, or component libraries - Visual refresh of existing screens - Design-brief alignment or token application - Reducing "generic AI UI" (purple gradients, identical card grids) ## Workflow 1. **Audit** — screenshot or read existing UI patterns in the codebase; note framework (React, Vue, Blade, etc.). 2. **Anchor** — apply `design-brief.md` or establish a minimal direction (type scale, spacing, accent, motion level). 3. **Design** — composition, hierarchy, states (hover, focus, empty, error), responsive breakpoints. 4. **Implement** — minimal diff; match project file structure and naming. 5. **Verify** — keyboard focus, contrast, reduced-motion respect. See `references/anti-slop.md` and `references/checklist.md`. ## Principles - **One strong visual idea** per screen — not every trend at once. - **Typography carries hierarchy** — do not rely on color alone. - **Motion with purpose** — micro-interactions for feedback, not decoration loops. - **Accessible by default** — semantic HTML, labels, focus rings. ## Integration with ns-spec-driven When invoked from the SDD face skill, stay scoped to UI tasks — do not expand into requirements or task generation. ## Forbidden - Backend API design or database schema - Replacing `ns-reviewer` for MR gates - Ignoring project CSS/component conventions when they exist
© nextstage-brasil · Apache-2.0 · nextstage-brasil/skills