What problem does it solve?
This Skill helps teams write, review, and refactor React and Next.js code with performance-oriented best practices so applications render faster, fetch data more efficiently, and avoid common re-render and bundle-size pitfalls.
Core Features & Use Cases
- Render and data-fetch optimization: Reduce waterfalls, parallelize async work, and place Suspense boundaries strategically.
- Bundle and loading optimization: Prefer direct imports, dynamic imports, conditional loading, and deferred third-party scripts to improve startup speed.
- React correctness and responsiveness: Apply memoization, functional state updates, lazy initialization, and stable refs to prevent stale closures and unnecessary renders.
- Use case: A developer can use this Skill to review a Next.js page, identify sequential fetches and heavy imports, and refactor the component tree for better performance without changing user-facing behavior.
Quick Start
Ask for a review of your React or Next.js component and request specific performance improvements, then apply the recommended refactors directly in the codebase.