Get started
Listing · doc

Next.js docs

free
127 of 130 claims verified
floor 0.9: it goes live only at or above it
@contextfile · trust score 0.9907 over 85 edges
2,021 words
about 2,627 tokens (words x 1.3)
21
sections
26
cited sources
130
claims checked
MIT
license
2026-11-20
last updated
v4
version

Free sample

The first section: the first 827 characters of 18,854 (about 4%).

## `next upgrade` (16.1.0) - `pnpm next upgrade`, `npx next upgrade`, `yarn next upgrade` and `bunx next upgrade` update to the latest version. [51e61327-d45c-4604-ac61-4fbd8d73690d] - Versions before Next.js 16.1.0 do not support `upgrade`. Use `npx @next/codemod@canary upgrade latest` instead. [51e61327-d45c-4604-ac61-4fbd8d73690d] - `npx next@canary upgrade --agent=latest` has a coding agent perform and verify the upgrade. [51e61327-d45c-4604-ac61-4fbd8d73690d] - `next upgrade --agent` checks for an upgrade, gathers the version-matched migration guides, and hands the task to a coding agent. [32f14d2c-7f42-4fdb-ac43-cec93bf518bd] - To move to canary, first be on the latest version and working. Then run `npm i next@canary` (or `pnpm add`, `yarn add` or `bun add next@canary`). [51e61327-d45c-4604-ac61-4fbd8d73690d]

The offer

LicenseMIT
Reuse termsno source restricts reuse · license.xml (RSL)
Formatsmd
Verification floor0.9 of claims verified
Reportsigned verification report · on the public registry · claims and re-check

Uplift test · 2026-11-21

8 knowledge-gap questions on Next.js 16.1 to 16.5, each asked 5 times per arm. Graded by pattern checks on the answer text, not by running tests. The summary arm used text written by anthropic/claude-sonnet-5.5. Questions reviewed by sellingascode. Measured on version 4.

anthropic/claude-sonnet-5.5 · artifact vs summaryno measured uplift (the interval includes zero, so the run does not separate the arms)
anthropic/claude-sonnet-5.5 · artifact vs no context+100.0 points (95% interval +100.0 to +100.0, 8 tasks)
No contextpass rate 0.0% of 40 runs, 627 tokens per answer, $0.2045 total, named commands used in 0.0%
LLM summary of the public docspass rate 100.0% of 40 runs, 3,286 tokens per answer, $0.3045 total, named commands used in 100.0%
This artifactpass rate 100.0% of 40 runs, 8,961 tokens per answer, $0.7417 total, named commands used in 100.0%

Source: signed result benchmarks/uplift/listings/docs-nextjs/results/2026-11-21-v4-probe-uplift-1.json, digest sha256:494b31ddff7a8e83bed49fc42eafaa9e04c13c20258c916d0a77386c8d74b659, key pem-9ec90d53d901e315, artifact content sha256:828c17f09ab7526800164fa11d285103df2d62a1f0614ac5235399da4851afec. Intervals are a paired bootstrap over tasks.

Free to load

A verified public context entry. Anyone can read it and any agent can load it; it stays live only while its signed report meets the floor.

Contents

  1. `next upgrade` (16.1.0)
  2. Canary-only authentication features
  3. `@next/codemod upgrade` arguments
  4. `cache-components-instant-false` codemod (16.3 section)
  5. Migrating to `cacheComponents`
  6. Version 16 breaking changes
  7. `middleware` → `proxy`
  8. `next lint` removal
  9. Version 15 breaking changes
  10. `--custom-webpack`
  11. Memory flags
  12. `import.meta.glob` (Turbopack)
  13. `transitionTypes` on `<Link>`
  14. AI agent docs and `agentRules`
  15. `cacheHandler` vs `cacheHandlers`
  16. Server Actions dispatch
  17. `cookies()` async access
  18. CDN caching: `_rsc` and `experimental.validateRSCRequestHeaders`
  19. `loadEnvConfig` and environment load order
  20. Go Route Handlers limitations
  21. Testing notes

Cited sources

Cited sourceClaimsVerified
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/18-upgrading.mdx1010
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/ai-agents.mdx88
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/codemods.mdx1818
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating-to-cache-components.mdx1717
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-16.mdx3030
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/proxy.mdx11
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/01-getting-started/01-installation.mdx21
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/upgrading/version-15.mdx55
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/multi-zones.mdx11
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/custom-webpack.mdx33
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/memory-usage.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/08-turbopack.mdx43
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/migrating/from-vite.mdx11
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/view-transitions.mdx11
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/deploying-to-platforms.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/01-directives/use-cache-remote.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/authentication-with-cache-components.mdx44
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/cacheLife.mdx11
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/server-actions.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/04-functions/cookies.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/cdn-caching.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/environment-variables.mdx33
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/03-api-reference/03-file-conventions/route-go.mdx55
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/vitest.mdx22
https://github.com/vercel/next.js/blob/ab0c6c77e66411b7570ebf8fde6fbdf5d92c4a74/docs/01-app/02-guides/testing/cypress.mdx11
content#code-110

Counted from the claims in the signed report this listing is checked against.

Load it

Your agent fetches it in one call with the MCP tool artifacts_download (former name download_artifact). Pass the listing id. Small files come back inline, larger ones as a short-lived signed URL, with the artifact and report digests.

artifacts_download { "listing_id": "3afe9eef-0583-4277-8475-bcebf368a59b" }

No MCP connection yet? cf install <host> connects your coding agent to ContextFile. The cf CLI has no download command; the agent downloads with the tool above.

Instructions an agent will follow

No file in v4 is loaded as instructions, and no line matches a directive pattern.

Found by name (CLAUDE.md, AGENTS.md, SKILL.md, rules files) and by directive patterns, with no model in the loop. Agents read the same list in world_get (field instructions).