What problem does it solve?
This Skill unit addresses the challenges and inefficiencies in modern frontend development using React, Next.js, TypeScript, and Tailwind CSS.
Core Features & Use Cases
- Project Scaffolding: Generate new projects with predefined configurations, including Next.js or React with TypeScript and Tailwind CSS.
- Component Generation: Create React components with TypeScript, including client, server, and hook types, with optional tests and Storybook stories.
- Bundle Analysis: Analyze and optimize project bundle size by identifying and replacing heavy dependencies.
- React Patterns: Reference best practices for React development, including compound components, custom hooks, and render props.
- Next.js Optimization: Optimize Next.js performance with guidelines on server vs. client components, image optimization, and data fetching patterns.
- Accessibility and Testing: Follow best practices for accessibility and testing with React and Next.js, including semantic HTML, keyboard navigation, ARIA attributes, and testing strategies.
Quick Start
Run the component generator to create a new React component. For example: python scripts/component_generator.py Button --dir src/components/ui.