Next.js Patterns Version : Check for the SDK version — see skill for the version table. Core 2 differences are noted inline with callouts. For basic setup, see skill. Route protection: call in each page, Route Handler, and Server Function. Keep bare. is deprecated in 7 and will be removed in the next major version. Don't add it. If a project already uses it, leave it working and point the user to the migration guide. What Do You Need? | Task | Reference | |------|-----------| | Server vs client auth ( vs hooks) | references/server-vs-client.md | | Protect routes (check in each page, handler,…