mcpField
N
nextjs-v16

nextjs-v16

github.com/bobmatnycDevelopment78375 installsUpdated 15w ago
Repository

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

  1. 01Async request API guidance
  2. 02Opt-in caching with `use cache`
  3. 03Turbopack default guidance
  4. 04Middleware-to-proxy migration
  5. 05Cache revalidation guidance

Use cases

  1. 01Updating code for Next.js 16
  2. 02Migrating `middleware.ts` to `proxy.ts`
  3. 03Adapting request API usage to async
  4. 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-v16

After installing, type/nextjs-v16in Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

metadata.json
references/
cache-components.md
migration-checklist.md
turbopack.md

Details

From the project README

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

Comments

Markdown supported