What problem does it solve?
This Skill helps developers and teams identify and remediate React architecture, state management, and rendering performance problems so applications become faster, more maintainable, and easier to test.
Core Features & Use Cases
- Component Architecture: Guidance on composition, feature folders, custom hooks, and prop boundaries to reduce prop drilling and improve reuse.
- State Management: Recommendations for choosing the right state approach (local, URL, server, shared) with suggested solutions such as React Query, Zustand, Jotai, and Redux Toolkit.
- Performance: Profiling targets and practical fixes including memoization rules, code splitting, virtualization, Suspense, and render diagnostics using React DevTools Profiler.
- Server Components & Concurrency: Best practices for using Server Components, useTransition, and deferred rendering to minimize client JS and improve UX.
- Testing & Audit: Testing pyramid guidance with Playwright, React Testing Library, MSW, accessibility-first queries, and an audit checklist for hooks, bundle size, and type safety.
- Use Case Example: Perform an audit on a Next.js app to reduce unnecessary re-renders, split large route bundles, and add tests for critical interactions.
Quick Start
Ask the agent: /godmode:react audit my React app for performance, state, and testing issues and return prioritized fixes.