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

Passed

No findings from the security scan

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.

An unusually disciplined workflow skill: lean procedural prose, exact file paths and API names, and a fully validated RED/GREEN/differential loop with error-recovery guidance. Its one material defect is that the two bundle files it references and depends on (the rig template and the RED-robustness reference) are missing from the bundle, which both breaks progressive disclosure and weakens the workflow's self-containedness.

Suggestions

Include the referenced bundle files (rig-template.md and reference/red-test-robustness.md) in the skill bundle, or inline the essential RED-robustness checks so the 'Prove the current behavior' step does not depend on a file that is absent.

Consolidate the adoption gating stated in the intro, the completion checklist, and the Handoff section into one place to trim repetition.

Add one compact example of an instant() click-driven test (source link, positive and negative assertions) so the core testing pattern does not rely solely on the external guide.

DimensionReasoningScore

Conciseness

The body is dense and procedural with no explanations of concepts Claude already knows (it never explains what prefetching is, and names exact files, flags, and APIs), but adoption gating is repeated in three places ("This is not an adoption skill…", the first checklist item, and the Handoff section) and the reporting bullets are somewhat wordy — matching anchor 4's efficient-with-minor-trimmable-instances rather than anchor 5's every-token-earns-its-place.

4 / 5

Actionability

Highly concrete guidance throughout: exact bundled doc path ("node_modules/next/dist/docs/01-app/02-guides/optimizing-prefetching.md"), the specific config flag ("experimental.exposeTestingApiInProductionBuild"), named APIs (instant(), navigation(), prefetch()), and precise sequences (unlocked scaffold, locked RED, differential by removing only the optimization). It stops short of anchor 5 because the actual test-assertion pattern is delegated to the external guide with no inline example of an instant() test.

4 / 5

Workflow Clarity

A clearly sequenced multi-step workflow (define contract → reuse rig → prove current behavior → smallest optimization → verify and ship) with explicit validation checkpoints (RED/GREEN loop, remove-and-rerun differential, mutation lifecycle test), genuine error-recovery feedback ("Read reference/red-test-robustness.md before treating this failure as RED"; rig problems "do not justify changing prefetching"), and a completion checklist — a direct anchor 5 match.

5 / 5

Progressive Disclosure

In-body structure and reference signaling are good (one-level-deep pointers at point of need plus a Files section), but both referenced bundle files — rig-template.md and reference/red-test-robustness.md — are absent from the bundle (no references/, scripts/, or assets/ directories exist), so the disclosure chain the workflow depends on is broken. This lands at anchor 3: structure present with a material organization/reference defect, below anchor 4's 'minor organization gaps' since following the references fails outright, but above anchor 2 because the body itself is well-sectioned and not monolithic.

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, third-person, free of fluff, with an explicit 'Use after… when…' trigger clause, adoption preconditions, and a version requirement. The only weaknesses are modest — slightly intertwined action statements and a few missing natural synonyms.

DimensionReasoningScore

Specificity

Names the domain and 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"), matching anchor 4's several specific actions with minor gaps; it is not anchor 5 because the coverage is one intertwined optimization action rather than a comprehensive list of distinct actions (e.g., the regression-test deliverable is unmentioned).

4 / 5

Completeness

Explicitly answers both: 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"), with concrete trigger phrases plus a version precondition ("Requires Next.js 16.3+") — a clear anchor 5 match that anchor 4 ("'when' could be more explicit") does not fit better.

5 / 5

Trigger Term Quality

Natural terms a user needing this skill would say are present ("instant", "prefetching", "Partial Prefetching", "Cache Components", "viewport", "intent", "Next.js"), giving good keyword coverage per anchor 4; it falls short of anchor 5's comprehensive synonyms because common variations like "prerender", "app router", or "Link" are absent.

4 / 5

Distinctiveness Conflict Risk

Clear niche with distinct triggers: Next.js 16.3+ Partial Prefetching policy optimization scoped to post-adoption projects, which cleanly separates it from generic navigation or caching skills and from its own sibling adoption skills; minimal conflict risk per anchor 5.

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 missing

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.