AgentSkillsCN

vercel

Vercel 部署、边缘函数、环境变量配置以及预览部署功能。

SKILL.md
--- frontmatter
name: vercel
description: Vercel deployment, edge functions, environment configuration, and preview deployments.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep

Vercel Skill

Expert assistance for deploying to Vercel.

Capabilities

  • Configure Vercel projects
  • Set up Edge Functions
  • Manage environment variables
  • Configure preview deployments
  • Optimize for Edge

Configuration

json
// vercel.json
{
  "buildCommand": "npm run build",
  "outputDirectory": ".next",
  "framework": "nextjs",
  "regions": ["iad1"],
  "functions": {
    "api/**/*.ts": {
      "memory": 1024,
      "maxDuration": 30
    }
  },
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        { "key": "X-Content-Type-Options", "value": "nosniff" }
      ]
    }
  ]
}

Target Processes

  • vercel-deployment
  • edge-functions
  • nextjs-deployment