About this skill
Official Netlify skill for Edge Functions — geo, rewrites, the runtime that is not a Function.
Input and output contract
Input
A request-time decision.
Output
An edge function in the right directory.
Workflow steps
- 1Geo
- 2Rewrites
- 3Deno
Prompt Notebook
You saySend EU users to /eu.
It returnsEdge function on geo.country. No origin hop.
You sayAdd a bot challenge header.
It returnsEdge function sets the header. Cached HTML stays.
More from Netlify
Netlify Deploy
Communitynetlify-deploy
Official skill for CLI, previews, and a deploy that finishes.
Netlify Functions
Communitynetlify-functions
Serverless endpoints the official way.
Netlify Blobs
Communitynetlify-blobs
Key-value blobs for the site, official.