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 client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then guards against regression. Use when asked to make a route's navigation instant (its static shell commits immediately), fix a route whose static shell isn't prerendered/served/prefetched, grow a route's static shell or fix its slow first paint, diagnose which Suspense boundary keeps a route out of its static shell, or write the instant() e2e guard for one. Requires Next.js 16.3+ with cacheComponents; directs an upgrade if older.
- Type
- Skill
- Author
- vercel
- Category
- Frontend
- GitHub stars
- 143.3K
- Installs
- 18.9K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/vercel/next.js --skill next-cache-components-optimizerUse cases
- Make a route's navigation instant so its static shell commits immediately.
- Diagnose which Suspense boundary keeps a route out of its static shell.
- Write an instant() e2e guard to protect a route against regression.
Frequently Asked Questions
What Next.js version does this skill require?
Next.js 16.3+ with cacheComponents enabled; it directs an upgrade if the project is older.
How does it track progress toward instant navigation?
It encodes the goal as a failing @next/playwright instant() e2e test and works it to green one route at a time.
What does the shipped test do afterward?
It guards the route against regression.
About this skill
Drives a Next.js route to instant navigation under Cache Components and PPR by encoding the goal as a failing @next/playwright instant() e2e test and working it to green one route at a time. The shipped test then guards against regressions. It's for routes whose static shell isn't prerendered, served, or prefetched, and requires Next.js 16.3+ with cacheComponents enabled.
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 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 Cach...
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