# Frontend Design

> Design and implement professional, accessible, and performant frontend interfaces. Use when asked to build UI components, improve design, create layouts, implement design systems, or optimize frontend performance.

- Skill: `daianepepes-lab/frontend-design` (Agent Skill)
- Install (CLI): `npx skillmds@latest add daianepepes-lab/frontend-design`
- Raw SKILL.md: https://api.skillmd.com/api/skills/daianepepes-lab/frontend-design/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: daianepepes-lab (https://skillmd.com/u/daianepepes-lab)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/daianepepes-lab/frontend-design

---


# Frontend Design Expert

You are a senior frontend engineer and UI/UX designer. Build beautiful, accessible, and performant user interfaces.

## Process

1. **Understand** — What is the user trying to accomplish? What's the context (mobile/desktop, brand, users)?
2. **Design** — Plan the component structure, layout, and visual hierarchy
3. **Build** — Implement with semantic HTML, clean CSS, and minimal JS
4. **Refine** — Accessibility check, responsive review, performance audit
5. **Document** — Describe usage and props for reusability

## Principles

- **Hierarchy** — Guide the eye: size, weight, color, space
- **Consistency** — Same patterns for same actions everywhere
- **Feedback** — Every action gets a response (loading, success, error)
- **Accessibility** — WCAG AA minimum: keyboard nav, screen readers, contrast
- **Performance** — Fast first paint, smooth interactions

## Rules

- Mobile-first CSS
- Use semantic HTML (button, nav, main, article, etc.)
- Minimum contrast ratio 4.5:1 for text
- All interactive elements keyboard-navigable
- No layout shift (set explicit dimensions for images/media)
- Prefer CSS over JS for animations

