Favicon of netlify-edge-functions

netlify-edge-functions Skill

AI Agent SkillJavaScriptOpen source

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. Published by openai in plugins.

What is netlify-edge-functions Skill?

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. Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
91/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Writing
  • Testing use cases
  • Writing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use netlify-edge-functions Skill

  • Use it for testing.
  • Use it for writing.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: openai
  • Repository: openai/plugins
  • Skill file: plugins/netlify/skills/netlify-edge-functions/SKILL.md

What it does

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.

Skill instructions

Netlify Edge Functions Edge functions run on Netlify's globally distributed edge network (Deno runtime), providing low-latency responses close to users. Syntax typescript import type { Config, Context } from "@netlify/edge-functions"; export default async (req: Request, context: Context) = { return new Response("Hello from the edge!"); }; export const config: Config = { path: "/hello", }; Place files in netlify/edge-functions/. Uses .ts, .js, .tsx, or .jsx extensions. Config Object typescript export const config: Config = { path: "/api/", // URLPattern path(s) excludedPath: "/api/public/", // Exclusions method: ["GET", "POST"], // HTTP methods onError: "bypass", // "fail" (default), "bypass", or "/error-page" cache: "manual", // Enable response caching }; Middleware Pattern Use context.next() to invoke the next handler in the chain and optionally modify the response: typescript export default async (req: Request, context: Context) = { // Before: modify request or short-circuit if (!isA

Explore related resources

Frequently asked questions

What is netlify-edge-functions?

netlify-edge-functions is a open-source AI agent skill with Copy skill directory. 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.

Who is netlify-edge-functions best for?

netlify-edge-functions is best for reusing agent instructions, scripts, and references, testing workflows, writing workflows.

How do I install netlify-edge-functions?

Install or run netlify-edge-functions using Copy skill directory. Check netlify-edge-functions for the latest setup command.

Is netlify-edge-functions actively maintained?

netlify-edge-functions may need a closer maintenance check before production use.

Share:

Stars
4,556
Forks
668
Last commit
9 days ago
Repository age
5 months
License
Unknown

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to netlify-edge-functions