01
It starts by itself
edge function file changed. Runs in GitHub Actions or Claude Code routine.
- ↻ edge function file changed
pull_request paths netlify/edge-functions/**
No silent edge functions ship.
Install the Netlify Edge Functions skill and make it a habit: follow https://gethabit.dev/skills/netlify/netlify-edge-functions.md
3K installs41 starsMIT licenceSource on GitHub ↗

Netlify Edge Functions
by netlify · 3K installs
The skill
The netlify edge functions skill helps an agent write, route, cache and debug Deno-based edge handlers on Netlify, from auth gates and geo redirects to streaming SSR.
Only when you ask.
The habit
No silent edge functions ship.
↻ Runs by itselfedge function file changed
When does it start? How does it check its work? What does it remember?
Stops after one pull request and at most 20 functions per run.
Your agent lists the changed files under netlify/edge-functions and the netlify.toml declarations.
Each function needs a path, a pattern or a toml entry, or it never runs.
A function with cache: "manual" must also set Cache-Control or a related header on its Response.
A path of /* without excludedPath gets flagged, because it runs on every asset.
Env reads must use Netlify.env.get, and no variables may rely on netlify.toml.
The agent comments the failed checks and adds new footguns to the notes file.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Netlify Edge Functions skill helps.
An edge function without a route still deploys but never runs, and there is no build warning.
It can use netlify dev locally, but the hard checks are static reads of the code and config.
Copy the prompt at the top into your agent. It installs the skill from netlify/context-and-tools and sets up the habit. Or run npx skills add netlify/context-and-tools --skill netlify-edge-functions.
Yes. It is published under MIT. Habit is free too.
Install the Netlify Edge Functions skill and make it a habit: follow https://gethabit.dev/skills/netlify/netlify-edge-functions.md
All netlify skills →More code skills →
Works in
Made by netlify, published under MIT. Habit links to the original and never changes it. Is this your skill?