Next Cache Components Adoption
Turn on Cache Components in a Next.js app and walk its blocking routes to a passing build.
- CCM score
- 82 of 100
- skills.sh installs
- 31.5K
- GitHub stars
- 143.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers adoption order: App Router check, version and config prerequisites, then a route-by-route dev-loop and build pass
- Offers two paths, Incremental (run
cache-components-instant-falsecodemod first) or Direct (enable the flag and fix in one branch) - Enforces a per-route bar: no dev-loop errors and a passing
next build, with the user confirming each commit - Designed for Next.js 16.3+ App Router projects with blocking-prerender or instant validation errors to resolve
Install
$ npx -y skills add vercel/next.js --skill next-cache-components-adoption -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
next-cache-components-adoption
Enable Cache Components on an app and walk it to a passing build. This skill sequences the work; per-error recipes live in the dev overlay fix cards and the build's terminal output. The migrating to Cache Components guide is the canonical reference for the concepts and per-API recipes this skill applies — consult it whenever the skill steps reference a pattern ("use cache", cacheLife, <Suspense> placement, etc.) and you want the full explanation.
requires
- App Router project. Cache Components is an App Router feature;
cacheComponents: truedoes nothing forpages/routes. If the project has apages/orsrc/pages/tree but noapp/orsrc/app/tree, stop and tell the user — Pages → App migration is its own project, not part of this skill. A hybrid app (bothpages/andapp/) is fine: the flag affects theapp/routes;pages/routes are unaffected and don't need opt-outs.
Details
- Repository
- github.com/vercel/next.js
- Categories
- Frontend & UI Code, Debugging
- First seen
- Jul 14, 2026
Questions
What does the next-cache-components-adoption skill do?
It turns on Cache Components in a Next.js app and resolves the blocking routes it surfaces. It sequences the work and walks the app to a passing build, verifying each route with the dev server and a browser.
What do I need before using this skill?
You need an App Router project running Next.js 16.3 or later, and the app must boot locally. The skill also expects you to remove the old experimental.dynamicIO key and inventory exports like dynamic, revalidate, or fetchCache.
How do I install it?
Run npx -y skills add vercel/next.js --skill next-cache-components-adoption -y in your project. The agent can then enable the cacheComponents flag and work through blocking-prerender errors and the cache-components-instant-false codemod.
Where does this skill rank in its category?
It is in the Frontend & UI Code category and ranks in the top 50 there. It focuses on migrating Next.js apps to Cache Components, unlike general React or design guidance skills in the same category.
More from vercel/next.js
All 14Similar to Next Cache Components Adoption
More Frontend & UI Codenextjspproenca/dot-skills1.2K installsNext.js 16 App Router guide with 45 rules across nine categories, covering caching, Server Components, and codebase hygiene reviews.
next-cache-components-optimizervercel/next.js22.3K installsOptimize a Next.js route's first paint and client navigation by growing its static shell under Cache Components.
nextjs-cache-architecturemohamed-hossam1/nextjs-skills5.1K installsNext.js cache architecture skill: tag registry, revalidation utilities, and Suspense boundaries for Next.js 16+ App Router caching.
nextjs-best-practicesdavila7/claude-code-templates635 installsNext.js App Router principles covering Server Components, data fetching, routing, caching, and server actions.
react-server-components-frameworkyonatangross/orchestkit186 installsServer-first Next.js 16+ skill covering App Router, Cache Components, streaming SSR, and Server Actions.