Skip to main content
skill CX Codex

web-design-expert — Claude Code skill: what it does, how to install

Builds web layouts, visual brand identity, and OKLCH color palettes. Works when structuring page hierarchy and responsive designs before coding.

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

What web-design-expert does

The skill guides design discovery by analyzing business targets, competitors, and brand personality. It generates two or three distinct concepts complete with mood boards, layout rules, and component specifications. For live inspiration and UI generation, it connects to 21st.dev tools through MCP.

Color palettes rely strictly on the OKLCH standard. Hex and HSL values are banned by design because OKLCH provides perceptual uniformity and precise WCAG contrast calculations. Text contrast must hit at least a 4.5:1 ratio.

The prompt avoids outdated patterns like hero carousels or desktop hamburger menus. It is also limited to web layouts. Detailed font decisions belong in typography-expert, design tokens require design-system-creator, and mobile platforms require native-app-designer.

What it helps with

  • structure brand identity concepts and mood boards for web pages
  • generate accessible color palettes strictly in OKLCH format
  • lay out responsive page grids with above-the-fold callouts
  • search UI patterns and construct React components via 21st.dev MCP

Example prompts for the agent

  • Design a visual concept for a SaaS landing page with an OKLCH palette and three mood boards
  • Create a responsive hero section layout without carousels, keeping the primary action above the fold

How to install web-design-expert

1Skills CLI (Vercel)

npx skills add curiositech/some_claude_skills --skill web-design-expert -a claude-code

2Manually: put the files in place

~/.claude/skills/web-design-expert/SKILL.md

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

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about web-design-expert

How to install web-design-expert in Claude Code?

Run npx skills add curiositech/some_claude_skills --skill web-design-expert -a claude-code. The skill will install into ~/.claude/skills/web-design-expert/SKILL.md.

What does web-design-expert do?

It generates web layouts, brand visual guides, and responsive UI specs while integrating 21st.dev MCP tools for component prototyping.

Why does this skill require OKLCH instead of Hex or HSL?

OKLCH guarantees perceptual uniformity across shades and ensures reliable WCAG contrast calculations for accessible text.

Source text

SKILL.md · MIT
---
name: web-design-expert
description: Creates unique web designs with brand identity, color palettes, typography, and modern UI/UX patterns. Use for brand identity development, visual design systems, layout composition, and responsive
  web design. Activate on "web design", "brand identity", "color palette", "UI design", "visual design", "layout". NOT for typography details (use typography-expert), color theory deep-dives (use color-theory-expert),
  design system tokens (use design-system-creator), or code implementation without design direction.
allowed-tools: Read,Write,Edit,WebFetch,mcp__magic__21st_magic_component_builder,mcp__magic__21st_magic_component_inspiration,mcp__magic__21st_magic_component_refiner,mcp__magic__logo_search
metadata:
  category: Design & Creative
  pairs-with:
  - skill: typography-expert
    reason: Typography for web designs
  - skill: color-theory-palette-harmony-expert
    reason: Color palettes for web
  tags:
  - web
  - brand
  - ui-ux
  - layout
  - visual-design
---

# Web Design Expert

Expert web designer and brand identity specialist creating distinctive, cohesive visual systems for web applications.

## When to Use This Skill

**Use for:**
- Brand identity development (personality, visual language, guidelines)
- Color palette creation and rationale
- Layout composition and visual hierarchy
- Component visual design (not just code)
- Responsive design strategy
- WCAG accessibility review for visual elements

**Do NOT use for:**
- Deep typography work → use **typography-expert**
- Color theory mathematics → use **color-theory-palette-harmony-expert**
- Design tokens and CSS architecture → use **design-system-creator**
- Retro Windows 3.1 → use **windows-3-1-web-designer**
- Native app design → use **native-app-designer**

## Core Design Process

### 1. Discovery (Critical First Step)

```
BUSINESS CONTEXT:
- What is the primary goal?
- Who is the target audience?
- What action should users take?
- Who are competitors?

BRAND PERSONALITY:
- If this brand were a person, how would they dress?
- Pick 3 adjectives for user's feeling
- What should brand NEVER be perceived as?
```

### 2. Visual Direction (Provide 2-3 Concepts)

Each concept includes:
- **Mood board** (3-5 references with rationale)
- **Color palette** (primary, secondary, accent, neutrals) — **Always in OKLCH format**
- **Typography direction** (families, hierarchy)
- **Layout philosophy** (grid vs freeform, density)
- **Signature elements** (unique visual features)

## OKLCH: The Modern Color Standard

**⚠️ All color palettes must use OKLCH, not hex or HSL.**

OKLCH is the 2024+ standard for professional web design because:
- **Perceptual uniformity**: Equal L values = equal perceived lightness
- **Better accessibility**: More accurate contrast calculations than WCAG 2.x hex
- **Predictable scaling**: Math works (L=50% + 20% = L=70% that looks right)

```css
/* OKLCH format: oklch(Lightness% Chroma Hue) */
--brand-primary: oklch(55% 0.22 265);    /* Vibrant blue */
--brand-accent: oklch(75% 0.18 45);      /* Warm orange */
--text-primary: oklch(20% 0.02 265);     /* Near-black */
--bg-surface: oklch(98% 0.01 265);       /* Near-white */
```

