What problem does it solve?
This Skill prevents common production-grade Next.js mistakes by turning hard-to-debug runtime issues into clear, actionable review rules for App Router, RSC boundaries, data patterns, and core performance/SEO conventions.
Core Features & Use Cases
- RSC Boundary Guardrails: Detect invalid async patterns in Client Components and prevent non-serializable server-to-client props.
- Correct Next.js 15+ Async APIs: Apply the required Promise-based usage for
params, searchParams, cookies(), and headers(), including the generateMetadata flow.
- Reliable Data & Routing Patterns: Choose the right mechanism between Server Components, Server Actions, and Route Handlers, avoiding route conflicts and data waterfalls.
- Production Readiness Checks: Enforce conventions for error boundaries (
error.tsx, global-error.tsx, not-found.tsx), hydration safety, route-handler environment constraints, and modal route behavior with parallel/intercepting routes.
- Performance & SEO Best Practices: Standardize metadata + OG image generation,
next/image usage, next/font optimization, runtime selection (Node vs Edge), bundling fixes for server-incompatible packages, and script loading via next/script.
Quick Start
Apply these rules while reviewing a Next.js App Router pull request that fails due to RSC boundary errors, incorrect async request usage, and hydration mismatches.