Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

next-cache-components-adoption

Skill by vercel

Turns on Cache Components in a Next.js app and works through the blocking routes it surfaces until the build passes. Written for developers adopting or migrating to Cache Components on Next.js 16.3 or later.

  • Score 94
  • 144k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install next-cache-components-adoption

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel/next.js /tmp/next.js && mkdir -p ~/.claude/skills && cp -r /tmp/next.js/skills/next-cache-components-adoption ~/.claude/skills/next-cache-components-adoption

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install next-cache-components-adoption in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

next-cache-components-adoption is an agent skill from Vercel that enables Cache Components in a Next.js app and resolves the blocking routes it reports. It sequences the work: enable the cacheComponents flag, run the cache-components-instant-false codemod, fix what the codemod cannot, and walk the route tree one feature at a time.

The skill works against next dev in a browser, with next build as a final check for each feature. It covers request-time reads, sync IO at render time, and use cache files that read request data. It requires an App Router project and Next.js 16.3 or later, and it points to bundled offline docs for each error. It is for developers adopting or migrating to Cache Components.

Written from the project's SKILL.md and checked against it.

What it can do

  • Enable cacheComponentsTurns on the cacheComponents flag and removes the deprecated experimental keys that block builds.
  • Run the codemodRuns the cache-components-instant-false codemod to opt existing routes out of validation.
  • Fix blocking routesWorks through blocking reads such as cookies(), headers(), params and searchParams, one route at a time.
  • Verify in the dev loopChecks each fix in next dev and a browser, with a passing next build as the final gate.
  • Choose opt-out or fixHelps decide between export const instant = false and fixing a route in place.

What you need

  • Next.js 16.3 or later
  • An App Router project
  • A runnable app that boots with its real or local environment
  • A browser for dev-loop verification

Try asking

  • Enable Cache Components in my Next.js app and walk me through the blocking routes.
  • Run the cache-components-instant-false codemod and list the routes it opted out.
  • Fix the blocking cookies() read in my dashboard layout using Suspense.

Good to know

  • Applies to App Router only; Pages Router routes are not migrated.
  • Sync IO calls such as new Date() and Math.random() must be translated by hand.
  • The codemod does not remove dynamic, revalidate or fetchCache exports.
  • Older Next.js versions need an upgrade to 16.3 first.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/next-cache-components-adoption/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md32 KB
  • references/dev-only-validations.md3 KB
  • references/per-page-decisions.md4 KB

Alternatives to next-cache-components-adoption

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

next-cache-components-adoption: common questions

What Next.js version does this skill need?

The skill requires Next.js 16.3 or later. If next --version reports a lower version, the source says to upgrade first using the upgrade codemod.

Does this skill work with the Pages Router?

No. The source says Cache Components is an App Router feature and the flag does nothing for pages/ routes. A hybrid app is fine, since pages/ routes are unaffected.

Will the codemod fix every blocking error?

No. The source says the codemod cannot fix sync IO calls such as new Date() or Math.random(), and those must be translated by hand using the linked docs.

How do I install next-cache-components-adoption?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is next-cache-components-adoption free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is next-cache-components-adoption safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to next-cache-components-adoption?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

next-cache-components-adoption Install

Add to stack

Loading.