CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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+.

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

77%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-engineered unattended workflow: the RED/GREEN loop, differential verification, robustness gates, and checklist are exemplary, and the guidance is specific without padding. The two real defects are the missing bundle files that the body depends on (the rig template and the RED-robustness reference) and the duplicated adoption/handoff gating.

Suggestions

Add the referenced bundle files (rig-template.md and reference/red-test-robustness.md) or remove/repair the references — the workflow's RED gate currently instructs reading a file that does not exist, which will derail the loop at its most critical step.

Consolidate the duplicated adoption-gating guidance: the 'This is not an adoption skill' paragraph and the Handoff section restate the same redirections; keep one canonical location.

Inline one minimal example of a focused click-driven instant() test (positive and negative assertions) so the core deliverable is executable without leaving the skill for the external guide.

DimensionReasoningScore

Conciseness

The body is dense and directive — it assumes Next.js knowledge, explains no basics, and nearly every sentence is an instruction with specific file paths, API names, or doc links, matching the 'efficient with minor trimmable instances' anchor. It is not a 5 because the adoption/handoff gating is stated twice ("This is not an adoption skill..." near the top and again nearly verbatim in the Handoff section) and the Further reading section repeats links already cited inline; it is well above 3, which expects padded or unnecessary explanation.

4 / 5

Actionability

Guidance is highly concrete for an instruction-only skill: exact paths to read ("node_modules/next/dist/docs/01-app/02-guides/optimizing-prefetching.md"), a named config flag ("experimental.exposeTestingApiInProductionBuild"), specific APIs (instant(), navigation(), prefetch()), and linked testing patterns. It falls short of fully copy-paste-ready 5 because no example instant() test or command is shown inline — the executable detail is delegated to external docs; per the rubric's instruction-only note this merits 4 rather than a penalty to 3.

4 / 5

Workflow Clarity

The sequence is explicit and well-ordered (define contract → reuse rig → prove current behavior → smallest optimization → verify and ship) with validation checkpoints throughout: unlocked scaffold first, a robustness gate before declaring RED ("Read reference/red-test-robustness.md before treating this failure as RED"), a remove-and-rerun differential, a completion checklist, and error-recovery guidance for rig problems. This matches the 5 anchor: explicit validation steps, feedback loops, and a checklist for a complex process.

5 / 5

Progressive Disclosure

The in-body structure is good — clear sections, one-level-deep signals like "Read [`reference/red-test-robustness.md`]" and a Files section — but scoring against the actual bundle shows both referenced files (`rig-template.md` and `reference/red-test-robustness.md`) are missing, so the disclosure structure breaks exactly where it is meant to be used. That dangling-reference defect drops it below the 4 anchor ('references mostly clear, minor organization gaps'); it is above 2 because the body itself is appropriately split and nothing that belongs in separate files is inlined.

3 / 5

Total

16

/

20

Passed

Description

87%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 capabilities, an explicit 'Use after ... when ...' trigger clause with multiple user-shaped conditions, a version prerequisite, and clear separation from sibling adoption/optimizer skills. The only weaknesses are a slightly abstract lead phrase and a few missing natural synonyms like 'instant navigation' or 'link prefetching'.

DimensionReasoningScore

Specificity

The description names several concrete capabilities — "Optimize what selected Next.js client navigations include before the click", "wants selected URL-specific UI to be instant", "wants reusable content to wait for navigation", "choose between default, viewport, and intent prefetching" — which matches the anchor for several specific actions with minor gaps. It falls short of 5 because the lead verb phrase ("Optimize what ... navigations include") is somewhat abstract and coverage of the skill's actual deliverables (instant() test rig, differential verification) is only implicit; it is clearly above 3, which expects only 1-2 concrete actions.

4 / 5

Completeness

It explicitly answers both questions: what ("Optimize what selected Next.js client navigations include before the click under Partial Prefetching") and when ("Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant... or needs to choose between default, viewport, and intent prefetching"), plus an explicit prerequisite ("Requires Next.js 16.3+"). This matches the 5 anchor: concrete what and when with explicit trigger phrases, not merely the implied 'when' of the 4 anchor.

5 / 5

Trigger Term Quality

Good natural-keyword coverage: "Next.js", "client navigations", "Partial Prefetching", "Cache Components", "prefetching", "instant", "viewport", "intent" are terms a user of this feature would actually say. A few common variations are missing (e.g., "instant navigation", "link prefetching", "make navigation instant"), keeping it below the comprehensive-synonym anchor of 5, but it is well above the partial-coverage anchor of 3.

4 / 5

Distinctiveness Conflict Risk

It carves out a clear niche (post-adoption prefetch-policy optimization) and explicitly gates it against sibling skills — "Use after Cache Components and Partial Prefetching are adopted" — so it is unlikely to trigger for the adoption or cache-optimizer skills. This matches the 5 anchor (clear niche, distinct triggers, minimal conflict risk) rather than 4, since the family-overlap risk is actively defused by the adoption precondition.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 2 possibly missing (reference/red-test-robustness.md, rig-template.md)

Warning

Total

15

/

16

Passed

Repository

vercel/next.js

Path

skills/next-partial-prefetching-optimizer/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.