Skip to main content

next-partial-prefetching-optimizer: Test instant

Optimizes selected Next.js navigations under Partial Prefetching by defining which destination UI must be ready before a click and protecting that

Source facts

Repository
vercel/next.js
Last source activity
October 9, 2026 at 17:07
Detected SKILL.md language
English
Stars
143,245
Forks
33,586

Prerequisites

Requires Next.js 16.3 or later with Cache Components and Partial Prefetching adopted.

How to use

Name each source link and destination. Turn the required prefetched UI, navigation-only UI, and trigger into an instant() test, record the current behavior, make the smallest change, and keep the passing test.

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namenext-partial-prefetching-optimizer
descriptionOptimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport, and intent prefetching. Requires Next.js 16.3+.