Skip to main content
skill CX Codex

frontend-design · jdrhyne — Claude Code skill: what it does, how to install

frontend-design — a skill that sets the order of UI work: wireframe, theme, animation, then code. Useful for landing pages, dashboards and single components.

MIT ★ 239 updated 2026-08-30

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

What frontend-design does

The skill is a SKILL.md file that fixes the order of UI work. A layout comes first, drawn as an ASCII wireframe with header, hero, feature cards and footer. Theme follows: colours, fonts, spacing, shadows. Animation gets planned before any code, with timings written out.

Colours go through oklch() and semantic variables such as --primary and --muted, and both light and dark mode are decided up front. Three ready-made themes come with it: a dark Vercel/Linear look, neo-brutalism with square corners and a hard shadow, and glassmorphism built on backdrop-filter. Fonts are listed by Google Fonts name.

One rule is absolute: the stock Bootstrap blue #007bff is banned as dated. A project already built on that palette will get repainted. The rest covers Tailwind from a CDN, Lucide icons, mobile-first breakpoints, semantic HTML and a 4.5:1 contrast check.

What it helps with

  • sketch a landing page layout before writing markup
  • pick an oklch() palette instead of default bootstrap blue
  • choose a Google Fonts pairing for body text and code
  • set hover and entry animation timings up front
  • check contrast and semantic HTML before shipping UI

Example prompts for the agent

  • Use the frontend-design skill: sketch the dashboard layout in ASCII, define the theme, then write the Tailwind code.
  • Rebuild these product cards in the neo-brutalism theme from frontend-design.
  • Add hover and press micro-interactions with the timings the frontend-design skill lists, and check the text contrast.

How to install frontend-design

1Skills CLI (Vercel)

npx skills add jdrhyne/agent-skills --skill frontend-design -a claude-code

2Manually: put the files in place

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

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

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

Questions about frontend-design

How to install frontend-design in Claude Code?

Run npx skills add jdrhyne/agent-skills --skill frontend-design -a claude-code. The skill lands at ~/.claude/skills/frontend-design/SKILL.md.

What does frontend-design do?

It fixes the sequence for UI work: ASCII wireframe, theme, animation, implementation. Each step comes with concrete rules for colour, fonts, spacing and accessibility.

Which themes and fonts does the skill include?

Three themes: a dark Vercel/Linear style, neo-brutalism, and glassmorphism. Fonts are picked from a Google Fonts list, for instance Inter, Outfit and DM Sans for text, JetBrains Mono and Fira Code for code.

Source text

SKILL.md · MIT
---
name: frontend-design
description: Expert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
metadata: {"openclaw":{"emoji":"🎨"}}
---

# Frontend Design Skill

Use this skill when creating UI components, landing pages, dashboards, or any frontend design work.

## Design Workflow

Follow this structured approach for UI design:

1. **Layout Design** — Think through component structure, create ASCII wireframes
2. **Theme Design** — Define colors, fonts, spacing, shadows
3. **Animation Design** — Plan micro-interactions and transitions
4. **Implementation** — Generate the actual code

### 1. Layout Design

Before coding, sketch the layout in ASCII format:

```
┌─────────────────────────────────────┐
│         HEADER / NAV BAR            │
├─────────────────────────────────────┤
│                                     │
│            HERO SECTION             │
│         (Title + CTA)               │
│                                     │
├─────────────────────────────────────┤
│   FEATURE   │  FEATURE  │  FEATURE  │
│     CARD    │   CARD    │   CARD    │
├─────────────────────────────────────┤
│            FOOTER                   │
└─────────────────────────────────────┘
```

### 2. Theme Guidelines

