/design
Create exceptional, production-ready designs that captivate users and win awards. Research-driven design process studying Dribbble, Behance, and Awwwards winners to deliver immersive, high-fidelity experiences with meticulous attention to detail.
Syntax
/design:good [detailed design brief]
How It Works
The /design:good command follows a comprehensive design process:
1. Research & Inspiration
- Studies award-winning designs on Dribbble, Behance, Awwwards
- Analyzes current design trends and best practices
- Reviews competitor designs in your industry
- Identifies successful patterns and unique opportunities
- Creates mood boards and visual direction
2. Strategic Planning
- Invokes ui-ux-designer agent for deep analysis
- Defines design system (colors, typography, spacing, components)
- Plans information architecture and user flows
- Identifies key micro-interactions and animations
- Establishes accessibility and performance goals
3. Design System Creation
- Develops comprehensive color palette with semantic tokens
- Designs typography system with type scale and hierarchy
- Creates spacing scale for consistent rhythm
- Defines component library with variants and states
- Establishes animation principles and timing
4. High-Fidelity Design
- Creates pixel-perfect layouts with attention to detail
- Implements custom illustrations or graphics
- Designs sophisticated micro-interactions
- Adds meaningful animations that enhance UX
- Ensures brand consistency throughout
5. Responsive & Accessible
- Designs for all breakpoints (mobile, tablet, desktop, ultra-wide)
- Implements WCAG 2.1 AA accessibility standards
- Tests color contrast ratios (4.5 minimum)
- Ensures keyboard navigation and screen reader support
- Adds focus indicators and skip links
6. Motion Design
- Creates purposeful animations (300-500ms for UI)
- Implements smooth transitions and easing curves
- Adds micro-interactions for delight
- Designs loading states and skeleton screens
- Respects prefers-reduced-motion
7. Production Ready
- Generates clean, maintainable code
- Includes comprehensive documentation
- Provides design system documentation
- Adds inline comments for complex logic
- Ensures performance optimization
Examples
Premium SaaS Landing Page
/design:good [SaaS landing page for AI writing assistant - modern, professional, showcasing product capabilities with interactive demo section, social proof, and elegant micro-interactions]
Research Phase:
Inspiration Research:
βββ Analyzed: Linear, Notion, Stripe, Vercel landing pages
βββ Trend: Gradient mesh backgrounds, glass morphism
βββ Pattern: Hero with product preview, feature tabs, pricing comparison
βββ Opportunity: Interactive writing demo with real-time AI suggestions
Mood Board Created:
βββ Colors: Deep purples, bright blues, warm accents
βββ Style: Modern, clean, sophisticated
βββ Typography: Display fonts for headlines, readable sans-serif for body
βββ Imagery: Abstract gradients, subtle 3D elements
Design System:
Color Palette:
βββ Primary:
β βββ 50: #F5F3FF β 900: #4C1D95 (9 shades)
β βββ Main: #7C3AED (violet-600)
βββ Secondary:
β βββ 50: #EFF6FF β 900: #1E3A8A (9 shades)
β βββ Main: #3B82F6 (blue-500)
βββ Accent:
β βββ Warm: #F59E0B (amber-500)
β βββ Cool: #06B6D4 (cyan-500)
βββ Neutrals:
βββ Gray scale: 50 β 900
βββ Semantic: success, error, warning, info
Typography System:
βββ Display: "Cal Sans" (custom, headlines only)
βββ Body: "Inter Variable" (400, 500, 600, 700)
βββ Code: "JetBrains Mono" (code blocks)
βββ Scale:
βββ xs: 12px | sm: 14px | base: 16px
βββ lg: 18px | xl: 20px | 2xl: 24px
βββ 3xl: 30px | 4xl: 36px | 5xl: 48px
βββ 6xl: 60px | 7xl: 72px (display only)
Spacing Scale:
βββ Base unit: 4px
βββ Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96, 128px
βββ Container: 1280px max-width, 32px padding
Animation Principles:
βββ Duration: 200ms (micro) | 300ms (standard) | 500ms (complex)
βββ Easing: cubic-bezier(0.4, 0.0, 0.2, 1) for UI
βββ Purpose: Provide feedback, guide attention, create delight
βββ Respect: prefers-reduced-motion
Implementation:
Generated Components:
β Hero Section
βββ Gradient mesh background (animated)
βββ Headline with gradient text effect
βββ Animated CTA buttons (hover: scale + glow)
βββ Product preview (browser mockup + live demo)
βββ Social proof ticker (auto-scrolling logos)
β Interactive Demo Section
βββ Split view: input textarea | AI output
βββ Real-time typing animation
βββ Suggestion cards with hover effects
βββ "Try it yourself" interactive mode
βββ Smooth transitions between demo states
β Feature Tabs
βββ Tab navigation with animated indicator
βββ Content fade-in with stagger effect
βββ Feature illustrations (custom SVG)
βββ Code examples with syntax highlighting
βββ Scroll-triggered animations
β Social Proof
βββ Testimonial carousel (smooth auto-play)
βββ Customer logos (grayscale β color on hover)
βββ Statistics counter (animated on scroll into view)
βββ Video testimonials (modal overlay)
β Pricing Section
βββ Comparison table with feature highlights
βββ Toggle (monthly/annual) with slider animation
βββ Recommended plan highlight
βββ Tooltip icons for feature explanations
βββ CTA buttons with loading states
β Footer
βββ Multi-column layout with links
βββ Newsletter signup with validation
βββ Social icons with hover animations
βββ Legal links and copyright
Micro-Interactions:
β Button hovers: scale(1.02) + shadow increase
β Card hovers: lift effect + border glow
β Input focus: border color transition + scale
β Scroll progress indicator (top bar)
β Smooth scroll with offset for fixed header
β Toast notifications (slide + fade)
β Loading spinners (pulsing brand logo)
Animations:
β Hero gradient: slow animation (20s loop)
β Text reveal: fade up with stagger (100ms)
β Demo typing: realistic typing speed (60ms/char)
β Feature tabs: slide + fade (300ms)
β Scroll reveals: intersection observer (fade up)
β Pricing toggle: smooth width transition
β Logo ticker: seamless infinite scroll
Performance:
β Lazy loading for images and videos
β Preload critical assets
β Optimize gradient rendering (GPU)
β Debounce scroll animations
β Use will-change for animations
β Code splitting by section
β Total bundle: <150KB gzipped
Accessibility:
β Semantic HTML throughout
β ARIA labels for interactive elements
β Keyboard navigation (Tab, Enter, Esc)
β Focus visible indicators (2px blue outline)
β Color contrast: all text 4.5:1 minimum
β Skip to main content link
β Screen reader announcements
β Captions for video content
β Reduced motion support
Generated Files:
β src/pages/Landing.tsx (main page)
β src/components/Hero.tsx
β src/components/InteractiveDemo.tsx
β src/components/FeatureTabs.tsx
β src/components/SocialProof.tsx
β src/components/PricingTable.tsx
β src/components/Footer.tsx
β src/animations/gradientMesh.ts
β src/animations/scrollReveal.ts
β src/styles/design-system.css
β src/utils/intersectionObserver.ts
β docs/design-system.md
Time: 6-8 hours
Quality: Production-ready, award-worthy
E-commerce Product Page
/design:good [luxury watch product page with 3D viewer, detailed specifications, size comparison tool, and immersive shopping experience]
Implementation Highlights:
Premium Features:
β 3D Product Viewer (Three.js)
βββ 360Β° rotation with momentum
βββ Zoom to see details (2x, 4x)
βββ Material switcher (metal, leather)
βββ Lighting presets (studio, outdoor, dramatic)
βββ AR preview button
β Image Gallery
βββ Main large image (zoom on hover)
βββ Thumbnail carousel (smooth scroll)
βββ Full-screen lightbox (swipe gestures)
βββ Video integration
βββ Lazy loading with blur placeholders
β Product Details
βββ Accordion specifications (smooth expand)
βββ Size comparison tool (interactive overlay)
βββ Material information with tooltips
βββ Care instructions
βββ Warranty details
β Purchase Section
βββ Size selector with stock availability
βββ Quantity selector (+ / - with validation)
βββ Add to cart (with animation feedback)
βββ Add to wishlist (heart animation)
βββ Price display (sale price highlight)
βββ Shipping calculator
β Social Features
βββ Share buttons (copy link, social)
βββ Review section (5-star with filters)
βββ Q&A section
βββ Recently viewed products
Design Excellence:
β Luxury aesthetic (generous whitespace, serif accents)
β Premium photography (high resolution, consistent lighting)
β Smooth animations (buttery 60 FPS)
β Attention to detail (every state designed)
β Mobile-optimized (thumb-friendly zones)
Time: 10-14 hours
Creative Portfolio
/design:good [creative portfolio for photographer with full-screen image galleries, custom cursor, smooth page transitions, and unique navigation]
Creative Implementation:
Unique Features:
β Custom Cursor
βββ Default: small dot + large ring
βββ Hover links: expands with "View" text
βββ Hover images: becomes magnifier icon
βββ Smooth follow (slight delay for effect)
βββ Hide on touch devices
β Page Transitions
βββ Smooth fade + scale effect (500ms)
βββ Loading animation (brand logo)
βββ Route-based transitions
βββ Preload next page content
β Hero Section
βββ Full-screen background video
βββ Parallax text overlay
βββ Scroll indicator (animated)
βββ Signature/logo placement
β Project Gallery
βββ Masonry grid layout (responsive)
βββ Hover: project title + category reveal
βββ Click: expand to full-screen detail
βββ Smooth transitions between views
βββ Keyboard navigation (arrow keys)
β Project Detail Page
βββ Full-screen image viewer
βββ Swipe/arrow navigation
βββ Project information sidebar (slide in/out)
βββ Next project preview (bottom)
βββ Back button with transition
β About Page
βββ Split layout: large portrait | bio
βββ Animated stats counter
βββ Services list with icons
βββ Client logos
βββ Contact CTA
β Contact Page
βββ Full-screen split design
βββ Animated contact form
βββ Alternative contact methods
βββ Social links
βββ Availability calendar widget
Artistic Details:
β Typography: Mix of serif + sans-serif
β Whitespace: Generous, breathing room
β Animations: Subtle, refined, never distracting
β Photography: Hero treatment, full bleed
β Color: Monochrome with accent color
Performance:
β Image optimization (WebP, lazy load)
β Progressive image loading (blur up)
β Route preloading
β Efficient animations (GPU accelerated)
β Fast page transitions
Time: 12-16 hours
When to Use /design
β Use /design for:
- Customer-Facing Products: Landing pages, marketing sites
- Brand-Critical Pages: Homepage, product pages, about pages
- Portfolio/Showcase: Personal brand, creative work
- Premium Products: Luxury brands, high-end services
- Competitive Markets: Stand out with exceptional design
- Award Submissions: Awwwards, CSS Design Awards, FWA
- Long-Term Projects: Worth the investment in quality
- Learning Excellence: Study and apply best practices
β Donβt use /design for:
- Quick Prototypes: Use
/design:fastinstead - Internal Tools: Quality vs. speed tradeoff
- Time Constraints: Requires 6-16 hours minimum
- Low-Traffic Pages: ROI consideration
- Temporary Pages: Not worth the effort
Design Excellence Standards
Visual Hierarchy
Clear hierarchy in every design:
βββ Primary action: most prominent
βββ Secondary actions: visible but secondary
βββ Tertiary: minimal, supportive
βββ Content: F-pattern or Z-pattern reading flow
Micro-Interactions
Every interaction designed:
- Button hover: scale + shadow
- Input focus: border + scale
- Form submit: loading state + success animation
- Error: shake animation + icon
- Success: checkmark animation + confetti (subtle)
Loading States
Never leave users waiting without feedback:
- Skeleton screens (not spinners)
- Progressive image loading
- Optimistic UI updates
- Loading percentage indicators
- Smooth content reveals
Empty States
Beautiful empty states:
- Illustration or icon
- Helpful message
- Primary action (CTA)
- Examples or suggestions
Error States
Friendly error handling:
- Clear error messages
- Suggestions to fix
- Visual indicators
- Retry actions
- Support contact info
Research Sources
Inspiration Platforms
Dribbble (dribbble.com)
- Latest design trends
- UI/UX patterns
- Micro-interactions
- Color schemes
Behance (behance.net)
- Full project case studies
- Design process insights
- Brand guidelines
- Complete design systems
Awwwards (awwwards.com)
- Award-winning websites
- Cutting-edge interactions
- Technical excellence
- Innovation in web design
Mobbin (mobbin.com)
- Mobile app patterns
- User flows
- Screen designs
- iOS/Android patterns
Land-book (land-book.com)
- Landing page inspiration
- Contemporary web design
- Clean, modern aesthetics
Design Systems to Study
Industry Leaders:
- Material Design (Google)
- Human Interface Guidelines (Apple)
- Fluent Design (Microsoft)
- Polaris (Shopify)
- Carbon (IBM)
- Ant Design (Alibaba)
Startups with Great Design:
- Linear (linear.app)
- Stripe (stripe.com)
- Vercel (vercel.com)
- Notion (notion.so)
- Figma (figma.com)
Quality Checklist
Before delivery, verify:
Visual Design
- Pixel-perfect alignment
- Consistent spacing (design system)
- Color harmony and contrast
- Typography hierarchy clear
- High-quality assets
- Brand consistency
Interaction Design
- All states designed (hover, active, disabled, loading, error)
- Smooth transitions (60 FPS)
- Purposeful animations
- Clear feedback on actions
- Intuitive navigation
- Micro-interactions polished
Responsive Design
- Mobile (320px - 767px)
- Tablet (768px - 1023px)
- Desktop (1024px - 1919px)
- Ultra-wide (1920px+)
- Touch-friendly targets
- Readable text sizes
Accessibility
- WCAG 2.1 AA compliant
- Color contrast 4.5 minimum
- Keyboard navigable
- Screen reader friendly
- Focus indicators visible
- Semantic HTML
- ARIA labels where needed
- Skip links present
Performance
- Optimized images
- Lazy loading
- Code splitting
- Fast load time (<3s)
- Smooth animations
- Efficient rendering
Code Quality
- Clean, readable code
- Type safety (TypeScript)
- Commented where needed
- Reusable components
- Design system documented
- No console errors
Best Practices
Provide Detailed Briefs
β Excellent:
/design:good [E-learning platform homepage targeting college students. Modern, friendly aesthetic with purple/blue gradient brand colors. Include: hero with video demo, course categories grid with hover effects, student testimonials carousel, pricing comparison table, and FAQ accordion. Emphasize trust and accessibility. Inspired by: Coursera, Udemy, but more youthful and dynamic.]
β Good:
/design:good [Portfolio site for UI designer showcasing 6 projects. Minimal, elegant design with black/white/accent color. Smooth page transitions, custom cursor, full-screen project images.]
β Too vague:
/design:good [make a nice website]
Include References
/design:good [Dashboard similar to Linear.app but for project management. Include: task kanban board, timeline view, team activity feed. Use their modern aesthetic with shadows and subtle animations.]
Specify Brand Guidelines
/design:good [Corporate website following brand guidelines:
- Colors: Navy #1E3A8A (primary), Orange #F97316 (accent)
- Font: "Proxima Nova" for all text
- Style: Professional, trustworthy, innovative
- Sections: Hero, services, case studies, team, contact]
After Delivery
Documentation Provided
docs/
βββ design-system.md # Complete design system documentation
βββ components.md # Component library reference
βββ animations.md # Animation specifications
βββ accessibility.md # Accessibility compliance notes
Design Tokens
/* Generated design system CSS */
:root {
/* Colors */
--color-primary-50: #F5F3FF;
--color-primary-500: #7C3AED;
--color-primary-900: #4C1D95;
/* Typography */
--font-display: "Cal Sans", sans-serif;
--font-body: "Inter Variable", sans-serif;
--text-xs: 0.75rem;
--text-base: 1rem;
--text-4xl: 2.25rem;
/* Spacing */
--space-1: 0.25rem;
--space-4: 1rem;
--space-8: 2rem;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
/* Animation */
--duration-fast: 200ms;
--duration-base: 300ms;
--ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
}
Troubleshooting
Takes Too Long
Problem: Design process taking longer than expected
Solution:
- Consider
/design:fastfor non-critical pages - Focus quality on high-impact pages only
- Iterate: start fast, upgrade to good later
Need Revisions
Problem: Design doesnβt match vision
Solution:
# Be specific about changes
/design:good [revise hero section - make headline more prominent, reduce CTA button size, use purple gradient instead of blue]
# Provide reference
/design:good [update pricing section to match this style: [reference-image.png]]
Performance Issues
Problem: Animations causing lag
Solution:
/fix:ui [optimize animations - reduce complexity while maintaining smooth feel]
Next Steps
- /design - Quick prototypes first
- /design - Analyze award winners
- /design - Add 3D elements
- /fix - Polish final details
Key Takeaway: /design:good creates exceptional, award-worthy designs by researching best-in-class examples and applying meticulous attention to every detail. Worth the time investment for customer-facing, brand-critical pages. Excellence matters.