agentleFS
travisjneumantravisjneuman/.claude/skills/frontend-enhancer/SKILL.md

frontend-enhancer

Skill101 starsChanged 9 months agoMITView on GitHub

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.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Research: - Use ui-research skill first (5-10 examples minimum)

    line 41
  2. Distinctive:

    Anti-AI Check: - Verify no generic AI patterns

    line 46
  3. Distinctive:

    Refine: - Test responsiveness, verify accessibility

    line 47
  4. Distinctive:

    Review: - Check hierarchy, consistency, performance

    line 48
  5. Distinctive:

    When enhancing, document changes:

    line 171
  6. Distinctive:

    Before finalizing, ensure you DON'T have:

    line 182
  7. Distinctive:

    Ensure you DO have:

    line 195

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  • Improving styling and visual design
  • Creating responsive layouts
  • Adding animations and transitions
  • Selecting color schemes
  • Building modern UI patterns
  • Enhancing aesthetics

Don't use when:

  • Need inspiration first → use ui-research first
  • UX flow design → use generic-ux-designer
  • Code architecture → use generic-feature-developer
  • Code review → use generic-code-reviewer

Foundational References:

  • UI Inspiration Sources - Research sources
  • Design Patterns - Visual tokens

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

PaletteUse Case
Corporate BlueBusiness apps, SaaS
Vibrant PurpleCreative tools, portfolios
Minimalist GrayClean, sophisticated
Warm SunsetConsumer apps, e-commerce
Ocean FreshHealth, finance apps
Dark ModeDeveloper tools, dashboards

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

Component Patterns

Buttons

  • Variants: primary, secondary, outline, ghost, danger
  • Sizes: sm, md, lg
  • States: loading, disabled

Cards

  • Variants: default, bordered, elevated, interactive
  • Subcomponents: Header, Title, Description, Content, Footer

Forms

  • Clear focus states
  • Validation feedback
  • Helper text
  • Required indicators

Animation Guidelines

GPU-Accelerated Only:

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

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

Duration Guidelines:

  • Micro-interactions: 100-200ms
  • Transitions: 200-300ms
  • Complex animations: 300-500ms

Accessibility:

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

Responsive Strategy

BreakpointMin WidthTarget
base0Mobile
sm640pxLarge phones
md768pxTablets
lg1024pxLaptops
xl1280pxDesktops

Accessibility Checklist

  • Color contrast >= 4.5:1 (WCAG AA)
  • Keyboard accessible
  • Visible focus indicators
  • Semantic HTML
  • Alt text on images
  • Form labels
  • Respects prefers-reduced-motion
  • Touch targets >= 44x44px

Layout Patterns

Hero Section

  • Centered, split, or minimal variants
  • Primary + secondary CTAs
  • Optional background gradients

Feature Grid

  • 2, 3, or 4 columns
  • Icon + title + description
  • Staggered animations
  • Hover effects

Performance

  • Bundle size awareness
  • Lazy load heavy components
  • Optimize images (WebP, responsive)
  • 60fps animations

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:

  • Default blue/purple gradients
  • Perfectly symmetrical layouts
  • Generic blob/wave decorations
  • Undraw-style stock illustrations
  • "Hero with laptop mockup" cliché
  • Unchanged default color schemes
  • Cookie-cutter card grids
  • Overused glassmorphism/blur

Human Touch Checklist

Ensure you DO have:

  • Custom color palette (not defaults)
  • Intentional layout asymmetry
  • Unique typography pairing
  • Real/custom imagery
  • Micro-interactions with personality
  • Brand-specific details
  • Thoughtful empty/loading states
  • Copy with character

Quality Comparison

AspectGeneric AIHuman-Polished
ColorDefault blueCustom brand palette
LayoutPerfect gridIntentional variation
ImagesStock/genericCurated/custom
CopyLorem ipsumReal, personality-rich
MotionBasic fadesPurposeful, branded
DetailsNoneHover states, feedback

See Also

  • UI Inspiration Sources - Research sources (USE FIRST)
  • Design Patterns - Visual design reference
  • UX Principles - User experience
  • ui-research - Research step to run first for new design directions
  • Project CLAUDE.md - Design constraints

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.