CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

speculation-rules

Use when optimising multi-page navigation performance, reducing INP on page transitions, or implementing progressive enhancement for fast page loads.

Quality

61%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/speculation-rules/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

65%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.

The body is a concise, well-structured overview with exemplary progressive disclosure — a single clearly signaled reference file that exists and stays one level deep. Its weaknesses are that the Fix section defers all executable code to the reference and post-fix verification is never surfaced in the body, leaving the workflow's checkpoints implicit.

Suggestions

Add a minimal copy-paste speculation rules snippet (one prefetch rule with href_matches) to the Fix section so the body is executable without opening references/rule.md.

Surface post-fix verification in the body, e.g. a one-line "Verify: DevTools → Application → Speculative loads shows targets as Ready (full steps in references/rule.md)".

Trim the intro paragraph, which duplicates references/rule.md's "Why It Matters" nearly verbatim, down to a single sentence.

DimensionReasoningScore

Conciseness

The body is lean and well-sectioned, but the opening paragraph ("Navigation latency is one of the biggest contributors to poor Interaction to Next Paint (INP)... Google Search has used this API to deliver its 'instant' results page experience") duplicates references/rule.md's "Why It Matters" section nearly verbatim and explains motivation Claude already knows — a minor over-explanation instance that could be trimmed to one sentence. Anchor 4 rather than 5 because of this; not 3 since the rest earns its place.

4 / 5

Actionability

The body gives concrete direction ("Use prefetch rules to load the next page's HTML ahead of time", "Scope rules with href-matches or CSS selector patterns", prefer document rules over URL lists) but contains no executable code — the Fix section says "Add a Speculation Rules JSON block" without showing one, deferring all snippets to the reference file. This matches anchor 3 (some concrete guidance but incomplete, missing key details) rather than anchor 4's mostly-executable guidance.

3 / 5

Workflow Clarity

The Check → Fix → Explain → Code Review sections form a coherent audit sequence with pre-check ("Check whether the site uses the Speculation Rules API") and review checkpoints ("flag patterns that would prerender unrelated pages, third-party URLs, or pages with personalised/authenticated content"), but post-fix verification (DevTools "Speculative loads" status checks) lives only in references/rule.md and is never surfaced or pointed to in the body. Anchor 3: sequence present, checkpoints implicit rather than explicit.

3 / 5

Progressive Disclosure

The body is a genuine overview with a single well-signaled, one-level-deep reference — "For full implementation details, code examples, and framework-specific guidance, see references/rule.md" — and that file exists and contains exactly that content, with no nested second-level references. This matches anchor 5's clear overview with appropriately split content and easy navigation; the intro duplication is a conciseness issue, not a structural one.

5 / 5

Total

15

/

20

Passed

Description

41%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.

The description has a solid, natural trigger structure with relevant web-performance vocabulary, but it is entirely "when" with no "what": the skill's actual technique (prefetch/prerender via the Speculation Rules API) and its primary keywords are absent. This weakens both completeness and distinctiveness relative to the good examples.

Suggestions

Add a leading "what" clause naming the technique, e.g. "Prefetch and prerender likely next-page navigations using the Speculation Rules API. Use when..." — this directly fixes the completeness gap.

Include the primary trigger keywords users would naturally say for this need: "prefetch", "prerender", and "speculation rules".

Narrow the broad "progressive enhancement for fast page loads" clause to something tied to navigation speculation (e.g. "progressively enhancing multi-page navigation") to reduce overlap with general performance skills.

DimensionReasoningScore

Specificity

The description names the domain with semi-concrete scenarios ("reducing INP on page transitions", "multi-page navigation performance") but the verbs ("optimising", "implementing") are generic and the actual capability — prefetch/prerender via the Speculation Rules API — is never named. It sits at anchor 3: more specific than a bare domain mention (anchor 2) but not the comprehensive, concrete action list of anchor 4.

3 / 5

Completeness

The "when" is explicit and well-formed ("Use when optimising... or implementing..."), but there is no "what" — the description never states what the skill actually does. This is exactly anchor 2's pattern ("only 'when' is present without 'what'", e.g. "Use when working with documents"); anchor 3 would require a clear "what" statement.

2 / 5

Trigger Term Quality

Relevant natural terms are present ("INP", "page transitions", "navigation performance", "fast page loads"), but the most natural keywords a user with this need would say — "prefetch", "prerender", "speculation rules" — are all missing. This matches anchor 3 (relevant keywords but missing common variations/synonyms) rather than anchor 4's good coverage.

3 / 5

Distinctiveness Conflict Risk

The INP/page-transition focus is somewhat specific, but "implementing progressive enhancement for fast page loads" is broad and would overlap with general web-performance skills (image optimization, preloading, lazy loading). Without naming prefetch/prerender/speculation rules it remains at anchor 3 ("somewhat specific but could still overlap with similar skills"), not anchor 4's mostly-distinct profile.

3 / 5

Total

11

/

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

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

thedaviddias/Front-End-Checklist

Path

skills/speculation-rules/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.