Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

netlify-functions

Skill by NVlabs

Guides an AI assistant in writing Netlify serverless functions for API endpoints, background jobs and scheduled tasks. Aimed at developers who build server-side logic on Netlify Functions.

  • Score 52
  • 213 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install netlify-functions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NVlabs/Skill2Env /tmp/Skill2Env && mkdir -p ~/.claude/skills && cp -r /tmp/Skill2Env/SkillHub/skills/netlify/netlify-functions ~/.claude/skills/netlify-functions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install netlify-functions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Netlify Functions is an agent skill that guides an AI assistant in writing Netlify serverless functions. It covers the modern default export and Config pattern, TypeScript files, path and method routing, background functions, scheduled functions, streaming responses, and event handlers. It tells the assistant to avoid the legacy exports.handler syntax and to read environment variables with Netlify.env.

The skill also lists resource limits, including a 60 second synchronous timeout, a 15 minute background timeout and a 30 second scheduled timeout. It advises against changing region, memory or vCPU settings without a clear reason. It is aimed at developers building API endpoints, background processing or scheduled tasks on Netlify, and notes that framework projects usually rely on their own adapters instead.

Written from the project's SKILL.md and checked against it.

What it can do

  • Modern function syntaxWrites functions with a default export, a Request and Context, and a Config export.
  • Path routingSets custom paths, path parameters, multiple paths and excluded paths through config.
  • Method routingRoutes GET, POST, DELETE and other methods within one function and returns 405 for others.
  • Background functionsSets up long-running tasks that return a 202 response immediately using config.background.
  • Scheduled functionsRuns functions on a cron schedule or shortcuts such as @hourly and @daily, in UTC.
  • Streaming responsesReturns a ReadableStream body for streamed responses of up to 20 MB.
  • Event handlersSubscribes functions to deploy, identity and form events, and can deny identity actions.
  • Context objectExplains context.params, geo, ip, cookies, deploy, site and waitUntil.

What you need

  • Netlify Functions with the @netlify/functions package
  • TypeScript (.ts or .mts files)

Try asking

  • Write a Netlify function at /api/items/:id that handles GET, POST and DELETE.
  • Create a scheduled Netlify function that runs every hour and logs the next run.
  • Set up a background Netlify function for a long task that saves results to Netlify Blobs.

Good to know

  • Synchronous functions time out after 60 seconds, background after 15 minutes and scheduled after 30 seconds.
  • Scheduled functions only run on published deploys.
  • A function runs in exactly one region, and framework adapter functions set region in the Netlify UI.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: SkillHub/skills/netlify/netlify-functions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to netlify-functions

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

netlify-functions: common questions

Should I use exports.handler for Netlify functions?

No. The skill says to always use the modern default export with Config and never the legacy exports.handler or named handler export.

What is the default memory for a Netlify function?

Functions run with 1024 MB of memory by default. The skill says not to raise memory or vCPU speculatively, because billing scales with the configured size.

Can I run background work in a Netlify function?

Yes. Set background: true in the config for tasks up to 15 minutes. The client gets an immediate 202 response, so store results externally for later retrieval.

How do I install netlify-functions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is netlify-functions free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is netlify-functions safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to netlify-functions?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

netlify-functions Install

Add to stack

Loading.