**Essential OKLCH Resources:**
| Resource | Purpose |
|----------|---------|
| [oklch.com](https://oklch.com/) | Interactive OKLCH color picker |
| [Evil Martians: Why Quit RGB/HSL](https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl) | The definitive article |
| [Harmonizer](https://harmonizer.evilmartians.com/) | Generate harmonious OKLCH palettes |

**When presenting color palettes:**
```
Primary: oklch(55% 0.22 265) — Vibrant blue, strong CTA presence
Secondary: oklch(70% 0.08 265) — Muted blue, supporting elements
Accent: oklch(75% 0.18 45) — Warm orange, attention-grabbing
```

Never present palettes as `#3b82f6` — always convert to OKLCH.

### 3. Design Principles

**Hierarchy**: Most important element immediately obvious? Eye flows naturally?

**Consistency**: Same colors mean same things? Spacing follows scale?

## Common Anti-Patterns

### Design by Committee
| What it looks like | Why it's wrong |
|--------------------|----------------|
| Multiple visual styles on same page | Destroys brand coherence |
| **Instead**: Establish principles early, enforce consistency |

### Decoration Over Function
| What it looks like | Why it's wrong |
|--------------------|----------------|
| Fancy animations without purpose | Slows performance, distracts |
| **Instead**: Every element must earn its place |

### Ignoring the Fold
| What it looks like | Why it's wrong |
|--------------------|----------------|
| Critical info below viewport | 80% attention is above fold |
| **Instead**: Hero must have value prop + primary CTA |

### Low Contrast Text
| What it looks like | Why it's wrong |
|--------------------|----------------|
| Light gray on white (#999 on #fff) | Fails WCAG, excludes users |
| **Instead**: Minimum 4.5:1 contrast ratio |

### Mobile as Afterthought
| What it looks like | Why it's wrong |
|--------------------|----------------|
| Desktop-first that "shrinks" | 60%+ traffic is mobile |
| **Instead**: Design mobile-first, enhance for desktop |

## Design Trend Evolution

| Era | Trend |
|-----|-------|
| 2019-2021 | Subtle shadows, layering, dark mode |
| 2022-2023 | Oversized typography, variable fonts |
| 2024+ | Bento grids, claymorphism, grain, AI personalization |

**Watch For** (dated patterns LLMs may suggest):
- Flat design without depth
- Hero sliders (proven ineffective)
- Carousel galleries (low engagement)
- Desktop hamburger menus

## Output Deliverables

1. **Brand Identity Guide**: Colors, typography, voice, do's/don'ts
2. **Design Specifications**: Spacing, radius, shadows, animation timing
3. **Component Examples**: Buttons, forms, cards, navigation (all states)
4. **Responsive Guidelines**: Breakpoints, layout changes, touch targets

## MCP Tools

| Tool | Purpose |
|------|---------|
| `21st_magic_component_inspiration` | Search UI patterns for inspiration |
| `21st_magic_component_builder` | Generate React/Tailwind components |
| `21st_magic_component_refiner` | Improve existing component UI |
| `logo_search` | Get company logos in JSX/TSX/SVG |

## Integration with Other Skills

- **typography-expert** - Deep typography decisions
- **color-theory-palette-harmony-expert** - Color mathematics
- **design-system-creator** - Token architecture
- **vibe-matcher** - Translating feelings to visuals
- **design-archivist** - Competitive research

## Reference Files

| File | Contents |
|------|----------|
| `references/layout-systems.md` | Grid systems, spacing scales, responsive breakpoints |
| `references/color-accessibility.md` | Palettes, psychology, dark mode, WCAG compliance |
| `references/tooling-integration.md` | 21st.dev, Figma MCP, component workflows |

---

*The best design is invisible until you notice its excellence.*

© curiositech · MIT · curiositech/some_claude_skills

Similar skills

Everything for Design →

From the same set23

photo-composition-critic A skill that critiques photographs: composition, colour harmony and aesthetic scoring, with concrete fixes. Useful when you need a read on an image, not a retouch. CX Codex +1 643installs pwa-expert Turns a web app into an installable, offline-capable PWA: manifest, Service Worker, caching strategies and a custom install prompt. CX Codex +1 544installs metal-shader-expert Gives your agent Metal shader expertise for Apple GPUs: MSL, PBR, tile-based deferred rendering, ray tracing. Useful when graphics performance on Apple Silicon becomes the bottleneck. CX Codex +1 512installs mobile-ux-optimizer Optimizes web interfaces for touchscreens, fixes dynamic viewport issues with dvh, and aligns touch targets with mobile platform guidelines. CX Codex +1 498installs color-theory-palette-harmony-expert A skill for building color palettes and photo sequences: perceptual LAB and OKLCH spaces, earth-mover distance, warm and cool alternation. CX Codex +1 430installs typography-expert Curates typeface pairings, fluid clamp scales, and variable font axes while retiring overused defaults like Inter, Roboto, and Montserrat. CX Codex +1 413installs ai-video-production-master A skill that runs the whole script-to-video pipeline on Apple Silicon Macs: stock footage, T2V and I2V generation, cloud GPU batching. Useful when you need a finished clip, not a single frame. CX Codex +1 398installs indie-monetization-strategist Guides indie developers and solo founders through choosing monetization models, freemium tiers, and sponsorship rates. Useful when turning a side project into a business. CX Codex +1 387installs

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