What problem does it solve? Next.js routes under Cache Components often block navigation on top-level awaits, coarse Suspense boundaries, or uncached data reads, leaving users staring at blank screens. This Skill sets up a repeatable, test-driven loop that encodes instant navigation as a failing @next/playwright instant() e2e test, works it to green, and ships the test as a permanent regression guard. ## Core Features & Use Cases - Test-driven optimization loop: Encode the goal as a failing instant() test (RED), push Suspense boundaries down to the data they guard (FIX), and verify with a differential revert/re-apply check before shipping. - Fix pattern library: Reference guides cover before/after recipes for top-level awaits, cookies()/headers() reads, uncached fetches, searchParams, auth gates, parallel routes, and responsive skeleton mismatches. - Rig discovery and RED robustness: A one-time per-repo rig template captures build, deploy, auth, and test-user setup, plus a checklist and taxonomy for detecting untrustworthy RED tests (vacuous passes, guessed selectors, stale deploys). - Use Case: A dashboard route waits on a charts query before painting anything. The Skill drives a real <Link> click under instant(), confirms the shell is missing, defers the query behind a Suspense boundary reusing the route's existing skeleton, and ships the green test as the regression guard. ## Quick Start Ask the agent to make a specific Next.js route's navigation instant using the next-cache-components-optimizer skill, and it will set up the rig, write the failing instant() test, fix the route, and ship the guard.