What problem does it solve?
This Skill solves the problem of inconsistent, slow, and complex frontend development by providing a standardized, high-performance approach for React/TypeScript applications. It reduces development time, improves code quality, and ensures a consistent user experience by automating the application of best practices.
Core Features & Use Cases
- Suspense-based Data Fetching: Automates loading states and simplifies data management with
useSuspenseQuery and TanStack Query, eliminating manual isLoading checks.
- Modern Component Patterns: Guides on lazy loading, proper file organization (Feature-Sliced Design), and performance optimization using
useMemo, useCallback, and React.memo.
- Integrated Tooling: Provides best practices for MUI v7 styling, TanStack Router, React Hook Form with Zod validation, and strict TypeScript standards.
- Use Case: When starting a new React feature or component, activate this Skill to automatically apply the correct file structure, implement Suspense for data fetching, ensure lazy loading, and adhere to styling and routing conventions, saving hours of setup and review.
Quick Start
To create a new React component, follow the "New Component Checklist" in the frontend-dev-guidelines skill.
For example, to create a lazy-loaded component with data fetching:
1. Define props interface with JSDoc.
2. Use useSuspenseQuery for data fetching.
3. Wrap the component in <SuspenseLoader>.
4. Export the component with React.lazy for code splitting.