vercel-functions

Configure Vercel Functions including Serverless, Edge, Bun, Rust runtimes and Cron Jobs via vercel.json.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance on deploying and optimizing server-side code on Vercel, covering Serverless Functions, Edge Functions, and related compute features.

Core Features & Use Cases

  • Runtime Selection: Understand the differences and best use cases for Node.js, Edge, Bun, and Rust runtimes.
  • Compute Optimization: Learn about Fluid Compute, Active CPU pricing, and instance sizing for cost and performance.
  • Background Processing & Streaming: Implement waitUntil and streaming for enhanced user experiences and background tasks.
  • Cron Jobs & Configuration: Configure scheduled tasks and manage function settings via vercel.json.
  • Debugging & Pitfalls: Diagnose common issues like timeouts, 500 errors, memory limits, and cold starts.

Quick Start

Explain how to configure a Vercel Cron Job to run an API route every hour.

Frequently Asked Questions about vercel-functions

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

FAQPage Schema
How do I configure Vercel serverless functions to run scheduled cron jobs?

Configure Vercel cron jobs by defining the schedule and target API route in your vercel.json file. This setup triggers your serverless functions automatically at specified intervals for background processing.

What is the difference between Vercel Edge Functions and standard serverless functions?

Vercel Edge Functions run globally on the edge network for low latency, while standard serverless functions deploy regionally with full Node.js capabilities. Choose Edge for speed and serverless for heavy compute.

Why does my Vercel serverless function fail with a timeout or 500 error?

Vercel serverless functions fail with 500 errors or timeouts when exceeding platform timeout limits or memory limits. Diagnose these common pitfalls by checking function duration and memory usage in your logs.

Can I use Bun or Rust runtimes for API routes deployed on Vercel?

Yes, you can use Bun and Rust runtimes for API routes on Vercel. Selecting these alternative runtimes provides performance benefits and specific language support for your serverless compute workloads.

How does Fluid Compute optimize server-side code deployment and performance on Vercel?

Fluid Compute optimizes server-side performance by dynamically managing instance sizing and execution on Vercel. It reduces cold starts and improves cost efficiency through Active CPU pricing and resource allocation.

What is the best way to handle background processing and streaming in Vercel Functions?

The best way to handle background processing and streaming in Vercel Functions is using the waitUntil API. This allows you to stream responses and execute background tasks without delaying the user experience.