design-brief · julianoczkowski — Claude Code skill: write a design brief first
Interviews you about a feature, scans the codebase, and saves a design brief as markdown. Useful before you start building a page.
npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-codeWhat design-brief does
The skill runs a structured conversation. It asks what you want to build, who it is for, and what constraints already exist. Then it walks the repo looking for what the design should build on: CSS variables and tokens, Tailwind config, UI framework themes, component directories, Storybook, font loading, and existing pages. When components are already there, the brief extends them instead of replacing them.
Next comes a round of questions about the primary user and their job to be done, what success looks like, emotional tone, reference points and anti-references, plus hard constraints around devices and accessibility. Every question comes with a recommended answer, so you are not staring at a blank field. Steps can be skipped when they do not apply.
Output lands in .design/<feature-slug>/DESIGN_BRIEF.md, with the slug lowercase and hyphenated, like onboarding-flow. Each feature gets its own subfolder, so running the flow again does not overwrite earlier work. The template covers problem, solution, experience principles, aesthetic direction, existing patterns, a component inventory, key interactions, responsive behavior, accessibility requirements, and an explicit out-of-scope section. Other skills in the set read and write to that same folder, so renaming the structure will break them.
What it helps with
- lock down decisions about a feature before writing code
- find out which tokens and components the project already has
- settle the tone of an interface and what it should not resemble
- spell out what this iteration leaves out
- produce input for the token and task skills that follow
Example prompts for the agent
- 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
How to install design-brief
1Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-code2Manually: put the files in place
~/.claude/skills/design-brief/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/design-brief/
1Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a codex2Manually: put the files in place
.agents/skills/design-brief/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a cursor2Manually: put the files in place
.cursor/skills/design-brief/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install julianoczkowski/designer-skills design-brief2Manually: put the files in place
.github/skills/design-brief/SKILL.md1Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a gemini-cli2Platform CLI
gemini skills install https://github.com/julianoczkowski/designer-skills --path design-briefManually: put the files in place
.devin/skills/design-brief/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add julianoczkowski/designer-skills --skill design-brief -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about design-brief
How do I install design-brief in Claude?
Run npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-code. The skill file then sits at ~/.claude/skills/design-brief/SKILL.md.
What does design-brief do?
It asks about the feature and its audience, inspects the codebase for tokens and components, then writes a design brief to a markdown file inside the project.
Where is the brief saved, and what happens on a second run?
DESIGN_BRIEF.md goes into .design/<feature-slug>/, where the slug is a short hyphenated feature name. Every feature gets its own subfolder, so previous briefs stay intact.
Source text
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
Similar skills
Everything for Design →design-brief by other authors comes first.