brand-and-operations — правило для Claude Code: функции и установка
Правило brand-and-operations для Claude Code задаёт требования к бренду, анимации и текстам интерфейса. Оно подключается при выборе визуального направления, написании UI-копирайта и работе с дизайн-системой.
MIT ★ 3 216 обновлён 2026-10-20
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skillsЧто делает brand-and-operations
Правило задаёт принципы оформления интерфейса, движения и UX-текстов, а также описывает процессы для дизайн-системы. Для анимации оно требует учитывать prefers-reduced-motion и брать длительность и easing из tokens/motion.json, а не задавать их вручную.
В составе есть рекомендации по голосу интерфейса, сообщениям об ошибках и пустым состояниям. Операционная часть охватывает сборку токенов в CSS, Tailwind, iOS и Android, синхронизацию с Figma, проверки доступности и визуальные регрессионные тесты. Переходы UI ограничены 500ms.
Какие задачи решает
- выбрать визуальное направление для интерфейса
- написать короткие тексты кнопок и ошибок
- задать правила анимации с учётом reduced motion
- описать сборку и проверку токенов дизайн-системы
Примеры запросов агенту
- Подбери визуальное направление для этой страницы и проверь контраст.
- Перепиши тексты ошибок и пустых состояний по правилам UX-копирайта.
- Опиши проверку дизайн-системы перед релизом.
Как установить brand-and-operations
1Через маркетплейс плагинов
/plugin marketplace add plugin87/ux-ui-agent-skills/plugin install ux-ui-agent-skills@ux-ui-agent-skills2Вручную: положить файлы
.claude/rules/brand-and-operations.mdПоле paths во frontmatter ограничивает файлы
AGENTS.md
Codex читает AGENTS.md: вставьте текст правила туда
Вручную: положить файлы
.cursor/rules/brand-and-operations.mdcВо frontmatter: description, globs, alwaysApply
Вручную: положить файлы
.github/instructions/brand-and-operations.instructions.mdПоле applyTo задаёт, к каким файлам применять
Вручную: положить файлы
.devin/rules/brand-and-operations.mdВручную: положить файлы
.clinerules/brand-and-operations.mdПо шагам, с командами для каждой платформы: AGENTS.md и CLAUDE.md: что это, кто читает и какой выбрать
Вопросы о brand-and-operations
Как установить brand-and-operations в Claude Code?
Выполни команды по порядку: /plugin marketplace add plugin87/ux-ui-agent-skills, затем /plugin install ux-ui-agent-skills@ux-ui-agent-skills. Файл правила находится по пути .claude/rules/brand-and-operations.md.
Что делает brand-and-operations?
Правило описывает требования к визуальному стилю, анимации и UX-текстам, а также процессы сборки и проверки дизайн-системы.
Какие ограничения задаёт правило для анимации?
Для переходов UI указана длительность от 100 до 300ms и запрет превышать 500ms. Правило также требует учитывать prefers-reduced-motion.
Исходный текст
brand-and-operations.md · MIT
# Rule: Brand, motion, copy, and operations Loaded when applying an aesthetic direction, writing UI copy, or running the system itself. Split out of `CLAUDE.md` so it loads only when the work calls for it. The headings below are unchanged, so any pointer to them still resolves. --- ## Brand Consistency ### Design Taste & Aesthetic Direction - **Anti-slop doctrine**: every output must beat the statistical defaults that make UI look machine-generated. See `taste/design-taste.md` (banned defaults, the Variance Mandate, typographic/spatial/color taste, pre-flight aesthetic check). - **Aesthetic systems**: pick an archetype or a named system (2,144 specs) from `taste/aesthetic-systems.md`; resolve it into tokens via the Library Contract; verify contrast after. - **Motion choreography**: compose motion with `taste/motion-choreography.md` (entrances, stagger, hover, overlays) on top of `tokens/motion.json`. - Taste sharpens tier 4 only. Re-run accessibility checks after applying any direction. ### Motion Design - **Duration**: 100 to 300ms for UI transitions. Never > 500ms. - **Easing**: `ease-out` for entrances, `ease-in` for exits, `ease-in-out` for state changes - **Purpose**: Every animation guides attention, shows connection, or provides feedback - **Reduced motion**: Always respect `prefers-reduced-motion`. Replace with fade or instant. - All motion values are tokenized: use `tokens/motion.json` (duration scale, easing curves, transition presets, keyframes). Never hardcode timing or easing. ### Voice & Tone - **UI copy**: Clear, concise, actionable. Frontload the verb. - Good: "Save changes" / Avoid: "Click here to save your changes" - Good: "Email is required" / Avoid: "The email field cannot be empty" - **Error messages**: Say what happened → why → how to fix it. - Good: "Password must be at least 8 characters. Try adding numbers or symbols." - Avoid: "Error: Invalid input" - **Empty states**: Explain the value → guide to first action. - Good: "No projects yet. Create your first project to get started." - Avoid: "No data" - Full UX writing system (voice principles, tone spectrum, error/empty-state formulas, microcopy patterns, inclusive language, and a pre-ship checklist) in `content/voice-tone.md`. --- ## Operations & Pipeline Keeping the system healthy at scale (governance, build, sync, QA, and performance): - **Governance**: versioning (SemVer for tokens/components), contribution path, deprecation policy, change communication: `workflows/governance.md`. - **Token build pipeline**: transform `tokens/*.json` (source of truth) → CSS vars / Tailwind `@theme` / iOS Asset Catalog / Android / Compose via Style Dictionary or Tokens Studio (DTCG): `workflows/token-build.md`. - **Figma integration**: token ↔ Figma Variable sync (3-tier collections + modes), Figma MCP usage, component parity: `workflows/figma-integration.md`. - **Design QA**: automated gates (token validation, axe a11y, visual regression across variants/states/themes/RTL) + manual a11y per release: `workflows/design-qa.md`. - **Performance**: Core Web Vitals (LCP/INP/CLS) budgets, loading/code-split strategy, layout-shift and animation-perf rules: `workflows/performance.md`. - **Icon system**: grid/stroke/sizing tokens, delivery, and a11y for icons as a governed subsystem: `components/icon-system.md`.
© Thientan Soparat · MIT · plugin87/ux-ui-agent-skills