nextjs-react-expert

Optimize Next.js 16+ app performance by eliminating waterfalls and shrinking bundles.

7|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/skeletorflet/opencode-kit --skill nextjs-react-expert-skeletorflet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-react-expert
Source: https://github.com/skeletorflet/opencode-kit/tree/main/.opencode/skills/nextjs-react-expert
Command: npx skills add https://github.com/skeletorflet/opencode-kit --skill nextjs-react-expert-skeletorflet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Next.js and React performance optimization to eliminate waterfalls, shrink bundles, and improve SSR/CSR efficiency.

Core Features & Use Cases

  • Guidance for identifying and addressing performance hotspots across Next.js apps.
  • Techniques including parallel data fetching, dynamic imports, memoization, and client/server optimizations.
  • Real-world scenarios like large bundles, slow SSR, or data-heavy pages.

Quick Start

Audit a Next.js page for waterfalls and apply parallelization and dynamic import strategies to reduce initial load times.

Frequently Asked Questions about nextjs-react-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I eliminate data fetching waterfalls in Next.js server components?

Eliminate Next.js data fetching waterfalls by replacing sequential awaits with Promise.all for parallel data fetching. This allows server components to resolve multiple asynchronous operations concurrently, significantly reducing server-side rendering wait times.

What is the best way to shrink bundle size and optimize code-splitting in React?

Shrink React bundle size by applying dynamic imports to lazily load non-critical components. This code-splitting technique divides your application into smaller chunks, deferring JavaScript execution until specific routes or features are requested.

Can I optimize server-side rendering and client-side data fetching for Next.js 16+ projects?

Yes, you can optimize Next.js 16+ projects by strategically separating server and client components. Apply per-request optimizations and caching on the server, while minimizing client-side re-renders through memoization to balance rendering loads.

How do I minimize re-renders in a data-heavy React application?

Minimize re-renders in data-heavy React applications by applying memoization techniques to expensive component outputs. This prevents unnecessary recalculation when parent components update, ensuring rendering efficiency remains high during interactions.

Does this performance optimization approach work for both server-rendering and client-rendering?

Yes, this approach comprehensively targets both server-rendering and client-rendering performance. It addresses server-side data fetching bottlenecks and bundle optimization alongside client-side rendering efficiency and re-render minimization across your application.