Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vercel

БесплатноБез исполняемых скриптовНе проверен

Vercel Platform and API Documentation

rawvegот rawveg★ 42 звезды на GitHub17 установок в других каталогах

Об этом скилле

Vercel Skill

Comprehensive assistance with Vercel deployment, API integration, and platform features. This skill provides practical guidance for building and deploying modern web applications on Vercel's AI Cloud platform.

When to Use This Skill

This skill should be triggered when:

  • Deployment & CI/CD: Deploying applications, configuring continuous deployment, or setting up preview environments
  • API Integration: Working with Vercel REST API endpoints for programmatic deployments and management
  • CLI Operations: Using Vercel CLI commands for local development and deployment workflows
  • Configuration: Setting up vercel.json for build commands, routing, environment variables, or cron jobs
  • Framework Setup: Configuring Next.js, SvelteKit, Nuxt, or other supported frameworks
  • Serverless Functions: Creating and deploying serverless functions or Edge runtime code
  • Domain Management: Managing custom domains, SSL certificates, or DNS configuration
  • Environment Variables: Setting up secrets and environment variables for different environments
  • Team Management: Working with team resources, access tokens, or collaboration features
  • AI Integration: Deploying AI-powered applications, agents, or MCP servers

Quick Reference

Authentication with Access Token

# Using cURL with Vercel API
curl -X GET "https://api.vercel.com/v9/projects" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json"

Basic CLI Deployment

# Deploy to production
vercel --prod

# Deploy with environment variables
vercel --env NEXT_PUBLIC_API_URL=https://api.example.com

# Force new deployment without cache
vercel --force

# Deploy with build logs
vercel --logs

CI/CD Deployment Workflow

# Pull environment variables and project settings
vercel pull --yes --environment=preview --token=$VERCEL_TOKEN

# Build locally
vercel build --token=$VERCEL_TOKEN

# Deploy pre-built artifacts
vercel deploy --prebuilt --token=$VERCEL_TOKEN

vercel.json - Cron Jobs Configuration

{
  "$schema": "https://openapi.vercel.sh/vercel.json",
  "crons": [
    {
      "path": "/api/every-minute",
      "schedule": "* * * * *"
    },
    {
      "path": "/api/every-hour",
      "schedule": "0 * * * *"
    },
    {
      "path": "/api/daily-cleanup",
      "schedule": "0 0 * * *"
    }
  ]
}

vercel.json - Build Configuration

{
  "buildCommand": "npm run build",
  "outputDirectory": "dist",
  "framework": "nextjs",
  "installCommand": "npm install"
}

Environment Variables Configuration

{
  "env": {
    "API_URL": "https://api.example.com",
    "FEATURE_FLAG": "true"
  },
  "build": {
    "env": {
      "BUILD_TIME": "@now"
    }
  }
}

Accessing Team Resources via API

# Get team deployments
curl -X GET "https://api.vercel.com/v6/deployments?teamId=TEAM_ID" \
  -H "Authorization: Bearer YOUR_TOKEN"

# Create deployment for team project
curl -X POST "https://api.vercel.com/v13/deployments?teamId=TEAM_ID" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "my-project", "files": []}'

Bun Runtime Configuration

{
  "bunVersion": "1.0.0",
  "functions": {
    "api/**/*.ts": {
      "runtime": "bun"
    }
  }
}

Serverless Function Example

// api/hello.js
export default function handler(req, res) {
  const { name = 'World' } = req.query;
  res.status(200).json({
    message: `Hello ${name}!`,
    timestamp: new Date().toISOString()
  });
}

Edge Function Example

// middleware.js
export const config = {
  matcher: '/api/:path*',
};

export default function middleware(req) {
  const response = NextResponse.next();
  response.headers.set('x-custom-header', 'my-value');
  return response;
}

Key Concepts

REST API Architecture

The Vercel REST API operates at https://api.vercel.com following REST principles. All requests require:

  • Authentication: Bearer token in Authorization header
  • Content-Type: application/json for all requests
  • HTTP Versions: Supports HTTP/1, 1.1, and 2 (HTTP/2 preferred)
  • TLS: Supports TLS 1.2 and 1.3 with resumption

Rate Limiting

API responses include rate limit headers:

  • X-RateLimit-Limit: Maximum requests allowed
  • X-RateLimit-Remaining: Requests left in current window
  • X-RateLimit-Reset: Reset time (UTC epoch seconds)

Exceeding limits returns HTTP 429 with "too_many_requests" error.

Pagination

  • Default: 20 items per page
  • Maximum: 100 items per page
  • Navigate with until query parameter and next/prev timestamps

Token Security

  • Set expiration dates (1 day to 1 year)
  • Store tokens securely immediately after creation
  • Tokens display only once and cannot be retrieved later
  • Use team-scoped tokens for team resource access

Deployment Workflow

  1. Preview Deployments: Automati
Полный SKILL.md на GitHub

Установить vercel в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

plugin.jsonreferences/api.mdreferences/index.mdreferences/llms-full.mdreferences/llms-small.mdreferences/llms.md

FAQ

Что делает скилл vercel?

Vercel Platform and API Documentation

Как установить скилл vercel?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл vercel запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить vercel с