Skip to content
Skillv1.0.0

nextjs-v16

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

by bobmatnyc(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from bobmatnyc/claude-mpm-skills (toolchains/nextjs/nextjs-v16/SKILL.md). Install upstream with npx skills add bobmatnyc/claude-mpm-skills --skill nextjs-v16. Copyright stays with the author.

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/bobmatnyc-claude-mpm-skills-nextjs-v16/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

bobmatnyc-claude-mpm-skills-nextjs-v16.ocm.jsonjson
{
  "ocm": "1",
  "id": "bobmatnyc-claude-mpm-skills-nextjs-v16",
  "kind": "skill",
  "name": "nextjs-v16",
  "description": "Next.js 16 migration guide (async request APIs, \"use cache\", Turbopack)",
  "publisher": "bobmatnyc",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "nextjs",
      "nextjs-16",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Next.js 16 migration guide (async request APIs, \"use cache\", Turbopack)"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/bobmatnyc/claude-mpm-skills",
      "path": "toolchains/nextjs/nextjs-v16/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/bobmatnyc/claude-mpm-skills/blob/HEAD/toolchains/nextjs/nextjs-v16/SKILL.md",
      "key": "bobmatnyc/claude-mpm-skills/toolchains/nextjs/nextjs-v16/SKILL.md"
    }
  },
  "instructions": "# Next.js 16\n\n- Async `params`/`cookies`/`headers`; opt-in caching via `\"use cache\"`; Turbopack default.\n\nAnti-patterns:\n\n- ❌ Sync request APIs; ✅ `await` `params`, `cookies()`, and `headers()`.\n- ❌ Keep `middleware.ts`; ✅ use `proxy.ts` and `export function proxy`.\n- ❌ `revalidateTag(\"posts\")`; ✅ `revalidateTag(\"posts\", \"max\")` or `{ expire: ... }`.\n\nReferences: `references/migration-checklist.md`, `references/cache-components.md`, `references/turbopack.md`",
  "cost": {
    "context_tokens": 115
  }
}

Fetch it by URL: GET /api/v1/registry/bobmatnyc-claude-mpm-skills-nextjs-v16/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

nextjs-v16 - Skill - OpenSmartRoute