What problem does it solve? Next.js App Router performance issues are hard to diagnose because caching semantics, RSC boundaries, and rendering modes interact in counterintuitive ways. This Skill provides a structured audit protocol that pinpoints slow LCP, bloated bundles, misconfigured caches, and incorrect RSC vs client component placement, then produces concrete fixes. ## Core Features & Use Cases - Four-Layer Cache Audit: Analyzes Request Memoization, Data Cache, Full Route Cache, and Router Cache, then generates correct fetch configurations with revalidate, tags, and on-demand invalidation. - RSC Architecture Review: Detects anti-patterns like 'use client' at layout roots, sequential await waterfalls, and client-side fetching, and rewrites them into parallel server-component patterns. - PPR, Turbopack & Bundle Analysis: Configures Partial Prerendering with Suspense boundaries, migrates builds to Turbopack, and interprets @next/bundle-analyzer output to shrink client JavaScript. - Core Web Vitals Fixes: Provides targeted code for LCP (priority images, next/font), CLS (explicit dimensions, reserved space), and INP (startTransition, debouncing). - Use Case: A developer says "my Next.js dashboard is slow." The Skill audits the page, finds a 'use client' root and sequential fetches, converts it to an RSC with Promise.all and ISR caching, and wraps dynamic content in Suspense for PPR. ## Quick Start Ask the assistant to audit your Next.js app for performance problems and share the page or component code you want optimized.