What problem does it solve?
This skill prevents Next.js 16 App Router mistakes by guiding correct patterns for Server Components, Server Actions, async dynamic APIs, caching with 'use cache', PPR, Turbopack, and proxy.ts middleware so your app behaves reliably and efficiently.
Core Features & Use Cases
- Routing & Rendering Correctness: Choose the right app/ file conventions, handle async params/searchParams/cookies/headers, and place Suspense boundaries to get streaming and PPR working as intended.
- Caching & Revalidation Done Right: Implement 'use cache' with cacheLife/cacheTag and use revalidateTag in Server Actions/route handlers to avoid stale data and invalidation bugs.
- Production-Grade App Plumbing: Set up proxy.ts (Next 16 middleware), metadata/SEO via generateMetadata and OG images, and correct error boundaries for not-found/forbidden/unauthorized.
Quick Start
Use nextjs skill for a task like "fix my Next 16 page where params or cookies fail and the cache never invalidates after my Server Action".