Research: netlify-edge-functions

Cached research evidence for netlify-edge-functions (not authority).

Back to catalog page

Guide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testing, or low-latency edge compute. Covers Deno runtime, context.next() middleware, geolocation (city/country etc via context.geo), config paths/methods, when to choose edge vs serverless. Limits: 50ms CPU, 512MB, 20MB code.

Target agents: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.

trust_tier=needs-inspection; status=inspect-then-install; provenance=verified-install-command; policy=Inspect before install.; evidence=docs/src/authoring/skills. Web-aug: Same official Netlify repo as netlify-deploy (MIT, active, factual references only). No persistent state or broad FS; edge functions execute in Netlify Deno sandbox on deploy. Inspect for any custom scripts in bundle.

Install: npx skills add netlify/context-and-tools --skill netlify-deploy --skill netlify-functions --skill netlify-edge-functions -y -g -a antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode status=inspect-then-install; selector=named

netlify/context-and-tools (official, MIT)

Cloudflare Workers / Deno Deploy skills; general edge compute patterns in framework skills (Next.js middleware etc).

> Web-augmented 2026 from repo SKILL.md + README. Evidence only.