Frontend enhancer

From travisjneuman/.claude · View interactive version

Frontend enhancer is an AI agent skill from the GitHub repository travisjneuman/.claude. Enhance the visual design of web apps: modern UI components, layout, responsive design, color palettes, animations. Use for styling and UI polish; pair with ui-research first for new design directions.

How to use this skill

Skill file

Frontend Enhancer

Transform web applications into visually polished, human-designed experiences.

Prerequisite: Research First

For a new design direction, run ui-research first so choices come from real reference products rather than default styles; the specific defaults to avoid are under "Avoiding the AI Look". See UI Inspiration Sources.


When to Use

Use for:

Don't use when:

Foundational References:

Research-Driven Enhancement Workflow

  1. Research - Use ui-research skill first (5-10 examples minimum)
  2. Assess - Identify current gaps against research findings
  3. Plan - Define direction based on inspiration analysis
  4. Foundation - Set up colors, spacing, animations in theme
  5. Apply - Implement with human polish (not defaults)
  6. Anti-AI Check - Verify no generic AI patterns
  7. Refine - Test responsiveness, verify accessibility
  8. Review - Check hierarchy, consistency, performance

Color Palette Selection

| Palette | Use Case |

| --------------- | --------------------------- |

| Corporate Blue | Business apps, SaaS |

| Vibrant Purple | Creative tools, portfolios |

| Minimalist Gray | Clean, sophisticated |

| Warm Sunset | Consumer apps, e-commerce |

| Ocean Fresh | Health, finance apps |

| Dark Mode | Developer tools, dashboards |

Each palette needs: Primary, Secondary, Accent, Background, Foreground, Muted, Success, Warning, Error

Component Patterns

Buttons

Cards

Forms

Animation Guidelines

GPU-Accelerated Only:

/* ✅ DO animate */
transform: translateY(-4px);
opacity: 0.8;

/* ❌ AVOID */
margin-top: -4px;
height: 100px;

Duration Guidelines:

Accessibility:

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

Responsive Strategy

| Breakpoint | Min Width | Target |

| ---------- | --------- | ------------ |

| base | 0 | Mobile |

| sm | 640px | Large phones |

| md | 768px | Tablets |

| lg | 1024px | Laptops |

| xl | 1280px | Desktops |

Accessibility Checklist

Layout Patterns

Hero Section

Feature Grid

Performance

cn Utility Setup

// lib/utils.ts
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

Before/After Pattern

When enhancing, document changes:

Before: Plain gray button, no hover state
After: Gradient primary button with hover lift effect

Avoiding the AI Look

Red Flags to Check

Before finalizing, ensure you DON'T have:

Human Touch Checklist

Ensure you DO have:

Quality Comparison

| Aspect | Generic AI | Human-Polished |

| ----------- | ------------- | ---------------------- |

| Color | Default blue | Custom brand palette |

| Layout | Perfect grid | Intentional variation |

| Images | Stock/generic | Curated/custom |

| Copy | Lorem ipsum | Real, personality-rich |

| Motion | Basic fades | Purposeful, branded |

| Details | None | Hover states, feedback |


See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.