Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

next-cache-components-optimizer

Skill by sanity-io

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.

  • Score 74
  • 299 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install next-cache-components-optimizer

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sanity-io/template-nextjs-personal-website /tmp/template-nextjs-personal-website && mkdir -p ~/.claude/skills && cp -r /tmp/template-nextjs-personal-website/.agents/skills/next-cache-components-optimizer ~/.claude/skills/next-cache-components-optimizer

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install next-cache-components-optimizer in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

Alternatives to next-cache-components-optimizer

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

next-cache-components-optimizer: common questions

How do I install next-cache-components-optimizer?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is next-cache-components-optimizer free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is next-cache-components-optimizer safe to use?

It scores 74 of 100. Grades: maintenance A, licence F, quality B. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to next-cache-components-optimizer?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

next-cache-components-optimizer Install

Add to stack

Loading.