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 high-quality, actionable reference with executable examples and strong decision guidance throughout. The main weakness is mild redundancy between the main body and the appended 'house rules' section, plus some reference material that could be externalized.

Suggestions

Collapse the trailing 'Netlify house rules (edge-functions)' section into the relevant earlier sections (or remove it) to eliminate the duplicated path-scoping, no-route, edge-vs-serverless, and cache guidance.

Consider extracting the Context object field list, config/routing property reference, and limits into a one-level-deep reference file (e.g. REFERENCE.md) linked from the overview, keeping SKILL.md as a leaner entry point.

Add a short explicit workflow or checklist for the common end-to-end flow (write handler → scope path → opt into cache if needed → netlify dev → deploy) with a verification checkpoint to lift workflow_clarity.

DimensionReasoningScore

Conciseness

The body is a lean, reference-style document that mostly assumes Claude's competence, but the trailing 'Netlify house rules (edge-functions)' section restates path-scoping, no-route silent-fail, edge-vs-serverless, and cache both-or-neither points already covered above, adding redundancy that could be trimmed.

4 / 5

Actionability

Fully executable, copy-paste-ready code covers the common cases — redirect, rewrite, middleware transform, body read with re-injected request, conditional requests, caching opt-in, and SSR (.tsx) — alongside specific CLI flags such as 'netlify dev', '--geo=mock', and '--edge-inspect'.

5 / 5

Workflow Clarity

Decision guidance is clear (edge vs serverless, fail closed vs open, modern vs avoid) and troubleshooting callouts like 'check the route first' act as implicit checkpoints, but there is no explicit multi-step workflow with validation steps; no destructive or batch operations are present to invoke the cap.

4 / 5

Progressive Disclosure

Single-file skill with no bundle directories and well-organized section headers providing easy navigation; however, API-reference material (Context fields, config properties, limits) is inlined rather than split into one-level-deep reference files, leaving minor organization gaps.

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.

An excellent description: it concisely states what the skill does, enumerates concrete capabilities, and gives explicit natural-language triggers plus a path-based trigger. It is distinct, third-person, and free of fluff.

DimensionReasoningScore

Specificity

Names the domain and lists multiple concrete actions — 'Write, configure, and deploy Netlify Edge Functions' plus 'auth middleware, geolocation redirects, A/B testing and personalization, content localization, redirects/rewrites, SSR at the edge … path routing, response caching, or edge error handling' — giving comprehensive coverage.

5 / 5

Completeness

Explicitly answers both 'what' (write/configure/deploy edge functions) and 'when' with a 'Use when …' clause and concrete trigger phrases, in third-person voice with no over-claiming.

5 / 5

Trigger Term Quality

Natural user-facing phrases are covered comprehensively, including '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', spanning synonyms and a directory path.

5 / 5

Distinctiveness Conflict Risk

Tightly scoped to Netlify Edge Functions on the Deno runtime with the netlify/edge-functions directory trigger, giving a clear niche with minimal overlap risk against other skills.

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.

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.