design-brief · julianoczkowski — скилл для Claude Code: бриф на фичу до кода
Проводит интервью о задаче, смотрит существующий код и сохраняет дизайн-бриф в markdown. Пригодится перед стартом новой страницы или фичи.
npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-codeЧто делает design-brief
Скилл ведёт структурированный разговор: сначала спрашивает, что вы хотите построить, для кого и какие есть ограничения. Потом сам проходит по репозиторию и ищет то, на что дизайн должен опереться — CSS-переменные и токены, конфиг Tailwind, темы UI-фреймворков, каталоги компонентов, Storybook, шрифты и уже существующие страницы. Если компоненты уже есть, бриф их расширяет, а не заменяет.
Дальше идёт серия вопросов про пользователя и его задачу, критерии успеха, эмоциональный тон, референсы и анти-референсы, жёсткие ограничения по устройствам и доступности. На каждый вопрос скилл предлагает свой вариант ответа, чтобы не сидеть над пустым полем. Шаги можно пропускать, если они не нужны.
Результат ложится в .design/<feature-slug>/DESIGN_BRIEF.md — слаг в нижнем регистре через дефис, например onboarding-flow. Разные фичи живут в разных подпапках, поэтому повторный запуск не затирает прошлый бриф. По шаблону внутри: проблема, решение, принципы опыта, эстетическое направление, существующие паттерны, инвентарь компонентов, ключевые взаимодействия, адаптивность, требования доступности и явный out of scope. Последующие скиллы набора читают и пишут в ту же папку, так что структуру лучше не переименовывать.
Какие задачи решает
- зафиксировать договорённости по фиче до первой строки кода
- разобрать, какие токены и компоненты уже есть в проекте
- определить тон интерфейса и то, на что он не должен быть похож
- выписать, что в эту итерацию не входит
- подготовить вход для скиллов по токенам и задачам
Примеры запросов агенту
- Напиши бриф для онбординг-флоу
- Мне нужно спланировать страницу настроек до начала разработки
- Помоги определить направление для маркетингового лендинга
Как установить design-brief
1Через Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-code2Вручную: положить файлы
~/.claude/skills/design-brief/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/design-brief/
1Через Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a codex2Вручную: положить файлы
.agents/skills/design-brief/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a cursor2Вручную: положить файлы
.cursor/skills/design-brief/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install julianoczkowski/designer-skills design-brief2Вручную: положить файлы
.github/skills/design-brief/SKILL.md1Через Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a gemini-cli2Командой платформы
gemini skills install https://github.com/julianoczkowski/designer-skills --path design-briefВручную: положить файлы
.devin/skills/design-brief/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о design-brief
Как установить design-brief в Claude?
Выполните npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-code. После этого файл скилла окажется по пути ~/.claude/skills/design-brief/SKILL.md.
Что делает design-brief?
Задаёт вопросы о задаче и аудитории, изучает текущий код на предмет токенов и компонентов, а затем пишет дизайн-бриф в markdown-файл внутри проекта.
Куда сохраняется бриф и что будет при повторном запуске?
Файл DESIGN_BRIEF.md кладётся в .design/<feature-slug>/, где слаг — короткое имя фичи через дефис. Каждая фича получает свою подпапку, поэтому прошлые брифы не перезаписываются.
Исходный текст
SKILL.md · Apache-2.0
---
name: design-brief
description: Create a design brief through an interactive interview, codebase exploration, and experience design decisions. Saved as a markdown file in the project. Use when user wants to write a design brief, plan a new feature or page, define a UI direction, or mentions "brief".
---
This skill creates a design brief through structured conversation. You may skip steps if they are not necessary.
## Example prompts
- "Write a brief for the onboarding flow"
- "I need to plan a settings page before I start building"
- "Help me define the direction for a marketing landing page"
- "Brief this: a dashboard that shows project health metrics"
## Process
1. Ask the user for a detailed description of what they want to build, who it is for, and any constraints or ideas they already have.
2. Explore the existing codebase to understand the current state. Scan for each of the following specifically:
- **CSS variables / tokens**: files named `tokens.css`, `variables.css`, `theme.css`, or `:root` declarations with custom properties
- **Tailwind config**: `tailwind.config.js` or `tailwind.config.ts`, check `theme.extend` for custom values
- **UI framework themes**: Material UI `createTheme`, Chakra `extendTheme`, shadcn `globals.css` and `components.json`
- **Component directories**: `components/`, `ui/`, `shared/`, or any folder containing reusable UI pieces
- **Storybook**: `.storybook/` directory or `*.stories.*` files indicating a documented component library
- **Design token files**: JSON token files (Style Dictionary format, Figma token exports)
- **Package.json UI dependencies**: tailwindcss, @mui/material, @chakra-ui/react, @radix-ui, lucide-react, framer-motion, etc.
- **Font loading**: Google Fonts links in HTML, `@font-face` declarations, font imports in CSS/config
- **Existing pages/layouts**: route files, layout components, page templates that show established patterns
- If components exist, treat them as the starting vocabulary. The brief should extend, not replace.
3. Interview the user relentlessly about every aspect of the design until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one by one. For each question, provide your recommended answer.
Cover at minimum:
- Who is the primary user their JTBD and what are they trying to accomplish?
- What does success look like for this interface?
- What is the emotional tone? (calm, urgent, playful, authoritative, warm, clinical)
- What existing products, sites, or styles should this feel like? What should it NOT feel like?
- What are the hard constraints? (devices, accessibility requirements, performance budgets, brand guidelines)
- What content will this interface contain? What is placeholder vs. real?
4. Once you have a complete understanding, write the brief using the template below.
## File Output
Save the brief to `.design/<feature-slug>/DESIGN_BRIEF.md` where `<feature-slug>` is a short, lowercase, hyphenated name derived from the feature or page being designed (e.g., `onboarding-flow`, `settings-page`, `project-dashboard`).
This folder structure ensures that running the design flow multiple times for different features does not overwrite previous work. All subsequent skills (information-architecture, design-tokens, brief-to-tasks, design-review) will read from and write to this same subfolder.
Example:
```
.design/
├── onboarding-flow/
│ └── DESIGN_BRIEF.md
└── settings-page/
└── DESIGN_BRIEF.md
```
## Brief Template
```markdown
# Design Brief: [Feature/Page Name]
## Problem
What problem is the user facing, described from their perspective. Not technical. Not business metrics. The human friction.
## Solution
What this interface does to solve that problem, described as an experience, not a feature list.
## Experience Principles
Three principles maximum that guide every design decision. Each principle should resolve a tension.
Example: "Progressive disclosure over upfront complexity" or "Confidence over speed."
1. [Principle] -- [What this means in practice]
2. [Principle] -- [What this means in practice]
3. [Principle] -- [What this means in practice]
## Aesthetic Direction
- **Philosophy**: [Named philosophy or described vibe. See /frontend-design skill for reference.]
- **Tone**: [Emotional register]
- **Reference points**: [Existing products, sites, or styles this should feel like]
- **Anti-references**: [What this should NOT feel like]
## Existing Patterns
Components, tokens, and conventions already in the codebase that this design must respect or extend.
- Typography: [what is currently used]
- Colors: [current palette/variables]
- Spacing: [current scale]
- Components: [existing components that will be reused or extended]
## Component Inventory
A list of the UI components this feature requires. For each, note whether it exists already, needs modification, or is new.
| Component | Status | Notes |
| --------- | --------------------- | -------- |
| [name] | Exists / Modify / New | [detail] |
## Key Interactions
The critical interaction patterns. Describe what the user does and what the interface does in response. Focus on state changes, transitions, and feedback.
## Responsive Behavior
How the layout adapts across breakpoints. Note any components that change behavior (not just size) on mobile.
## Accessibility Requirements
Minimum requirements for this interface. Include contrast ratios, keyboard navigation, screen reader considerations, and focus management.
## Out of Scope
Things this brief explicitly does not cover. Be specific. This prevents scope creep during build.
```
© julianoczkowski · Apache-2.0 · julianoczkowski/designer-skills
Похожие скиллы
Всё по теме «Дизайн» →Сначала — design-brief от других авторов.