What problem does it solve? Developers building on Netlify need low-latency logic that runs close to users, but writing edge functions requires knowing the Deno runtime, the context.next() middleware pattern, and platform-specific APIs like Netlify.env and context.geo. This Skill provides the syntax, configuration options, and decision criteria to implement edge functions correctly. ## Core Features & Use Cases - Middleware Pattern: Intercept requests with context.next() to add authentication checks, modify response headers, or short-circuit unauthorized access. - Geolocation and Routing: Redirect users based on context.geo country, city, or timezone, and test locally with netlify dev --geo=mock. - Configuration Guidance: Covers the Config object (path, excludedPath, method, onError, cache), environment variables via Netlify.env, and import maps for Deno URL imports. - Use Case: Build an A/B testing layer that rewrites requests at the edge, or add an auth gate that returns 401 before requests reach your origin server. ## Quick Start Write a Netlify edge function that redirects German visitors to a localized /de path using geolocation.