
Netlify Edge Functions
netlify/context-and-toolsOfficial
This walks Claude through building Netlify Edge Functions, the Deno-based middleware that runs on their global edge network. You'll want this when you need low-latency responses for auth checks, geo-based redirects, A/B testing, or request/response manipulation. It covers the context.next() middleware pattern, geolocation APIs, environment variables via Netlify.env, and the practical tradeoffs between edge and serverless (edge gets you 50ms CPU time and proximity to users, serverless gets you 15 minutes and heavier compute). The guidance on when to choose each is actually useful, not just spec regurgitation.
- skills.sh installs
- 3.3K
- GitHub stars
- 51
- last updated
- Aug 21, 2026
Install
$ npx -y skills add netlify/context-and-tools --skill netlify-edge-functions --agent claude-codeInstalls into .claude/skills of the current project.
Files
Netlify Edge Functions
Use this form
// netlify/edge-functions/hello.ts
import type { Config, Context } from "@netlify/edge-functions";
export default async (request: Request, context: Context) => {
return new Response(`Hello from ${context.geo.country?.name ?? "somewhere"}`);
};
export const config: Config = { path: "/hello" };
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/netlify/context-and-tools
- Categories
- Backend & APIs, Testing & QA, Security, Documentation, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from netlify/context-and-tools
All 14Recommended
More Backend & APIs1
nodejs-express-serveraj-geddes/useful-ai-promptsBuild production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/res3.3Kskills.sh installs
2
netlify-ai-gatewaynetlify/context-and-toolsReference for Netlify AI Gateway — the managed proxy that routes calls to OpenAI, Anthropic, and Google Gemini SDKs without provider API keys. Use this skill an3.3Kskills.sh installs
3
netlify-databasenetlify/context-and-toolsGuide for using Netlify Database — the GA managed Postgres product built into Netlify. Use when a project needs any kind of dynamic, structured, or relational d3.1Kskills.sh installs
4
apollo-serverapollographql/skillsGuide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining Gr3.1Kskills.sh installs
5
senior-backenddavila7/claude-code-templatesComprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs. Includes API scaf2.7Kskills.sh installs
6
backend-developmentmrgoonie/claudekit-skillsBuild robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis),2.3Kskills.sh installs