SKILL21.5K installs143.3K

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-adoption

Use cases


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


Similar Skills