netlify-functions Skill
Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax (default export + Config), TypeScript, path routing, background functions, scheduled functions, streaming, and method routing. Published by openai in plugins.
What is netlify-functions Skill?
Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax (default export + Config), TypeScript, path routing, background functions, scheduled functions, streaming, and method routing. Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Writing
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use netlify-functions Skill
- Use it for writing.
Built with
Editorial notes
Source
- Creator: openai
- Repository: openai/plugins
- Skill file: plugins/netlify/skills/netlify-functions/SKILL.md
What it does
Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions. Covers modern syntax (default export + Config), TypeScript, path routing, background functions, scheduled functions, streaming, and method routing.
Skill instructions
Netlify Functions Modern Syntax Always use the modern default export + Config pattern. Never use the legacy exports.handler or named handler export. typescript import type { Context, Config } from "@netlify/functions"; export default async (req: Request, context: Context) = { return new Response("Hello, world!"); }; export const config: Config = { path: "/api/hello", }; The handler receives a standard Web API Request and returns a Response. The second argument is a Netlify Context object. File Structure Place functions in netlify/functions/: netlify/functions/ shared/ Non-function shared code (underscore prefix) auth.ts db.ts items.ts - /.netlify/functions/items (or custom path via config) users/index.ts - /.netlify/functions/users Use .ts or .mts extensions. If both .ts and .js exist with the same name, the .js file takes precedence. Path Routing Define custom paths via the config export: typescript export const config: Config = { path: "/api/items", // Static path // path: "/api/item
Explore related resources
Frequently asked questions
What is netlify-functions?
netlify-functions is a open-source AI agent skill with Copy skill directory. Guide for writing Netlify serverless functions. Use when creating API endpoints, background processing, scheduled tasks, or any server-side logic using Netlify Functions.
Who is netlify-functions best for?
netlify-functions is best for reusing agent instructions, scripts, and references, writing workflows.
How do I install netlify-functions?
Install or run netlify-functions using Copy skill directory. Check netlify-functions for the latest setup command.
Is netlify-functions actively maintained?
netlify-functions may need a closer maintenance check before production use.
Auto-fetched from GitHub.