What problem does it solve? Adding backend logic to a Netlify site requires knowing the correct function file layout, handler signature, routing config, and platform limits — getting any of these wrong leads to broken endpoints, unbundled files, or unexpected billing. This Skill provides the exact patterns for writing, routing, and deploying Netlify Functions correctly. ## Core Features & Use Cases - Modern handler API: Export a default async handler taking a web Request and Netlify Context, returning a Response, with typed access to params, geo, cookies, and environment variables via Netlify.env.get(). - Routing and config: Custom path/excludedPath URLPattern routing, method restrictions, rate limiting, region and memory/vCPU settings, and cache purging with purgeCache(). - Specialized function types: Streaming responses (60s, 20 MB), background jobs up to 15 minutes, scheduled cron functions in UTC, and typed platform-event handlers for deploy, Identity, and form events. - Use Case: Build a contact form API endpoint at a custom path, a nightly cron job that generates a digest at 9 AM ET, and a long-running background function that processes uploads — all with correct limits and config. ## Quick Start Create a Netlify serverless function in TypeScript that returns JSON at a custom route and reads an API key from environment variables.