vercel-functions-runtime
Vercel Functions and Edge Runtime, including cron jobs and routing middleware. Use when building APIs, serverless workloads, or scheduled tasks on Vercel.
Works with
---
name: vercel-functions-runtime
description: Vercel Functions and Edge Runtime, including cron jobs and routing middleware. Use when building APIs, serverless workloads, or scheduled tasks on Vercel.
license: MIT
---
# Vercel Functions and Runtime Skill
---
progressive_disclosure:
entry_point:
summary: "Vercel Functions and Edge Runtime: serverless APIs, edge execution, cron jobs, and routing middleware."
when_to_use:
- "When building API routes or serverless logic"
- "When targeting the Edge Runtime"
- "When scheduling tasks with cron jobs"
quick_start:
- "Create a function entry point"
- "Choose the runtime (Node or Edge)"
- "Configure cron schedules"
- "Deploy and monitor"
token_estimate:
entry: 90-110
full: 3600-4700
---
## Overview
Vercel Functions provide serverless execution for APIs and background tasks. The Edge Runtime enables low-latency execution closer to users.
## Vercel Functions
- Define serverless functions in the project structure.
- Use environment variables for configuration.
- Review logs for errors and performance.
## Edge Runtime
- Use the Edge Runtime for low-latency execution.
- Validate compatibility with the Edge runtime constraints.
## Cron Jobs
- Schedule jobs with cron definitions.
- Use cron for periodic maintenance tasks or sync jobs.
## Routing and Middleware
- Apply routing middleware for request handling.
- Use headers, rewrites, and redirects to control traffic.
## Complementary Skills
When using this skill, consider these related skills (if deployed):
- **vercel-deployments-builds**: Deployment workflow and release controls.
- **vercel-networking-domains**: Routing, headers, and edge caching.
- **vercel-observability**: Logs and tracing for function debugging.
*Note: Complementary skills are optional. This skill is fully functional without them.*
## Resources
**Vercel Docs**:
- Functions: https://vercel.com/docs/functions
- Edge Runtime: https://vercel.com/docs/functions/runtimes/edge
- Cron Jobs: https://vercel.com/docs/cron-jobs
- Routing Middleware: https://vercel.com/docs/routing-middlewareMore DevOps & Infrastructure skills
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
appinsights-instrumentation
microsoft/azure-skills
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
azure-storage
microsoft/azure-skills
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

