Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add julianoczkowski/designer-skills --skill design-brief -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/design-brief/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/design-brief/

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.

design-brief nexu-io Parses an I-Lang design brief into a concrete spec with palette, typography, density, and constraints. Eliminates ambiguity from phrases like "make it professional." CX Codex +1 3,400installs design-brief Owl-Listener Drafts a project brief covering problem space, audience, constraints, and success criteria. Built for kicking off a specific task or feature. CX Codex +1 2,100installs frontend-design cline The skill makes the agent pick a bold visual direction before writing code, then hold it through every detail. Useful when a generated interface should not look generated. CX Codex +1 7,300installs ui-design frappe A skill that gives the agent design rules for layout, type, color and spacing. Useful when no product design-system skill exists. CX Codex +1 832installs design-with-taste cristicretu A skill that gives the agent a design philosophy: gradual revelation, fluid transitions and selective emphasis. Useful when generated UI keeps looking generic. CX Codex +1 758installs awesome-design-md wearescientist Picks a matching DESIGN.md style from a bundled library and applies it to frontend work: layout, color, type, spacing. CX Codex +1 666installs avoid-ai-design ungspirit A skill that audits frontend code for the patterns that make a UI look AI-generated, then rewrites it around one deliberate design direction. Useful when a Claude or Codex build looks like everyone else's. CX Codex +1 641installs hallmark Nutlope A design skill for AI coding that keeps generated UIs from looking generated. Useful when you ask an agent to build a new page or site. CX Codex +1 70,800installs

From the same set8

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor