next-partial-prefetching-optimizer turns a navigation goal into an instant() test, then refactors the app until that test passes, tuning which UI arrives before the click.
next-partial-prefetching-optimizer
Optimize 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+.
Datos de origen
- Repositorio
- vercel/next.js
- Última actividad en el origen
- 9 de octubre de 2026 a las 17:07
- Idioma detectado de SKILL.md
- inglés
- Estrellas
- 143.245
- Forks
- 33.586
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
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.
Opciones de instalación
De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.
Revisa los archivos de origen
Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.
Mostrando SKILL.md
| name | next-partial-prefetching-optimizer |
|---|---|
| description | Optimize 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+. |