vercel-functions

Build and optimize Vercel Functions for serverless, edge, and Fluid Compute workloads.

246|42|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/vercel/vercel-plugin --skill vercel-functions-vercel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-functions
Source: https://github.com/vercel/vercel-plugin/tree/main/skills/vercel-functions
Command: npx skills add https://github.com/vercel/vercel-plugin --skill vercel-functions-vercel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides expert guidance for configuring, debugging, and optimizing Vercel Functions across serverless Node.js, Edge Functions, and Fluid Compute, helping teams deliver faster, more reliable serverless apps.

Core Features & Use Cases

  • Guidance on choosing appropriate runtimes (nodejs, edge, bun, rust) and when to use each.
  • Best practices for streaming responses, background work with waitUntil/after, and deployment strategies.
  • Configure cron jobs, verify vercel.json settings, and optimize cold starts for production deployments.
  • Migration guidance when using deprecated APIs or older runtimes.

Quick Start

Create a minimal Node.js Vercel Function using the GET method that returns a hello message.

Frequently Asked Questions about vercel-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose between Node.js and Edge runtimes for Vercel Functions?

Choosing between Node.js and Edge runtimes for Vercel Functions depends on your workload needs, with Edge ideal for low-latency geolocation tasks and Node.js suited for heavy compute. This guidance covers runtime selection across nodejs, edge, bun, and rust.

How do I configure cron jobs in vercel.json for scheduled tasks?

Configuring cron jobs in vercel.json requires defining schedules to trigger serverless functions automatically. This skill helps you verify vercel.json settings and set up cron-based tasks for production deployments on Vercel.

What's the best way to optimize cold starts for serverless functions on Vercel?

Optimizing cold starts for Vercel serverless functions involves selecting appropriate runtimes and leveraging Fluid Compute. This skill provides deployment strategies and configuration techniques to reduce latency in production.

How do I migrate deprecated Vercel Functions APIs to newer runtimes?

Migrating deprecated Vercel Functions APIs requires updating runtime configurations and replacing outdated endpoints. This skill provides migration guidance for transitioning older serverless workloads to current Node.js or Edge standards.

Can I use Vercel Functions for edge redirects and API routes in Next.js?

Vercel Functions fully support edge redirects and API routes within Next.js applications. This skill guides you through configuring these workloads using appropriate edge or serverless runtimes for optimal routing performance.

How do I handle streaming responses in Vercel Functions?

Streaming responses in Vercel Functions allow you to send data incrementally to the client, improving perceived load times. This skill provides best practices for configuring streaming and managing background work using waitUntil or after.