This skill should be used when enhancing the visual design and aesthetics of Next.js web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. Use this skill for tasks like improving styling, creating responsive designs, implementing modern UI patterns, adding animations, selecting color schemes, or building aesthetically pleasing frontend interfaces.
npx skills add https://github.com/ailabs-393/ai-labs-claude-skills --skill frontend-enhancer
The Frontend Enhancer skill transforms Next.js applications into visually stunning, modern web experiences. It provides production-ready components, comprehensive design guidelines, curated color palettes, smooth animations, and flexible layout templates optimized for responsiveness and accessibility.
Invoke this skill when:
Use pre-built, production-ready React components with multiple variants and states:
Button Component (assets/button-variants.tsx):
Card Component (assets/card-variants.tsx):
Input Components (assets/input-variants.tsx):
Implementation workflow:
assets/ to your project's components directorycn utility function exists (see assets/utils-cn.ts)Use pre-designed, responsive layout patterns for common page sections:
Hero Section (assets/layout-hero-section.tsx):
Feature Grid (assets/layout-feature-grid.tsx):
Implementation workflow:
assets/ to your components directoryReference comprehensive design principles for consistent, professional interfaces:
Design Principles (references/design_principles.md):
When to reference:
How to use:
Read references/design_principles.md to understand best practices, then apply them to your specific design challenges. The document covers both theory and practical implementation.
Access professionally curated color schemes optimized for modern web applications:
Available Palettes (references/color_palettes.md):
Each palette includes:
Implementation options:
tailwind.config.js (examples provided)Selection workflow:
references/color_palettes.md to see all available palettesAdd smooth, professional animations using pre-built CSS classes and keyframes:
Animation Library (assets/animations.css):
Accessibility:
All animations respect prefers-reduced-motion for accessibility compliance.
Implementation workflow:
assets/animations.css to your global CSS file (or create a separate animations file)animate-fade-in-up, hover-lift, etc.Best practices:
prefers-reduced-motion enabledFollow this systematic approach when enhancing a frontend application:
references/color_palettes.mdreferences/design_principles.mdcn utility function (assets/utils-cn.ts)assets/animations.css) to global stylesassets/prefers-reduced-motionMost components require the cn utility function for class name merging. To set it up:
assets/utils-cn.ts to your project's lib/utils.ts npm install clsx tailwind-merge
import { cn } from '@/lib/utils';
All components and layouts follow a mobile-first approach:
Test each breakpoint to ensure proper layout and readability.
Ensure all enhanced interfaces meet these standards:
To adapt components and templates to your brand:
rounded-lg to rounded-xl)shadow-md to shadow-lg)This skill includes:
color_palettes.md - Six professionally designed color schemes with implementation examplesdesign_principles.md - Comprehensive design guidelines covering visual hierarchy, typography, accessibility, and common patternsbutton-variants.tsx - Modern button component with 5 variants and 3 sizescard-variants.tsx - Flexible card component with subcomponentsinput-variants.tsx - Input and textarea components with validation stateslayout-hero-section.tsx - Hero section with 3 layout variantslayout-feature-grid.tsx - Responsive feature grid with configurable columnsanimations.css - Complete animation library with accessibility supportutils-cn.ts - Utility function for class name mergingToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Take ailabs-393/frontend-enhancer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.