next-cache-components-adoption - Adopt Cache Components in a Next.js app
Enables Cache Components, resolves blocking routes and incompatible configuration, and verifies the app with next dev and next build.
Tags
Updated: 2026-11-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Enable Cache Components
- Locate the app directory
- Run the opt-out codemod
- Find blocking routes
- Fix request-time reads
- Fix synchronous I/O
- Translate incompatible exports
- Verify routes in next dev
- Verify builds with next build
Inputs
- Next.js application source
- Next.js configuration file
- Runtime environment variables
- Database or local data
- Browser access
- User route decisions
Outputs
- Updated Next.js configuration
- Migrated route and layout files
- Added route opt-outs
- Codemod-applied source changes
- Dev overlay verification status
- Build verification status
- Adoption progress summary
Requirements
- App Router project
- Resolved app directory
- Runnable application
- Next.js 16.3 or later
- Compatible Cache Components configuration
- Required runtime environment
