Agent skill

nextjs-v16

Next.js 16 migration guide (async request APIs, "use cache", Turbopack)

Stars 28
Forks 8

Install this agent skill to your Project

npx add-skill https://github.com/bobmatnyc/claude-mpm-skills/tree/main/toolchains/nextjs/v16

SKILL.md

Next.js 16

  • Async params/cookies/headers; opt-in caching via "use cache"; Turbopack default.

Anti-patterns:

  • ❌ Sync request APIs; ✅ await params, cookies(), and headers().
  • ❌ Keep middleware.ts; ✅ use proxy.ts and export function proxy.
  • revalidateTag("posts"); ✅ revalidateTag("posts", "max") or { expire: ... }.

References: references/migration-checklist.md, references/cache-components.md, references/turbopack.md

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results