What problem does it solve? Next.js evolves rapidly, and patterns like getServerSideProps, next/router, and synchronous cookies() are deprecated or removed in newer versions. This Skill detects outdated Pages Router and pre-16 patterns in your code and provides expert guidance for building, debugging, and migrating App Router applications. ## Core Features & Use Cases - Pattern Validation: Scans code for deprecated APIs (getServerSideProps, next/head, next export, sync cookies/headers) and reports severity-graded migration messages. - App Router Expertise: Covers routing, Server Components, Server Actions, layouts, proxy.ts (middleware rename), data fetching, caching, metadata, image/font optimization, and error handling via detailed reference docs. - Skill Chaining: Automatically routes related concerns to specialized skills (auth, vercel-functions, runtime-cache, shadcn, ai-gateway) when relevant patterns are detected. - Use Case: While migrating a Next.js 14 project to Next.js 16, the Skill flags export function middleware and guides renaming it to proxy.ts, then flags un-awaited cookies() calls and shows the async fix. ## Quick Start Ask the assistant to review your Next.js app directory for deprecated Pages Router patterns and migrate them to App Router conventions.