This is a comprehensive Next.js skill that handles both App Router and Pages Router patterns, with a strong focus on migration paths. It auto-triggers on Next.js file structures and commands, then validates your code against 17 common pitfalls, from the async cookies() and headers() changes in Next.js 16 to deprecated patterns like getServerSideProps and next/router. The validation rules are opinionated but practical: they'll nudge you away from next-auth toward managed providers like Clerk, flag Express/Fastify usage in favor of native Next.js handlers, and catch React 19 gotchas like useRef() without initial values. It's built for teams actively upgrading or maintaining mixed codebases where old and new patterns coexist.
npx skills add https://github.com/vercel/vercel-plugin --skill nextjs