vercel-config-generator

生成专业的 Vercel 配置文件 vercel.json,支持 Serverless Functions、Edge Functions、静态网站、SSR 等多种部署模式。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vercel-config-generator" with this command: npx skills add Sunshine-del-ux/vercel-config-generator

Vercel Config Generator

生成专业的 Vercel 配置文件。

功能

  • ⚡ 一键生成配置
  • 🌐 多部署模式支持
  • ⚙️ Serverless 配置
  • 📦 边缘计算支持

部署模式

模式说明
static静态网站
serverlessServerless Functions
edgeEdge Functions
swaSingle Page App

使用方法

静态网站

vercel-config-generator --type static

Serverless

vercel-config-generator --type serverless

Edge Functions

vercel-config-generator --type edge

输出示例

{
  "buildCommand": "npm run build",
  "outputDirectory": "dist",
  "framework": null,
  "version": 2,
  "regions": ["iad1"],
  "functions": {
    "api/**/*.js": {
      "runtime": "nodejs18.x",
      "maxDuration": 10,
      "memory": 1024
    }
  },
  "headers": [
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "X-Frame-Options",
          "value": "DENY"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        }
      ]
    }
  ],
  "rewrites": [
    {
      "source": "/api/(.*)",
      "destination": "/api/$1"
    }
  ]
}

常见配置

React/Next.js

vercel-config-generator --framework nextjs

Vite

vercel-config-generator --framework vite

自定义

vercel-config-generator --type serverless --region iad1

部署

# 安装 Vercel CLI
npm i -g vercel

# 部署
vercel deploy

变现思路

  1. 模板销售 - 项目配置模板
  2. 咨询服务 - Vercel 部署咨询

安装

# 无需额外依赖

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Zip

Zip - command-line tool for everyday use

Registry SourceRecently Updated
General

Youtube Script

YouTube视频脚本、标题A/B测试、缩略图文案、SEO优化、开头Hook、章节标记。YouTube script writer with title testing, thumbnail copy, SEO optimization, hooks, chapter markers. Use when you...

Registry SourceRecently Updated
1760ckchzh
General

Topmediai AI Music Generator

Generate AI music, BGM, or lyrics via TopMediai API. Supports auto polling and two-stage output (preview first, then final full audio) for generation tasks.

Registry SourceRecently Updated
General

Yamlcheck

YAML validator and formatter. Validate YAML syntax, pretty-print with proper indentation, convert between YAML and JSON, and lint YAML files for common issues.

Registry SourceRecently Updated