About nextjs-v16
A Next.js 16 reference skill for developers working with the framework's updated APIs and conventions. It highlights async request APIs, opt-in caching, Turbopack defaults, and migration guidance for common breaking changes.
Key features
- 01Async request API guidance
- 02Opt-in caching with `use cache`
- 03Turbopack default guidance
- 04Middleware-to-proxy migration
- 05Cache revalidation guidance
Use cases
- 01Updating code for Next.js 16
- 02Migrating `middleware.ts` to `proxy.ts`
- 03Adapting request API usage to async
- 04Updating cache revalidation calls
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ bobmatnyc/ claude-mpm-skills --skill nextjs-v16After installing, type/nextjs-v16in Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
metadata.jsonreferences/cache-components.mdmigration-checklist.mdturbopack.mdDetails
From the project READMENext.js 16
- Async
params/cookies/headers; opt-in caching via"use cache"; Turbopack default.
Anti-patterns:
- ❌ Sync request APIs; ✅
awaitparams,cookies(), andheaders(). - ❌ Keep
middleware.ts; ✅ useproxy.tsandexport function proxy. - ❌
revalidateTag("posts"); ✅revalidateTag("posts", "max")or{ expire: ... }.
References: references/migration-checklist.md, references/cache-components.md, references/turbopack.md
Comments
Markdown supported