What problem does it solve? Next.js App Router performance issues are hard to diagnose because RSC boundaries, the four cache layers, and PPR semantics are counterintuitive. This Skill provides a structured audit protocol that pinpoints slow LCP, bloated bundles, misconfigured caching, and incorrect server/client component splits. ## Core Features & Use Cases - RSC Architecture Audit: Detects anti-patterns like 'use client' at layout roots, sequential await waterfalls, and client-side fetching, then provides corrected parallel-fetch patterns. - Caching Strategy Generation: Produces explicit fetch cache configs (force-cache, revalidate, no-store, revalidateTag) across all four Next.js cache layers. - PPR, Turbopack & Bundle Analysis: Guides Partial Prerendering setup with Suspense boundaries, Turbopack migration, and bundle analyzer interpretation. - Core Web Vitals Fixes: Concrete code patterns for LCP (<2.5s), CLS (<0.1), and INP (<200ms) targets. - Use Case: A user says "my Next.js dashboard is slow." The Skill audits the page, finds a 'use client' root and sequential fetches, rewrites it as an RSC with Promise.all and Suspense streaming, and sets ISR revalidation. ## Quick Start Ask the assistant to audit your Next.js page or app directory for performance problems and generate optimized caching and rendering configurations.