CtrlK
BlogDocsLog inGet started
Tessl Logo

netlify-edge-functions

Write, configure, and deploy Netlify Edge Functions (Deno runtime at the network edge) in TypeScript/JavaScript. Use when adding request/response manipulation at the edge — auth middleware, geolocation redirects, A/B testing and personalization, content localization, redirects/rewrites, SSR at the edge, or transforming responses — or when configuring path routing, response caching, or edge error handling. Triggers on tasks like "add auth middleware", "geo-based redirect", "A/B testing at the edge", "rewrite requests", or editing files in netlify/edge-functions.

74

Quality

91%

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

82%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 strong, dense reference skill: executable examples for every common pattern, sharp gotchas (silent no-route, two-pass loop, cache both-parts), and clear decision guidance. The main costs are the duplicated 'house rules' tail section, the absence of an explicit verify-locally-then-deploy workflow, and a monolithic structure that inlines reference-grade detail.

Suggestions

Remove or de-duplicate the trailing 'Netlify house rules' section — all five rules are already stated (mostly verbatim) in the main body, so the last ~30 lines are pure token cost.

Add an explicit deploy sequence with a checkpoint, e.g.: write function with scoped `path` → verify locally with `netlify dev` (and `--geo=mock` for geo logic) → confirm the route actually executes → deploy → check logs under Cloud compute > Edge functions.

Move the long-tail reference material (full `Context` object listing, Limits, Feature limitations, runtime API inventory) into a `references/` file (e.g. `references/context-and-limits.md`) and link to it from SKILL.md, keeping the body as a lean overview; also point 'check the framework adapter/reference first' at a concrete file or URL.

DimensionReasoningScore

Conciseness

The body is dense and imperative with no explanations of concepts Claude already knows, but the trailing 'Netlify house rules' section (~30 lines) restates five guardrails already covered earlier (path scoping, silent no-route, two-pass loop, edge-vs-serverless, cache 'both parts'). That is more than a trivial trim candidate but less than pervasive padding, so it sits between the 3 and 5 anchors — 'minor instances of over-explanation that could be trimmed' (4) is the closest fit.

4 / 5

Actionability

Copy-paste-ready code for redirect, rewrite, middleware transform, request-body re-read, caching, and SSR (.tsx), plus concrete TOML config and CLI commands ('netlify dev', '--geo=mock', '--edge-inspect'). Specific examples cover the common cases, matching the 5 anchor.

5 / 5

Workflow Clarity

Decision points are clear (edge vs serverless, onError modes, cache 'both parts or neither') with a troubleshooting feedback loop ('my edge function does nothing' → check the route first) and local dev/deploy/monitor commands. It falls short of 5 because there is no explicit end-to-end sequence with checkpoints (e.g., verify the function runs under 'netlify dev' before deploying); it exceeds 3 because sequence and checkpoints are mostly present.

4 / 5

Progressive Disclosure

Well-organized single-file skill with clear section headers and no buried or nested references, but ~235 lines include API-reference-like material (full 'Context' listing, Limits, Feature limitations) inlined that could live in a reference file, and 'check the framework adapter/reference first' gestures at a reference that does not exist in the bundle. Good structure with minor organization gaps matches the 4 anchor; it is above 3 (nothing is buried or disorganized) and below 5 (content is not split despite size).

4 / 5

Total

17

/

20

Passed

Description

100%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 is exemplary: it states concrete capabilities comprehensively, gives explicit 'Use when' guidance with quoted trigger phrases a user would naturally say, and carves out an unambiguous niche. It follows third-person/declarative voice and is dense without padding.

DimensionReasoningScore

Specificity

Lists many concrete actions ('Write, configure, and deploy', 'auth middleware, geolocation redirects, A/B testing and personalization, content localization, redirects/rewrites, SSR at the edge... transforming responses', 'path routing, response caching, or edge error handling') with comprehensive coverage of the domain. This matches the 5 anchor ('multiple specific concrete actions; comprehensive coverage') rather than 4, which requires identifiable minor gaps in coverage.

5 / 5

Completeness

Explicitly answers both 'what' ('Write, configure, and deploy Netlify Edge Functions (Deno runtime at the network edge) in TypeScript/JavaScript') and 'when' ('Use when adding request/response manipulation at the edge...', 'Triggers on tasks like...') with concrete trigger phrases — the exact pattern of the 5 anchor example. It clearly exceeds 4, where the 'when' clause would be less explicit.

5 / 5

Trigger Term Quality

Includes natural phrases users would actually say ('add auth middleware', 'geo-based redirect', 'A/B testing at the edge', 'rewrite requests'), synonyms (redirects/rewrites, personalization/localization), and the file path trigger 'netlify/edge-functions'. Coverage is comprehensive including synonyms, matching the 5 anchor; no common variations are missing, so 4 would underrate it.

5 / 5

Distinctiveness Conflict Risk

'Netlify Edge Functions (Deno runtime at the network edge)' defines a clear niche with distinct, product-specific triggers; nothing generic that would fire for unrelated skills. Matches the 5 anchor ('clear niche with distinct triggers; minimal conflict risk').

5 / 5

Total

20

/

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
netlify/context-and-tools
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.