CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the `partialPrefetching` flag, opt routes in with `export const prefetch = 'partial'`, audit `Link prefetch={true}` behavior, preserve existing prefetched UI with `instant()` tests, or resolve the instant-link-prefetch-partial and instant-shell-url-data insights.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

70%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-sequenced, highly actionable adoption workflow with excellent validation gates and error-recovery paths. Its weaknesses are token efficiency (repeated facts and padded caveat paragraphs) and progressive disclosure (a missing `rig-template.md` the body depends on, plus detail that belongs in reference files inlined into a long single file).

Suggestions

State each load-bearing fact once: 'automatic prefetching runs only in production' and the manual-preservation fallback via rig-template.md each appear three times; consolidate into the requires/working-surfaces sections and reference them from steps.

Ship the referenced rig-template.md (or inline a minimal @next/playwright instant() example) — the body defers the primary test rig to a file that is not in the bundle, leaving the test-backed path without concrete setup steps.

Move the step 5–7 detail (URL-data sweep mechanics, codemod manual fallback, per-link prefetch walkthrough) into one-level-deep reference files so SKILL.md stays a lean overview with clearly signaled pointers.

DimensionReasoningScore

Conciseness

The body mostly assumes Claude's competence and avoids explaining known concepts, but it is noticeably repetitive and could be tightened: 'automatic prefetching runs only in production' is stated at least three times (requires, step 6 checklist, step 6 check-in), and the manual-preservation fallback via `rig-template.md` is re-explained in the preservation gate, step 1, and step 2. Long caveat-laden paragraphs ('When the user is available... If no user is available...') pad several steps. This sits at the score-3 'mostly efficient but could be tightened' anchor rather than 4, where over-explanation would be only minor.

3 / 5

Actionability

Mostly executable guidance: a copy-paste audit command (`rg -n '\bprefetch\b|router\.prefetch' -g '*.tsx' -g '*.jsx' .`), the route config snippet, `npx @next/codemod@canary remove-partial-prefetch ./app`, offline-docs `find` commands, and concrete inclusion/exclusion rules for the audit. It misses score 5 because the central deliverable — the `instant()` preservation suite — has no code example in the skill and its template is deferred to a `rig-template.md` file that is not present in the bundle, leaving the primary test-backed path without a concrete in-skill example.

4 / 5

Workflow Clarity

Steps 1–7 are clearly sequenced with explicit validation checkpoints and feedback loops: the preservation gate ('Do not continue to step 3 until the suite has actually passed... A test file, build, completed navigation, or command printed for the user is not a baseline'), rerunning unchanged tests after each destination with failures treated as the work queue, codemod failure recovery (dirty-tree handling, manual reproduction fallback), and a step-6 verification checklist including flag-off reproduction before blaming the flag. This matches the score-5 anchor, including for the batch route-editing context where the rubric demands feedback loops.

5 / 5

Progressive Disclosure

Section structure and signposting are good (preservation gate, requires, working surfaces, numbered steps, further reading), but the skill ships no bundle files while the body points to **`rig-template.md`** three times as the source for rig setup and liveness checks — a dangling reference. The ~190-line body also inlines per-step detail (steps 5–7, codemod fallback instructions) that could live in one-level-deep reference files. This lands at the score-3 anchor ('some structure... content that should be separate is inline') rather than 4, because a referenced navigation target is missing rather than merely minor organization gaps.

3 / 5

Total

15

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete actions with exact config identifiers, an explicit 'Use when...' clause with pasteable trigger phrases, and a well-delineated niche. The only gap is modest synonym coverage of natural user phrasings beyond the flag and insight names.

DimensionReasoningScore

Specificity

The description lists multiple concrete, code-level actions: 'flip the `partialPrefetching` flag', 'opt routes in with `export const prefetch = 'partial'`', 'audit `Link prefetch={true}` behavior', 'preserve existing prefetched UI with `instant()` tests', and 'resolve the instant-link-prefetch-partial and instant-shell-url-data insights'. Coverage is comprehensive across enablement, adoption, auditing, testing, and insight resolution — matching the score-5 anchor and clearly above the 'several specific actions; minor gaps' anchor at 4.

5 / 5

Completeness

Both halves are explicit: the what is 'Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces', and the when is a full 'Use when the user wants to...' clause enumerating concrete trigger phrases (enable/adopt, flip the flag, opt routes in, audit Link behavior, preserve prefetched UI, resolve the named insights). This matches the score-5 anchor exactly; the score-4 anchor's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

Good natural-term coverage: 'enable or adopt Partial Prefetching', 'flip the flag', 'audit Link prefetch behavior', plus pasteable identifiers like the two insight slugs and exact config exports. It falls short of the score-5 'comprehensive synonyms' anchor because common user phrasings such as 'app shell', 'instant navigation', or 'speed up link navigation' are absent.

4 / 5

Distinctiveness Conflict Risk

It carves a clear niche — Next.js Partial Prefetching adoption — with distinct triggers (the `partialPrefetching` flag, the `prefetch = 'partial'` export, and the two insight slugs) that no adjacent skill (e.g., cache-components adoption) would claim. Minimal conflict risk, matching the score-5 anchor.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

vercel/next.js

Path

skills/next-partial-prefetching-adoption/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.