What problem does it solve?
This Skill helps you design and implement maintainable React and Next.js frontend code by providing proven patterns for components, hooks, state, performance, forms, accessibility, and animations.
Core Features & Use Cases
- Component Design: Build composable UI structures with patterns like composition, compound components, and render props.
- State and Data Flow: Organize local and shared state with hooks, context, reducers, and query-style fetching patterns.
- Performance and UX: Improve responsiveness with memoization, lazy loading, virtualization, and polished interactions.
- Accessibility and Reliability: Add keyboard navigation, focus management, error boundaries, and validation-oriented form handling.
- Use Case: A product team can use this Skill to refactor a complex dashboard into reusable components, faster-loading views, and accessible interactions.
Quick Start
Use the frontend-patterns skill to review a React or Next.js feature and suggest the best patterns for state, performance, accessibility, and component structure.