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+.
Quellinformationen
- Repository
- vercel/next.js
- Letzte Quellaktivität
- 9. Oktober 2026 um 17:07
- Erkannte Sprache von SKILL.md
- Englisch
- Sterne
- 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.
Installationsoptionen
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
SKILL.md wird angezeigt
| 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+. |