Ultimate Frontend Design
Overview
Create distinctive, production-ready frontend interfaces that avoid generic AI aesthetics. This skill provides comprehensive guidance, templates, and resources for building gorgeous web experiences using modern technologies (React, Tailwind CSS, shadcn/ui, Framer Motion, p5.js).
When to Use This Skill
Invoke this skill when:
- Building landing pages, marketing sites, or portfolios
- Creating web applications or dashboards
- Implementing animations or interactive elements
- Applying professional design themes
- Need component patterns and best practices
- Want to avoid generic, AI-looking designs
Core Capabilities
1. Design Excellence
Follow anti-generic-AI design principles to create original, distinctive interfaces:
Read references/design-principles.md for:
- Anti-generic-AI aesthetics (what to avoid)
- Production-ready standards (accessibility, performance, responsive design)
- Design systems approach (color, typography, spacing, components)
- Contemporary trends (2024-2025)
- Unique design inspiration and differentiation strategies
Key Principles:
- Avoid gradient overload, geometric blobs, and generic SaaS layouts
- Use consistent spacing scales and typographic hierarchy
- Ensure WCAG AA accessibility (4.5:1 contrast minimum)
- Implement mobile-first responsive design
- Create originality through custom illustrations, unexpected colors, and asymmetric layouts
2. Modern Component Patterns
Build with React, Tailwind CSS, and shadcn/ui following industry best practices:
Read references/component-patterns.md for:
- Project structure recommendations
- shadcn/ui component installation and usage patterns
- Layout patterns (hero sections, bento grids, navigation)
- State management patterns (useState, React Query, Zustand)
- Animation patterns (Framer Motion, Tailwind animations)
- Performance optimization (code splitting, image optimization)
- Dark mode implementation
Common Patterns:
// Button with variants
<Button variant="outline" size="lg">Click me</Button>
// Card structure
<Card>
<CardHeader>
<CardTitle>Title</CardTitle>
</CardHeader>
<CardContent>Content</CardContent>
</Card>
// Form with validation
import { useForm } from "react-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
3. Animations & Interactions
Create smooth, performant animations that delight users:
Read references/animation-guide.md for:
- CSS animations and transitions
- Tailwind CSS animation utilities
- Framer Motion patterns (variants, gestures, scroll-triggered)
- p5.js for generative/algorithmic art
- Micro-interactions (button ripples, loading skeletons, toasts)
- Performance best practices
Performance Rule: Only animate transform, opacity, and sparingly filter for 60fps.
4. Professional Themes
Apply one of 10 pre-built professional color themes:
Read references/theme-library.md for:
- 10 complete color themes with CSS variables
- Typography scales (modern sans, elegant serif, tech monospace)
- Theme application methods (CSS variables, Tailwind config)
- Dark mode variants
Available Themes:
- Ocean Depth - Professional blue tones
- Forest Twilight - Natural greens
- Sunset Blaze - Warm oranges and reds
- Midnight Purple - Bold purples
- Minimal Mono - Clean black/white
- Pastel Dream - Soft, airy colors
- Corporate Blue - Traditional business
- Earthy Terracotta - Warm browns
- Neon Cyber - Futuristic brights
- Vintage Sepia - Classic sepia tones
5. Template Library
Start projects quickly with pre-built templates:
Available in assets/templates/:
landing-page/ - SaaS landing page (HTML + Tailwind)
react-dashboard/ - Admin dashboard (React + shadcn/ui)
portfolio/ - Portfolio site (HTML + Tailwind)
react-app-shell/ - Full React app boilerplate
Use the setup script:
python3 scripts/setup-project.py \
--template landing-page \
--theme ocean-depth \
--output ./my-project
Workflow Decision Tree
Starting a New Project
1. Determine Project Type:
- Simple landing page or portfolio? → Use HTML templates
- Complex web application? → Use React templates
- Generative art or animations? → Use p5.js patterns
2. Choose Template (if applicable):
- Run
scripts/setup-project.py with desired template and theme
- Customize the generated files
3. Apply Design Principles:
- Read
references/design-principles.md
- Choose color theme from
references/theme-library.md
- Ensure accessibility and responsive design
4. Implement Components:
- Read
references/component-patterns.md for patterns
- Use shadcn/ui components for React projects
- Follow layout patterns (hero, bento grid, etc.)
5. Add Animations:
- Read
references/animation-guide.md
- Implement micro-interactions
- Ensure performance (transform/opacity only)
Enhancing Existing Projects
1. Improve Design Quality:
- Review against anti-generic-AI principles in
references/design-principles.md
- Check for generic patterns (gradient overload, blobs, etc.)
- Improve typography hierarchy and spacing consistency
2. Apply Theme:
- Choose theme from
references/theme-library.md
- Update CSS variables or Tailwind config
- Ensure consistent color usage
3. Add Components:
- Review
references/component-patterns.md
- Install shadcn/ui components as needed
- Follow established patterns
4. Enhance Animations:
- Review
references/animation-guide.md
- Add micro-interactions for better UX
- Optimize for 60fps performance
Implementation Guidelines
For Landing Pages
- Start with hero section (clear value proposition, 2 CTAs)
- Features section (3 columns, icons, concise descriptions)
- Social proof (testimonials or logos)
- Pricing (3-tier structure)
- FAQ section (details/summary elements)
- Footer (links, copyright)
Template: Use assets/templates/landing-page/
For Web Applications
- Set up React + TypeScript + Vite + Tailwind
- Install shadcn/ui components (
npx shadcn-ui@latest add)
- Implement routing (React Router)
- Add state management (Zustand for global, React Query for server)
- Create layout (header, sidebar, main content)
- Build feature components following patterns
- Add dark mode support
Template: Use assets/templates/react-app-shell/
For Dashboards
- Sidebar navigation with sections
- Data tables with sorting/filtering
- Charts and visualizations (Chart.js)
- Form components with validation
- Modal dialogs for actions
- Responsive layout (collapsible sidebar on mobile)
Template: Use assets/templates/react-dashboard/
For Animations
CSS Animations:
- Simple transitions: Use Tailwind utilities (
transition, hover:scale-105)
- Keyframe animations: Define in CSS, apply with
animate-* classes
Framer Motion:
- Install:
npm install framer-motion
- Use variants for reusable animation sets
- Implement stagger children for list animations
- Add scroll-triggered animations with
useScroll
p5.js (Generative Art):
- Use seeded randomness for reproducibility
- Implement particle systems for organic movement
- Create flow fields for natural patterns
- Export as canvas or save frames
Best Practices
Design
- Avoid generic AI patterns (see
references/design-principles.md)
- Use consistent spacing scale (4, 8, 16, 24, 32, 48, 64px)
- Ensure WCAG AA contrast ratios (4.5:1 minimum)
- Test on multiple devices and screen sizes
Code
- Follow semantic HTML structure
- Use Tailwind CSS for styling (avoid custom CSS unless necessary)
- Implement proper TypeScript types for React components
- Use React Hook Form + Zod for form validation
- Code split large components with React.lazy()
Performance
- Optimize images (WebP, lazy loading, responsive srcset)
- Only animate transform/opacity for 60fps
- Minimize JavaScript bundle size
- Use server-side rendering or static generation when possible
- Implement proper loading states
Accessibility
- Use semantic HTML elements
- Add ARIA labels where needed
- Ensure keyboard navigation works
- Test with screen readers
- Respect prefers-reduced-motion
Resources
scripts/
setup-project.py - Initialize projects with templates and themes
references/
design-principles.md - Comprehensive design guidance and anti-patterns
component-patterns.md - React/Tailwind/shadcn/ui patterns and examples
animation-guide.md - CSS, Framer Motion, and p5.js animation techniques
theme-library.md - 10 pre-built color themes and typography scales
assets/
templates/landing-page/ - HTML + Tailwind landing page
templates/react-dashboard/ - React dashboard with charts
templates/portfolio/ - Personal portfolio site
templates/react-app-shell/ - Full React app boilerplate
Quick Start Examples
Example 1: Create a Landing Page
# Initialize with template and theme
python3 scripts/setup-project.py \
--template landing-page \
--theme midnight-purple \
--output ./my-landing-page
# Open and customize
cd my-landing-page
open index.html
Example 2: Build a React Dashboard
- Read
references/component-patterns.md for setup
- Copy
assets/templates/react-dashboard/ as starting point
- Install dependencies:
npm install
- Add shadcn/ui components:
npx shadcn-ui@latest add button card
- Read
references/design-principles.md for design guidance
- Apply theme from
references/theme-library.md
Example 3: Add Animations
- Read
references/animation-guide.md
- For simple animations: Use Tailwind (
transition, hover:scale-105)
- For complex animations: Install Framer Motion, use variants pattern
- For generative art: Implement p5.js particle system or flow field
Tips for Success
- Start with Design Principles - Read
references/design-principles.md first to avoid generic patterns
- Use Templates - Don't start from scratch, customize existing templates
- Follow Patterns - Reference
references/component-patterns.md for proven solutions
- Choose Theme Early - Apply a theme from
references/theme-library.md at project start
- Test Across Devices - Ensure responsive design works on mobile, tablet, desktop
- Prioritize Performance - Follow animation best practices (transform/opacity only)
- Accessibility Matters - Check contrast, keyboard nav, and screen reader support
1---2name: ultimate-frontend3description: Create production-ready, gorgeous frontend interfaces with expert design guidance, modern component patterns, animations, and extensive templates. Combines design principles, component libraries (React/shadcn/ui/Tailwind), animation techniques (CSS/Framer Motion/p5.js), and 10 pre-built themes. Use this skill when building landing pages, web applications, dashboards, or any frontend project requiring high design quality and modern best practices.4---5
6# Ultimate Frontend Design
7
8## Overview
9
10Create distinctive, production-ready frontend interfaces that avoid generic AI aesthetics. This skill provides comprehensive guidance, templates, and resources for building gorgeous web experiences using modern technologies (React, Tailwind CSS, shadcn/ui, Framer Motion, p5.js).
11
12## When to Use This Skill
13
14Invoke this skill when:
15- Building landing pages, marketing sites, or portfolios
16- Creating web applications or dashboards
17- Implementing animations or interactive elements
18- Applying professional design themes
19- Need component patterns and best practices
20- Want to avoid generic, AI-looking designs
21
22## Core Capabilities
23
24### 1. Design Excellence
25
26Follow anti-generic-AI design principles to create original, distinctive interfaces:
27
28**Read `references/design-principles.md` for:**
29- Anti-generic-AI aesthetics (what to avoid)
30- Production-ready standards (accessibility, performance, responsive design)
31- Design systems approach (color, typography, spacing, components)
32- Contemporary trends (2024-2025)
33- Unique design inspiration and differentiation strategies
34
35**Key Principles:**
36- Avoid gradient overload, geometric blobs, and generic SaaS layouts
37- Use consistent spacing scales and typographic hierarchy
38- Ensure WCAG AA accessibility (4.5:1 contrast minimum)
39- Implement mobile-first responsive design
40- Create originality through custom illustrations, unexpected colors, and asymmetric layouts
41
42### 2. Modern Component Patterns
43
44Build with React, Tailwind CSS, and shadcn/ui following industry best practices:
45
46**Read `references/component-patterns.md` for:**
47- Project structure recommendations
48- shadcn/ui component installation and usage patterns
49- Layout patterns (hero sections, bento grids, navigation)
50- State management patterns (useState, React Query, Zustand)
51- Animation patterns (Framer Motion, Tailwind animations)
52- Performance optimization (code splitting, image optimization)
53- Dark mode implementation
54
55**Common Patterns:**
56```tsx
57// Button with variants
58<Button variant="outline" size="lg">Click me</Button>
59
60// Card structure
61<Card>
62 <CardHeader>
63 <CardTitle>Title</CardTitle>
64 </CardHeader>
65 <CardContent>Content</CardContent>
66</Card>
67
68// Form with validation
69import { useForm } from "react-hook-form"
70import { zodResolver } from "@hookform/resolvers/zod"
71```
72
73### 3. Animations & Interactions
74
75Create smooth, performant animations that delight users:
76
77**Read `references/animation-guide.md` for:**
78- CSS animations and transitions
79- Tailwind CSS animation utilities
80- Framer Motion patterns (variants, gestures, scroll-triggered)
81- p5.js for generative/algorithmic art
82- Micro-interactions (button ripples, loading skeletons, toasts)
83- Performance best practices
84
85**Performance Rule:** Only animate `transform`, `opacity`, and sparingly `filter` for 60fps.
86
87### 4. Professional Themes
88
89Apply one of 10 pre-built professional color themes:
90
91**Read `references/theme-library.md` for:**
92- 10 complete color themes with CSS variables
93- Typography scales (modern sans, elegant serif, tech monospace)
94- Theme application methods (CSS variables, Tailwind config)
95- Dark mode variants
96
97**Available Themes:**
981. Ocean Depth - Professional blue tones
992. Forest Twilight - Natural greens
1003. Sunset Blaze - Warm oranges and reds
1014. Midnight Purple - Bold purples
1025. Minimal Mono - Clean black/white
1036. Pastel Dream - Soft, airy colors
1047. Corporate Blue - Traditional business
1058. Earthy Terracotta - Warm browns
1069. Neon Cyber - Futuristic brights
10710. Vintage Sepia - Classic sepia tones
108
109### 5. Template Library
110
111Start projects quickly with pre-built templates:
112
113**Available in `assets/templates/`:**
114- `landing-page/` - SaaS landing page (HTML + Tailwind)
115- `react-dashboard/` - Admin dashboard (React + shadcn/ui)
116- `portfolio/` - Portfolio site (HTML + Tailwind)
117- `react-app-shell/` - Full React app boilerplate
118
119**Use the setup script:**
120```bash
121python3 scripts/setup-project.py \
122 --template landing-page \
123 --theme ocean-depth \
124 --output ./my-project
125```
126
127## Workflow Decision Tree
128
129### Starting a New Project
130
131**1. Determine Project Type:**
132- Simple landing page or portfolio? → Use HTML templates
133- Complex web application? → Use React templates
134- Generative art or animations? → Use p5.js patterns
135
136**2. Choose Template (if applicable):**
137- Run `scripts/setup-project.py` with desired template and theme
138- Customize the generated files
139
140**3. Apply Design Principles:**
141- Read `references/design-principles.md`
142- Choose color theme from `references/theme-library.md`
143- Ensure accessibility and responsive design
144
145**4. Implement Components:**
146- Read `references/component-patterns.md` for patterns
147- Use shadcn/ui components for React projects
148- Follow layout patterns (hero, bento grid, etc.)
149
150**5. Add Animations:**
151- Read `references/animation-guide.md`
152- Implement micro-interactions
153- Ensure performance (transform/opacity only)
154
155### Enhancing Existing Projects
156
157**1. Improve Design Quality:**
158- Review against anti-generic-AI principles in `references/design-principles.md`
159- Check for generic patterns (gradient overload, blobs, etc.)
160- Improve typography hierarchy and spacing consistency
161
162**2. Apply Theme:**
163- Choose theme from `references/theme-library.md`
164- Update CSS variables or Tailwind config
165- Ensure consistent color usage
166
167**3. Add Components:**
168- Review `references/component-patterns.md`
169- Install shadcn/ui components as needed
170- Follow established patterns
171
172**4. Enhance Animations:**
173- Review `references/animation-guide.md`
174- Add micro-interactions for better UX
175- Optimize for 60fps performance
176
177## Implementation Guidelines
178
179### For Landing Pages
180
1811. Start with hero section (clear value proposition, 2 CTAs)
1822. Features section (3 columns, icons, concise descriptions)
1833. Social proof (testimonials or logos)
1844. Pricing (3-tier structure)
1855. FAQ section (details/summary elements)
1866. Footer (links, copyright)
187
188**Template:** Use `assets/templates/landing-page/`
189
190### For Web Applications
191
1921. Set up React + TypeScript + Vite + Tailwind
1932. Install shadcn/ui components (`npx shadcn-ui@latest add`)
1943. Implement routing (React Router)
1954. Add state management (Zustand for global, React Query for server)
1965. Create layout (header, sidebar, main content)
1976. Build feature components following patterns
1987. Add dark mode support
199
200**Template:** Use `assets/templates/react-app-shell/`
201
202### For Dashboards
203
2041. Sidebar navigation with sections
2052. Data tables with sorting/filtering
2063. Charts and visualizations (Chart.js)
2074. Form components with validation
2085. Modal dialogs for actions
2096. Responsive layout (collapsible sidebar on mobile)
210
211**Template:** Use `assets/templates/react-dashboard/`
212
213### For Animations
214
215**CSS Animations:**
216- Simple transitions: Use Tailwind utilities (`transition`, `hover:scale-105`)
217- Keyframe animations: Define in CSS, apply with `animate-*` classes
218
219**Framer Motion:**
220- Install: `npm install framer-motion`
221- Use variants for reusable animation sets
222- Implement stagger children for list animations
223- Add scroll-triggered animations with `useScroll`
224
225**p5.js (Generative Art):**
226- Use seeded randomness for reproducibility
227- Implement particle systems for organic movement
228- Create flow fields for natural patterns
229- Export as canvas or save frames
230
231## Best Practices
232
233### Design
234- Avoid generic AI patterns (see `references/design-principles.md`)
235- Use consistent spacing scale (4, 8, 16, 24, 32, 48, 64px)
236- Ensure WCAG AA contrast ratios (4.5:1 minimum)
237- Test on multiple devices and screen sizes
238
239### Code
240- Follow semantic HTML structure
241- Use Tailwind CSS for styling (avoid custom CSS unless necessary)
242- Implement proper TypeScript types for React components
243- Use React Hook Form + Zod for form validation
244- Code split large components with React.lazy()
245
246### Performance
247- Optimize images (WebP, lazy loading, responsive srcset)
248- Only animate transform/opacity for 60fps
249- Minimize JavaScript bundle size
250- Use server-side rendering or static generation when possible
251- Implement proper loading states
252
253### Accessibility
254- Use semantic HTML elements
255- Add ARIA labels where needed
256- Ensure keyboard navigation works
257- Test with screen readers
258- Respect prefers-reduced-motion
259
260## Resources
261
262### scripts/
263- `setup-project.py` - Initialize projects with templates and themes
264
265### references/
266- `design-principles.md` - Comprehensive design guidance and anti-patterns
267- `component-patterns.md` - React/Tailwind/shadcn/ui patterns and examples
268- `animation-guide.md` - CSS, Framer Motion, and p5.js animation techniques
269- `theme-library.md` - 10 pre-built color themes and typography scales
270
271### assets/
272- `templates/landing-page/` - HTML + Tailwind landing page
273- `templates/react-dashboard/` - React dashboard with charts
274- `templates/portfolio/` - Personal portfolio site
275- `templates/react-app-shell/` - Full React app boilerplate
276
277## Quick Start Examples
278
279### Example 1: Create a Landing Page
280```bash
281# Initialize with template and theme
282python3 scripts/setup-project.py \
283 --template landing-page \
284 --theme midnight-purple \
285 --output ./my-landing-page
286
287# Open and customize
288cd my-landing-page
289open index.html
290```
291
292### Example 2: Build a React Dashboard
2931. Read `references/component-patterns.md` for setup
2942. Copy `assets/templates/react-dashboard/` as starting point
2953. Install dependencies: `npm install`
2964. Add shadcn/ui components: `npx shadcn-ui@latest add button card`
2975. Read `references/design-principles.md` for design guidance
2986. Apply theme from `references/theme-library.md`
299
300### Example 3: Add Animations
3011. Read `references/animation-guide.md`
3022. For simple animations: Use Tailwind (`transition`, `hover:scale-105`)
3033. For complex animations: Install Framer Motion, use variants pattern
3044. For generative art: Implement p5.js particle system or flow field
305
306## Tips for Success
307
3081. **Start with Design Principles** - Read `references/design-principles.md` first to avoid generic patterns
3092. **Use Templates** - Don't start from scratch, customize existing templates
3103. **Follow Patterns** - Reference `references/component-patterns.md` for proven solutions
3114. **Choose Theme Early** - Apply a theme from `references/theme-library.md` at project start
3125. **Test Across Devices** - Ensure responsive design works on mobile, tablet, desktop
3136. **Prioritize Performance** - Follow animation best practices (transform/opacity only)
3147. **Accessibility Matters** - Check contrast, keyboard nav, and screen reader support