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+.
ソース情報
- リポジトリ
- vercel/next.js
- ソースの最終更新活動
- 2026年10月9日 17:07
- 検出された SKILL.md の言語
- 英語
- スター
- 143,245
- フォーク
- 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.
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
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+. |