Skip to main content

Netlify Edge Functions

Skill Verified Active

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.

Purpose

To guide developers in writing efficient and low-latency Netlify Edge Functions for tasks like middleware, request manipulation, and geolocation-based logic.

Features

  • Netlify Edge Functions syntax and structure
  • Deno runtime and module support
  • Middleware pattern with context.next()
  • Geolocation and IP address access
  • Environment variable management via Netlify.env

Use Cases

  • Building low-latency middleware for web applications
  • Implementing geolocation-based routing or content personalization
  • Manipulating request and response headers/bodies at the edge
  • Handling authentication checks before requests reach the origin

Non-Goals

  • Writing complex, long-running serverless functions
  • Managing Node.js dependencies beyond what Deno supports
  • Database-heavy operations best suited for serverless functions

Trust

  • info:Issues AttentionOpen issues: 1 (last 90d), Closed issues: 4 (last 90d). The closure rate is good, but the maintainer response time might be improvable with more closed issues relative to open ones.

Installation

First, add the marketplace

/plugin marketplace add netlify/context-and-tools
/plugin install context-and-tools@netlify-context-and-tools

Quality Score

Verified
98 /100
Analyzed about 17 hours ago

Trust Signals

Last commit6 days ago
Stars17
LicenseMIT
Status
View Source

Similar Extensions

Netlify Identity

100

Use when the task involves authentication, user signups, logins, password recovery, OAuth providers, role-based access control, or protecting routes and functions. Always use `@netlify/identity`. Never use `netlify-identity-widget` or `gotrue-js` — they are deprecated.

Skill
netlify

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

Skill
Yeachan-Heo

Cleanup Cycles

100

Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".

Skill
raintree-technology

Vue Router Best Practices

100

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

Skill
hyf0

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

Skill
getsentry

Create Spatial Visualization

100

Create interactive maps, elevation profiles, and spatial visualizations from GPX tracks, waypoints, or route data using R (sf, leaflet, tmap) or Observable (D3, deck.gl). Covers data import, coordinate system handling, map styling, and export to HTML or image formats. Use when visualizing a planned or completed tour route on an interactive map, creating elevation profiles for hiking or cycling routes, overlaying waypoints and POIs on a basemap, or building a web-based trip dashboard.

Skill
pjt222

© 2025 SkillRepo · Find the right skill, skip the noise.