What problem does it solve? Writing and reviewing Next.js code requires keeping track of many evolving conventions—async APIs in v15+, Server/Client Component boundaries, middleware renames in v16, and optimization rules for images, fonts, and scripts. This Skill consolidates those rules so code follows current Next.js best practices without memorizing every documentation page. ## Core Features & Use Cases - RSC Boundary Validation: Detects invalid patterns like async Client Components and non-serializable props (Date, Map, class instances) passed across the Server/Client boundary. - Async API Migration Guidance: Covers Next.js 15+ async params, searchParams, cookies(), and headers(), including the official codemod command. - Optimization Rules: Enforces next/image, next/font, and next/script usage with correct configuration for remote images, responsive sizes, and third-party scripts. - Use Case: When reviewing a pull request that fetches data in a Client Component with useEffect, apply the data-patterns rules to refactor it into a Server Component fetch or a Server Action, eliminating the client-server waterfall. ## Quick Start Review my Next.js page component and apply the best practices for async params, image optimization, and error handling.