Vercel Config Generator

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

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 209 · 1 current installs · 1 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description, SKILL.md examples, and the included vercel-config-generator.sh all align: the skill generates a Vercel config (vercel.json). There are no unrelated required env vars, binaries, or config paths.
Instruction Scope
Instructions are focused on generating a vercel.json and suggest installing the official Vercel CLI and running vercel deploy. Minor inconsistency: examples use a 'vercel-config-generator' command but the included script is named vercel-config-generator.sh (user must run it explicitly or install/rename it). The skill does not instruct reading or exfiltrating other files or secrets.
Install Mechanism
No install spec; the skill is instruction-only with a small, harmless shell script that writes vercel.json. The only external install the SKILL.md suggests is the official 'npm i -g vercel' CLI, which is expected for deploying to Vercel.
Credentials
The skill requests no environment variables or credentials. Be aware: running 'vercel deploy' or the Vercel CLI may require the user's Vercel account credentials or VERCEL_TOKEN (not requested by the skill). This is normal but worth noting: credentials are needed by the deployment CLI, not the skill itself.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide changes. The script writes a vercel.json in the current directory only, which is appropriate and expected.
Assessment
This skill appears coherent and limited in scope: it creates a vercel.json and suggests using the official Vercel CLI. Before running, inspect the provided vercel-config-generator.sh (it writes vercel.json to your current directory) and note that the SKILL.md's 'vercel-config-generator' command may require you to make the script executable or install it under that name. Also be prepared that deploying with the Vercel CLI will involve your Vercel account credentials or token — ensure you only provide those to the official Vercel CLI and not to unknown endpoints.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk972x7a185k2my54sm2zck6pk5827nxb

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Clawdis

SKILL.md

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 部署咨询

安装

# 无需额外依赖

Files

3 total
Select a file
Select a file to preview.

Comments

Loading comments…