CtrlK
BlogDocsLog inGet started
Tessl Logo

netlify-edge-functions

Guide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testing, or any low-latency edge compute. Covers Deno runtime, context.next() middleware pattern, geolocation, and when to choose edge vs serverless.

80

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

SKILL.md
Quality
Evals
Security

Quality

Content

100%

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 lean, action-dense reference: executable code throughout, clearly sequenced lifecycle/chaining rules, non-obvious gotchas, and a limits/decision table — all well-organized with no padding. It is self-contained and appropriately structured for a focused single-domain skill.

DimensionReasoningScore

Conciseness

Dense, high-signal reference that assumes Claude's competence (defines no basic concepts like middleware/cookies/redirects) and contains no opinion fluff; gotcha paragraphs are long but every clause is specific, non-obvious Netlify knowledge. Not score 2 because there is no unnecessary padding, only detail that earns its place.

3 / 3

Actionability

Abundant executable TypeScript and TOML examples (syntax, full config object, middleware, geolocation, cookies, env vars, import map) that are complete and copy-paste ready. Not score 2 because the code is real and complete, not pseudocode.

3 / 3

Workflow Clarity

The multi-step processes present (chaining order as a numbered 1–3 sequence, the edge-before-redirects lifecycle) are fully specified, and debugging guidance ('first confirm it declares a path') is provided; no destructive/batch ops exist so the missing-validation cap does not apply. Not score 2 because the sequences have no gaps.

3 / 3

Progressive Disclosure

Well-organized into clear titled sections with tables and code (not a monolithic wall), easy header navigation, no nested references, and one clearly-signaled one-level cross-reference (the sibling netlify-frameworks skill); for a focused self-contained domain skill, keeping content in one well-structured file is appropriate. Not score 2 because organization is strong and the reference is clearly signaled.

3 / 3

Total

12

/

12

Passed

Description

100%

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 specific, trigger-rich, and complete, naming a clear Netlify Edge Functions niche with explicit 'Use when...' guidance and concrete capabilities. It uses third-person/imperative voice with no fluff or over-claims.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testing' — matching the multiple-specific-actions anchor; not score 2 because the actions are comprehensive rather than partial.

3 / 3

Completeness

Explicitly answers both: 'Guide for writing Netlify Edge Functions' (what) and 'Use when building middleware, geolocation-based logic...' (when, with an explicit trigger clause); not score 2 because the 'when' is explicit, not merely implied.

3 / 3

Trigger Term Quality

Natural developer terms a user would say — 'middleware', 'geolocation', 'authentication checks', 'A/B testing', 'edge vs serverless', 'Netlify Edge Functions' — give good coverage; not score 2 because common variations are present, not just a single keyword.

3 / 3

Distinctiveness Conflict Risk

'Netlify Edge Functions' with an explicit 'edge vs serverless' distinction carves a clear niche unlikely to fire for the wrong skill; not score 2 because the domain and triggers are distinct rather than merely 'somewhat specific'.

3 / 3

Total

12

/

12

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.

Validation16 / 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.