mcpField
V
vercel-functions-runtime

vercel-functions-runtime

github.com/bobmatnycCloud & DevOps78332 installsUpdated 15w ago
Repository

About vercel-functions-runtime

vercel-functions-runtime is a skill for building serverless APIs and background tasks with Vercel Functions. It covers Edge Runtime execution, cron scheduling, middleware, configuration, and log review.

Key features

  1. 01Serverless function setup
  2. 02Node and Edge runtime selection
  3. 03Environment variable configuration
  4. 04Cron job scheduling
  5. 05Routing middleware, headers, rewrites, and redirects
  6. 06Log-based error and performance review

Use cases

  1. 01Building serverless API routes
  2. 02Running low-latency edge logic
  3. 03Scheduling periodic maintenance or sync jobs
  4. 04Controlling request traffic with middleware

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill vercel-functions-runtime

After installing, type/vercel-functions-runtimein Claude Code to confirm it loaded.

Bundled filesmetadata.json

Details

From the project README

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:

Comments

Markdown supported