Description
netlify-functions is an agent skill that helps a coding assistant write serverless functions for Netlify. It covers the modern default export syntax, TypeScript support, routing by path and HTTP method, background functions for long-running tasks, scheduled functions that run on a cron schedule, and streaming responses. The skill's argument is that it resolves questions that otherwise require reading scattered Netlify documentation: modern syntax compared with the older handler pattern, resource limits, and when to choose a background function over a scheduled one. A coding assistant with this skill can write a REST API endpoint for a static React app with no separate backend, run a background function that processes image uploads after the user has already received a 202 response, schedule a nightly cron job that syncs data from an external API, and stream server-sent events from a function to a browser in real time. Install it with the command shown on this page.…
Highlights
- Default export syntax with TypeScript
- Path and method routing
- Background functions for long tasks
- Scheduled functions via cron
- Streaming responses
Ratings & Reviews
No ratings yet
Be the first to rate netlify/netlify-functions.
People also visit

netlify-functions
Write, configure, and deploy Netlify serverless functions in TypeScript
openai/netlify-deploy
Automate Netlify deployments with CLI auth, linking, and environment support
openai/cloudflare-deploy
Deploy apps to Cloudflare using Workers, Pages, and platform services
netlify/netlify-functions FAQ
What does this skill do?
It helps a coding assistant write Netlify Functions for API endpoints, background work, scheduled jobs and streaming.
How do I install it?
Run npx skills add https://github.com/netlify/context-and-tools --skill netlify-functions, or paste the skill link into your coding assistant and ask it to install the skill.
When should I use a background function?
The page gives processing image uploads after an immediate 202 response as an example of a long-running task.
Can functions be scheduled?
Yes. The skill covers scheduled functions via cron.
What are the best netlify/netlify-functions alternatives?
Popular alternatives to netlify/netlify-functions include netlify-functions, netlify-caching and openai/netlify-deploy. See all netlify/netlify-functions alternatives


