What problem does it solve? Writing Netlify Edge Functions involves platform-specific pitfalls: functions that deploy but never run, cache headers that silently do nothing, and edge functions that intercept every static asset. This Skill provides the correct patterns for the Deno-based edge runtime so your middleware, redirects, and personalization logic work as intended. ## Core Features & Use Cases - Middleware Pattern: Use context.next() to short-circuit requests (e.g., auth checks returning 401) or modify responses after the origin responds. - Geolocation & Cookies: Read context.geo for country-based redirects and manage cookies via context.cookies instead of hand-parsing headers. - Configuration Guidance: Bind functions to paths via inline config or netlify.toml, control chaining order, and avoid common traps like path: "/*" matching static assets. - Use Case: Build an authentication gate on /admin/* that runs before a personalization rewrite, declared in netlify.toml to guarantee execution order. ## Quick Start Write a Netlify edge function that redirects German visitors to /de using geolocation.