next-best-practices
Next.js review and implementation
Read the installed next version and relevant node_modules/next/dist/docs/
pages before changing framework behavior. Those docs and project configuration
take precedence; use a matching online version/source tag when local docs are
unavailable. Next.js publishes workflow skills in vercel/next.js skills/.
Docs are bundled from 16.2; in a monorepo, read the app's own next package.
The nextjs.org links in these files have local equivalents with numbered
folders, so search by file name (find node_modules/next/dist/docs -name proxy.md).
01-app/02-guides/upgrading/version-16.md lists the breaking changes.
Per-error pages (/docs/messages/*) are only online; the dev/build output
carries the error's fix options.
Exact exports are also in node_modules/next/{server,navigation,headers,cache}.d.ts.