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 stanfish06

Guides an AI assistant in writing Netlify serverless functions for API endpoints, background processing and scheduled tasks. It is for developers building server-side logic with Netlify Functions.

  • Score 56
  • 13 stars
  • 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/stanfish06/skillquarium /tmp/skillquarium && mkdir -p ~/.claude/skills && cp -r /tmp/skillquarium/skills/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

The netlify-functions skill gives an AI assistant guidance for writing Netlify serverless functions. It sets the modern pattern: a default export with a Config object, a standard Web API Request and Response, and optional TypeScript. It also covers file layout in netlify/functions/, custom path and method routing, background functions for tasks up to 15 minutes, scheduled functions on cron or shortcut schedules, streaming responses, the context object, and Netlify.env for environment variables.

It is aimed at developers building API endpoints, background processing, scheduled tasks or other server-side logic on Netlify. The skill notes that frameworks such as Astro, Next.js, Nuxt, SvelteKit and TanStack Start usually generate their own functions through adapters. Raw Netlify Functions are mainly for client-side-only projects, background or scheduled work, and standalone endpoints.

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

What it can do

  • Modern function syntaxWrites functions with a default export and a Config object instead of exports.handler.
  • Path routingSets custom paths, path parameters, multiple paths and excluded paths through the config export.
  • Method routingRoutes GET, POST, DELETE and other HTTP methods inside one function with a switch.
  • Background functionsCreates long-running tasks that return an immediate 202 response and store results externally.
  • Scheduled functionsRuns functions on a cron schedule or shortcuts such as @hourly and @daily.
  • Streaming responsesReturns a ReadableStream body for streamed responses up to 20 MB.
  • Context objectExplains context.params, geo, ip, cookies, deploy, site, requestId and waitUntil.
  • Environment variablesReads configuration with Netlify.env.get instead of process.env.

What you need

  • A Netlify project with a netlify/functions directory
  • TypeScript (optional, .ts or .mts files)
  • Netlify Blobs or a database for storing background job results (optional)

Try asking

  • Write a Netlify function that returns items at /api/items/:id
  • Create a scheduled Netlify function that runs every hour
  • Set up a background function for a long-running data import

Good to know

  • Scheduled functions have a 30-second timeout and only run on published deploys.
  • Background functions can run up to 15 minutes and their return values are ignored.
  • Buffered payloads are limited to 6 MB and streamed payloads to 20 MB.
  • Framework projects usually use their own adapter-generated functions instead of raw Netlify Functions.

Security check

A

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

Checked automatically: skills/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

What is the modern syntax for Netlify Functions?

The skill recommends a default export that takes a Request and Context, plus an exported Config object. It says not to use the legacy exports.handler or named handler export.

How long can a Netlify background function run?

The skill states that background functions can run for up to 15 minutes. The client receives an immediate 202 response.

Should I write Netlify Functions inside Next.js or Astro projects?

Usually not. The skill says these frameworks generate their own serverless functions through adapters, so raw Netlify Functions are mainly for client-side-only projects or standalone tasks.

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 public, but no licence file was found, so check the repository before commercial use.

Is netlify-functions safe to use?

It scores 56 of 100. Grades: maintenance A, licence F, quality C. 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.