What problem does it solve? When starting new React/Next.js frontend work, developers often make structural mistakes — misplaced state, useEffect-based data fetching, broken focus management, hydration mismatches, and generic AI-looking UI — that are expensive to fix later. This Skill provides forward-looking authoring guidance so components, animations, accessibility patterns, and Vite configuration are built correctly the first time. ## Core Features & Use Cases - Component and State Design: A state-location decision ladder (local state, lifting, Context, external stores, server-state libraries) plus composition patterns like slots, compound components, and custom hook design. - Interaction and Motion Craft: Focus trapping and restoration for modals, keyboard handling for composite widgets, and a full motion system for motion/react covering tokens, springs, AnimatePresence modes, reduced-motion gating, and SSR/hydration safety. - Accessibility Authoring: Concrete React patterns for labels, error announcements, ARIA attributes, and images that pass WCAG review on the first attempt. - Build Tooling and UI Libraries: Vite configuration guidance (plugins, HMR, proxying, library mode, monorepo setup) and HeroUI setup and theming, plus design-direction and AI-slop detection checklists. - Use Case: When starting a new modal component, you get coordinated guidance on its enter/exit animation, focus trap, Escape handling, ARIA attributes, and reduced-motion fallback in one pass. ## Quick Start Ask how to structure a new React component, where a piece of state should live, or how to set up Vite for a new project, and load the matching reference guidance for that task.