**Color Rules:**
- NEVER use generic bootstrap-style blue (#007bff) — it looks dated
- Prefer oklch() for modern color definitions
- Use semantic color variables (--primary, --secondary, --muted, etc.)
- Consider both light and dark mode from the start

**Font Selection (Google Fonts):**
```
Sans-serif: Inter, Roboto, Poppins, Montserrat, Outfit, Plus Jakarta Sans, DM Sans, Space Grotesk
Monospace: JetBrains Mono, Fira Code, Source Code Pro, IBM Plex Mono, Space Mono, Geist Mono
Serif: Merriweather, Playfair Display, Lora, Source Serif Pro, Libre Baskerville
Display: Architects Daughter, Oxanium
```

**Spacing & Shadows:**
- Use consistent spacing scale (0.25rem base)
- Shadows should be subtle — avoid heavy drop shadows
- Consider using oklch() for shadow colors too

### 3. Theme Patterns

**Modern Dark Mode (Vercel/Linear style):**
```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0 0);
  --primary: oklch(0.205 0 0);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.970 0 0);
  --muted: oklch(0.970 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --border: oklch(0.922 0 0);
  --radius: 0.625rem;
  --font-sans: Inter, system-ui, sans-serif;
}
```

**Neo-Brutalism (90s web revival):**
```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0 0 0);
  --primary: oklch(0.649 0.237 26.97);
  --secondary: oklch(0.968 0.211 109.77);
  --accent: oklch(0.564 0.241 260.82);
  --border: oklch(0 0 0);
  --radius: 0px;
  --shadow: 4px 4px 0px 0px hsl(0 0% 0%);
  --font-sans: DM Sans, sans-serif;
  --font-mono: Space Mono, monospace;
}
```

**Glassmorphism:**
```css
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}
```

### 4. Animation Guidelines

**Micro-syntax for planning:**
```
button: 150ms [S1→0.95→1] press
hover: 200ms [Y0→-2, shadow↗]
fadeIn: 400ms ease-out [Y+20→0, α0→1]
slideIn: 350ms ease-out [X-100→0, α0→1]
bounce: 600ms [S0.95→1.05→1]
```

**Common patterns:**
- Entry animations: 300-500ms, ease-out
- Hover states: 150-200ms
- Button press: 100-150ms
- Page transitions: 300-400ms

### 5. Implementation Rules

**Tailwind CSS:**
```html
<!-- Import via CDN for prototypes -->
<script src="https://cdn.tailwindcss.com"></script>
```

**Flowbite (component library):**
```html
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/flowbite.min.js"></script>
```

**Icons (Lucide):**
```html
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
<script>lucide.createIcons();</script>
```

**Images:**
- Use real placeholder services: Unsplash, placehold.co
- Never make up image URLs
- Example: `https://images.unsplash.com/photo-xxx?w=800&h=600`

### 6. Responsive Design

Always design mobile-first and responsive:

```css
/* Mobile first */
.container { padding: 1rem; }

/* Tablet */
@media (min-width: 768px) {
  .container { padding: 2rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .container { max-width: 1200px; margin: 0 auto; }
}
```

### 7. Accessibility

- Use semantic HTML (header, main, nav, section, article)
- Include proper heading hierarchy (h1 → h2 → h3)
- Add aria-labels to interactive elements
- Ensure sufficient color contrast (4.5:1 minimum)
- Support keyboard navigation

### 8. Component Design Tips

**Cards:**
- Subtle shadows, not heavy drop shadows
- Consistent padding (p-4 to p-6)
- Hover state: slight lift + shadow increase

**Buttons:**
- Clear visual hierarchy (primary, secondary, ghost)
- Adequate touch targets (min 44x44px)
- Loading and disabled states

**Forms:**
- Clear labels above inputs
- Visible focus states
- Inline validation feedback
- Adequate spacing between fields

**Navigation:**
- Sticky header for long pages
- Clear active state indication
- Mobile-friendly hamburger menu

---

## Quick Reference

| Element | Recommendation |
|---------|---------------|
| Primary font | Inter, Outfit, DM Sans |
| Code font | JetBrains Mono, Fira Code |
| Border radius | 0.5rem - 1rem (modern), 0 (brutalist) |
| Shadow | Subtle, 1-2 layers max |
| Spacing | 4px base unit (0.25rem) |
| Animation | 150-400ms, ease-out |
| Colors | oklch() for modern, avoid generic blue |

---

*Based on SuperDesign patterns — https://superdesign.dev*

© jdrhyne · MIT · jdrhyne/agent-skills

Similar skills

All skills for Frontend and UI →

frontend-design by other authors comes first.

frontend-design official anthropics The frontend-design skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. CX Codex +1 1,025,790installs frontend-design cline The frontend-design 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 9,000installs frontend-design sickn33 frontend-design teaches the agent to create memorable interfaces instead of generic layouts: picks an aesthetic direction, checks accessibility, writes clean code. CX Codex +1 2,700installs frontend-design julianoczkowski frontend-design generates production-grade UI based on established design philosophies. It checks existing tokens and components before writing any new code. CX Codex +1 5,700installs frontend-design Ilm-Alan frontend-design — a Claude Code skill that holds a visual direction for frontends through palette, typography, structure, and texture. It runs when you build or restyle an interface and need a specific style, not a vague sense of polish. CX Codex +1 647installs frontend-enhancer travisjneuman frontend-enhancer polishes the visual side of a web app: palette, layout, motion, component states. Useful when the UI still reads as a stock starter. CX Codex +1 145installs Frontend Responsive Design Standards am-will Frontend Responsive Design Standards — a skill that gives your coding agent rules for mobile-first layouts: breakpoints, relative units, touch targets and content priority. CX Codex +1 1,200installs frontend-tailwind-best-practices sergiodxa frontend-tailwind-best-practices is a Claude Code skill with 10 Tailwind CSS rules for component styling, covering stack utilities, gap spacing, dark color schemes, and className merging. CX Codex +1 470installs designing-frontend-interfaces osmontero The designing-frontend-interfaces skill makes the agent write a design brief and lock a token block before touching component code. Useful when your UI looks like default AI output. CX Codex +1 783installs frontend-crafting sentimony The frontend-crafting skill classifies interface intent before code changes and guides building, redesigning, or reviewing React, Vue, and HTML interfaces. CX Codex +1 3,400installs design-systems-frontend-architecture hueyexe design-systems-frontend-architecture turns UI, UX and brand decisions into reusable components, tokens and layout rules your agent can act on. CX Codex +1 730installs

From the same set27

The whole set →
gsc gsc enables read-only Google Search Console analysis in Claude Code across properties, search metrics, URL inspection, and sitemaps. CX Codex +1 ★ 239repo stars senior-engineering senior-engineering is a Claude Code skill for non-trivial tasks: it defines done first, then keeps the project runnable and checks a gate list before reporting completion. CX Codex +1 ★ 239repo stars ga4 Queries Google Analytics 4 reporting data and property metadata through the GA4 Data API directly from your workspace. CX Codex +1 ★ 239repo stars todo-tracker todo-tracker is a Claude Code skill that tracks workspace tasks in a local Markdown file with stable IDs for adding, listing, completing, removing, and summarizing tasks. CX Codex +1 ★ 239repo stars nudocs Connects your agent to Nudocs.ai to upload files, generate collaborative editing links, and pull edited documents back to disk. CX Codex +1 ★ 239repo stars jira This skill searches and reads Jira work, prepares drafts, and makes approved changes. It activates for explicit Jira or Atlassian context, a Jira URL, or an issue key such as PROJ-123. CX Codex +1 ★ 239repo stars gallery-scraper gallery-scraper — a Claude skill that collects full-size image URLs from a gallery behind a login and downloads them in bulk through an attached browser tab. CX Codex +1 ★ 239repo stars gong Fetches call records, transcript snippets, and team stats via Gong API. Useful when inspecting customer conversations and sales activity directly in chat. CX Codex +1 ★ 239repo stars

Project sponsors

Companies that keep this analytics open