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.

73

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

80%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A concise, highly actionable reference with executable TypeScript examples, useful config/limits tables, and clear edge-vs-serverless guidance. Its main weakness is the absence of any progressive disclosure structure (no bundle files or referenced sub-documents) and the lack of an explicit multi-step workflow with validation checkpoints.

Suggestions

Move the Limits table and detailed Config Object options into a reference file (e.g. references/REFERENCE.md) and link to it from the body, adding one-level-deep progressive disclosure.

If a common task like 'add an auth middleware' is multi-step, provide a short sequenced workflow with a validation step (e.g. test locally with `netlify dev` before deploy) to raise workflow clarity.

Add brief decision guidance linking the 'When to use Edge vs Serverless' table to a concrete routing rule, so users have an explicit checkpoint for choosing the runtime.

DimensionReasoningScore

Conciseness

Lean and efficient: tight code blocks with inline comments, tables for limits and edge-vs-serverless tradeoffs, and minimal prose. It assumes Claude's competence rather than explaining what edge functions or libraries are. Not score 2 because there is no padded or unnecessary explanation.

3 / 3

Actionability

Provides fully executable, copy-paste-ready TypeScript for the handler, config object, middleware pattern, geolocation, and env vars, plus concrete commands ('netlify dev --geo=mock --country=US') and specific limits. Not score 2 because examples are complete and runnable, not pseudocode.

3 / 3

Workflow Clarity

Content is clearly organized into labeled sections, but this is reference material with no multi-step workflow or explicit validation checkpoints. Not score 3 because no sequenced process with feedback loops is given; not score 1 because the section structure is clear and the skill involves no destructive/batch operations that would require validation.

2 / 3

Progressive Disclosure

Single self-contained SKILL.md (~120 lines) with well-organized sections and no nested references, but everything is inline with no one-level-deep pointers to separate reference files. Not score 3 because it exceeds the under-50-line simple-skill threshold and splits nothing out into referenced files; not score 1 because organization is clean with no reference nesting.

2 / 3

Total

10

/

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.

A strong, third-person description that names concrete capabilities, provides explicit 'Use when' trigger guidance, and is tightly scoped to Netlify Edge Functions with low conflict risk. Voice is correctly third person, so no specificity penalty applies.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testing' — matching the score-3 anchor that enumerates several specific capabilities rather than vague language.

3 / 3

Completeness

Explicitly answers both what ('Guide for writing Netlify Edge Functions') and when ('Use when building middleware...'), with the 'Use when' clause providing explicit trigger guidance. Not capped at 2 because the when-trigger is present and explicit.

3 / 3

Trigger Term Quality

Uses natural terms a user would say ('middleware', 'geolocation', 'authentication checks', 'A/B testing', 'low-latency edge compute') with good coverage of common variations; not jargon-only. Not score 2 because it goes beyond a single keyword to a broad set of natural triggers.

3 / 3

Distinctiveness Conflict Risk

Scoped to 'Netlify Edge Functions' with Deno/edge-specific triggers, giving it a clear niche unlikely to conflict with other skills. Not score 2 because the Netlify/edge framing is highly specific rather than broadly overlapping.

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.