Next Cache Components Adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the `cacheComponents` flag, work through a flood of blocking-prerender / instant validation errors, run the `cache-components-instant-false` codemod, or decide between opting routes out with `export const instant = false` and fixing them in place.
- Type
- Skill
- Author
- vercel
- Category
- Frontend
- GitHub stars
- 143.3K
- Installs
- 21.5K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/vercel/next.js --skill next-cache-components-adoptionUse cases
- Enable the cacheComponents flag in a Next.js app and adopt Cache Components.
- Work through blocking-prerender and instant validation errors route by route.
- Run the cache-components-instant-false codemod or opt routes out with export const instant = false.
Frequently Asked Questions
What flag does this skill turn on?
The cacheComponents flag in a Next.js app.
What errors does it help resolve after enabling Cache Components?
The blocking-prerender and instant validation errors surfaced by blocking routes.
How does it help decide between opting out and fixing a route?
It covers both opting a route out with export const instant = false and fixing it in place.
About this skill
Walks a Next.js app through enabling Cache Components and resolving the blocking routes that surface afterward. It covers flipping the cacheComponents flag, working through blocking-prerender and instant validation errors, and running the cache-components-instant-false codemod. It also helps decide when to opt a route out with export const instant = false versus fixing it in place.
Summary written with AI assistance from the project's public description.
Categories
More from vercel
Next Dev Loop
Verify Next.js runtime behavior after editing app code. Use this skill to confirm a change actually works in a running app — not just that it compi...
by vercel
Next Cache Components Optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and clie...
by vercel
Next.Js
Official Claude Code plugin marketplace for Next.js, serving the skills that ship in the vercel/next.js repository.
by vercel
Turborepo
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --a...
by vercel
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh