/amplify:frontend-tastefrom amplify
Generates high-end, production-quality React and Next.js UI components and full pages using Tailwind CSS and Framer Motion with premium design principles. Use for building visually polished frontend UI.
Ships in amplify. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The standard baseline for all generations is strictly (8, 6, 4). Do not prompt the user to edit this file. Always adapt these values dynamically based on what the user explicitly requests in chat. Map user intent as follows: "simple", "clean", or "minimal" → lower MOTION_INTENSITY to 2–3 and DESIGN_VARIANCE to 3–4; "dashboard" or "data-heavy" → raise VISUAL_DENSITY to 7–8; "landing page" or "marketing" → keep defaults. Use the active values as global variables driving the specific logic in Sections 3 through 7.
Unless the user explicitly specifies a different stack, adhere to these structural constraints to maintain consistency:
framer-motion, lucide-react, zustand), read package.json if it exists in the repository.
npm install framer-motion) before providing the code.package.json is not accessible (pure chat request, greenfield scaffold, or no files provided): assume a minimal Next.js + Tailwind setup, declare all required dependencies at the top of the response as installation commands, then provide the code. Never silently assume a library exists.package.json. If next is present, use Next.js and default to Server Components (RSC). If only react is present, use React with a standard client-side setup. If neither is detectable, default to Next.js App Router with RSC.
"use client" component.'use client' at the very top. Server Components must exclusively render static layouts.useState/useReducer for isolated UI. Use global state strictly for deep prop-drilling avoidance.package.json first. Do not use v4 syntax in v3 projects. If the version cannot be determined (no package.json accessible), default to v3-compatible syntax and note the assumption in the response.tailwindcss plugin in postcss.config.js. Use @tailwindcss/postcss or the Vite plugin.sm, md, lg, xl).max-w-[1400px] mx-auto or max-w-7xl.h-screen for full-height Hero sections. ALWAYS use min-h-[100dvh] to prevent catastrophic layout jumping on mobile browsers (iOS Safari).w-[calc(33%-1rem)]). ALWAYS use CSS Grid (grid grid-cols-1 md:grid-cols-3 gap-6) for reliable structures.@phosphor-icons/react or @radix-ui/react-icons as the import paths (check installed version). Standardize strokeWidth globally (e.g., exclusively use 1.5 or 2.0).LLMs have statistical biases toward specific UI cliché patterns. Proactively construct premium interfaces using these engineered rules:
Rule 1: Deterministic Typography
text-4xl md:text-6xl tracking-tighter leading-none.
Inter for "Premium" or "Creative" vibes. Force unique character using Geist, Outfit, Cabinet Grotesk, or Satoshi.Geist + Geist Mono or Satoshi + JetBrains Mono).text-base text-gray-600 leading-relaxed max-w-[65ch].Rule 2: Color Calibration
Rule 3: Layout Diversification
DESIGN_VARIANCE > 4. Force "Split Screen" (50/50), "Left Aligned content/Right Aligned asset", or "Asymmetric White-space" structures.scale-105 or extended padding.Rule 4: Materiality, Shadows, and "Anti-Card Overuse"
VISUAL_DENSITY > 7, generic card containers are strictly BANNED. Use logic-grouping via border-t, divide-y, or purely negative space. Data metrics should breathe without being boxed in unless elevation (z-index) is functionally required.Rule 5: Interactive UI States
:active, use -translate-y-[1px] or scale-[0.98] to simulate a physical push indicating success/action.Rule 6: Data & Form Patterns
gap-2 for input blocks.To actively combat generic AI designs, systematically implement these high-end coding concepts as your baseline:
backdrop-blur. Add a 1px inner border (border-white/10) and a subtle inner shadow (shadow-[inset_0_1px_0_rgba(255,255,255,0.1)]) to simulate physical edge refraction.useState for magnetic hover or continuous animations. Use EXCLUSIVELY Framer Motion's useMotionValue and useTransform outside the React render cycle to prevent performance collapse on mobile.MOTION_INTENSITY > 5, embed continuous, infinite micro-animations (Pulse, Typewriter, Float, Shimmer, Carousel) in standard components (avatars, status dots, backgrounds). Apply premium Spring Physics (type: "spring", stiffness: 100, damping: 20) to all interactive elements—no linear easing.layout and layoutId props for smooth re-ordering, resizing, and shared element transitions across state changes.staggerChildren (Framer) or CSS cascade (animation-delay: calc(var(--index) * 100ms)) to create sequential waterfall reveals. CRITICAL: For staggerChildren, the Parent (variants) and Children MUST reside in the identical Client Component tree. If data is fetched asynchronously, pass the data as props into a centralized Parent Motion wrapper.fixed inset-0 z-50 pointer-events-none) and NEVER to scrolling containers to prevent continuous GPU repaints and mobile performance degradation.top, left, width, or height. Animate exclusively via transform and opacity.z-50 or z-10 unprompted. Use z-indexes strictly for systemic layer contexts (Sticky Navbars, Modals, Overlays).justify-center, strict 12-column symmetrical grids, equal paddings.margin-top: -2rem overlapping, varied image aspect ratios (e.g., 4:3 next to 16:9), left-aligned headers over center-aligned data.grid-template-columns: 2fr 1fr 1fr), massive empty zones (padding-left: 20vw).md: MUST aggressively fall back to a strict, single-column layout (w-full, px-4, py-8) on viewports < 768px to prevent horizontal scrolling and layout breakage.:hover and :active states only.transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1). Use animation-delay cascades for load-ins. Focus strictly on transform and opacity. Use will-change: transform sparingly.window.addEventListener('scroll').font-mono) for all numbers.To guarantee a premium, non-generic output, you MUST strictly avoid these common AI design signatures unless explicitly requested:
box-shadow glows or auto-glows. Use inner borders or subtle tinted shadows.#000000. Use Off-Black, Zinc-950, or Charcoal.Geist, Outfit, Cabinet Grotesk, or Satoshi.99.99%, 50%, or basic phone numbers (1234567). Use organic, messy data (47.2%, +1 (312) 847-1928).https://picsum.photos/seed/{random_string}/800/600 or SVG UI Avatars.shadcn/ui may be used, but never in its generic default state. Customize the radii, colors, and shadows to match the high-end project aesthetic.Do not default to generic UI. Pull from this library of advanced concepts to ensure the output is visually striking and memorable.
Animation library selection:
useScroll/useTransform — reach for GSAP only if the sequence complexity exceeds what Framer Motion handles cleanly. Always wrap GSAP and ThreeJS in useEffect with strict cleanup blocks.Apply this section when generating SaaS dashboards, marketing feature sections, or any bento-style grid layout. Skip this section for single-component requests (buttons, forms, navigation) or simple informational pages (pricing, about, contact).
This goes beyond static cards and enforces a "Vercel-core meets Dribbble-clean" aesthetic heavily reliant on perpetual physics.
#f9fafb. Cards are pure white (#ffffff) with a 1px border of border-slate-200/50.rounded-[2.5rem] for all major containers. Apply a "diffusion shadow" (a very light, wide-spreading shadow, e.g., shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)]) to create depth without clutter.Geist, Satoshi, or Cabinet Grotesk font stack. Use subtle tracking (tracking-tight) for headers.p-8 or p-10 padding inside cards.All cards must contain "Perpetual Micro-Interactions." Use the following Framer Motion principles:
type: "spring", stiffness: 100, damping: 20 for a premium, weighty feel.layout and layoutId props to ensure smooth re-ordering, resizing, and shared element state transitions.<AnimatePresence> and optimize for 60fps. PERFORMANCE CRITICAL: Any perpetual motion or infinite loop MUST be memoized (React.memo) and completely isolated in its own microscopic Client Component. Never trigger re-renders in the parent layout.Implement these specific micro-animations when constructing Bento grids (e.g., Row 1: 3 cols | Row 2: 2 cols split 70/30):
layoutId, simulating an AI prioritizing tasks in real-time.x: ["0%", "-100%"]) with a speed that feels effortless.Evaluate code against this list before outputting. This is the last filter applied to the output.
w-full, px-4, max-w-7xl mx-auto) is guaranteed for DESIGN_VARIANCE > 4.min-h-[100dvh], not h-screen.useEffect animation blocks contain cleanup functions.React.memo.package.json was not read).What SKILL.md sets; muted values are Claude Code's defaults
28 skills in this plugin
/ask-questions-if-underspecifiedPauses to ask focused clarifying questions when a request lacks enough information to execute correctly. Use when the task is vague, has multiple plausible interpretations, is missing acceptance criteria, or when wrong assumptions would produce significant wasted work. Don't use when the request is already well-specified, when requirements were clarified earlier in the same conversation, when the task is trivially unambiguous (e.g., fix a specific typo), or when general clarification techniques are being discussed rather than applied to a specific task./browse-siteNavigates and interacts with websites using the agent-browser CLI, including clicking elements, filling forms, taking screenshots, extracting page content, and automating multi-step browser workflows. Use when the user asks to open a URL, click something on a page, fill out a web form, take a page screenshot, scrape or extract data from a website, or automate a browser task. Don't use for Playwright, Puppeteer, or Selenium scripts; don't use for browser extension development; don't use for questions about browser APIs, JavaScript, or frontend code that don't require live browser interaction.
/code-simplifierRefines existing code for clarity, readability, and maintainability without changing behavior, interfaces, or outputs. Use when asked to "simplify", "clean up", "refactor for readability", "reduce complexity", or polish code without adding features. Don't use when the request involves changing behavior, adding functionality, migrating to a new pattern or library, renaming public APIs, or any structural change that alters interfaces or outputs.Generated from the plugin's indexed repository (wunki/amplify) — no native marketplace selected
npx claudepluginhub p/wunki-amplifyOther plugins' skills for the same job