Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问clear审计异常

vercelVercel 搜索

Agent Skill

vercel 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

698

周安装

30

GitHub Stars

31

下载量

245
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vercel(Vercel 搜索)
来源仓库:https://github.com/rawveg/skillsforge-marketplace
仓库路径:skills/vercel
安装命令:
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill vercel
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rawveg/skillsforge-marketplace --skill vercel

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装方式:github,命令为 npx skills add https://github.com/rawveg/skillsforge-marketplace --skill vercel。
  • 建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

SKILL.md

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: Automatic deployments for every git push to non-production branches
  2. Production Deployments: Deployments to production domain from main branch or via --prod flag
  3. Build Artifacts: Local builds with vercel build upload only compiled output
  4. Environment Variables: Different values for development, preview, and production

Reference Files

This skill includes comprehensive documentation in references/:

  • api.md - Vercel REST API endpoints, authentication, and integration patterns
  • llms-full.md - Complete Vercel documentation for comprehensive reference
  • llms-small.md - Condensed documentation for quick lookups

Use view to read specific reference files when detailed information is needed.

Working with This Skill

For Beginners

Start with basic deployment workflows:

  1. Install Vercel CLI: npm i -g vercel
  2. Authenticate: vercel login
  3. Deploy your first project: vercel
  4. Learn about vercel.json configuration basics

For Intermediate Users

Focus on:

  • Custom build configurations in vercel.json
  • Environment variable management across environments
  • Setting up cron jobs for scheduled tasks
  • Working with serverless functions
  • Git integration and preview deployments

For Advanced Users

Explore:

  • Vercel REST API for programmatic deployments
  • Custom CI/CD pipelines with vercel build and vercel deploy --prebuilt
  • Edge runtime and middleware configurations
  • Multi-tenant application patterns
  • Team management and access control
  • AI SDK integration and agent deployment

Navigation Tips

  • Use CLI commands for rapid iteration during development
  • Use REST API for automation and custom workflows
  • Reference vercel.json schema for configuration validation
  • Check rate limits when building high-volume integrations
  • Use team IDs for accessing shared resources

Platform Capabilities

Computing Infrastructure

  • Serverless Functions: Node.js, Python, Go, Ruby, Bun, Wasm runtimes
  • Edge Runtime: Low-latency edge computing
  • Fluid Compute: Active CPU allocation for optimal performance
  • Streaming Support: Real-time data streaming capabilities
  • Cron Jobs: Scheduled function execution

Development Features

  • Framework Support: Next.js, SvelteKit, Nuxt, Astro, and 30+ more
  • Git Integration: GitHub, GitLab, Bitbucket, Azure DevOps
  • Automatic CI/CD: Preview environments for every push
  • Environment Variables: Secure secrets management
  • Deployment Protection: Password protection and access control

AI Capabilities

  • AI SDK: Language model integration framework
  • AI Gateway: Multi-provider LLM routing
  • Agent Building: Frameworks for AI agents
  • MCP Servers: Model Context Protocol server deployment

Performance & Optimization

  • CDN: Global edge network
  • Image Optimization: Automatic image processing
  • OG Image Generation: Dynamic social media images
  • Caching: Intelligent caching strategies

Common Use Cases

  1. Marketing Sites: Rapid deployment with preview environments
  2. E-commerce Platforms: Composable commerce with serverless architecture
  3. SaaS Applications: Multi-tenant applications with edge computing
  4. AI Applications: AI-powered apps with intelligent infrastructure
  5. API Backends: Hosting RESTful APIs and GraphQL servers
  6. Static Sites: Optimized static site delivery
  7. Jamstack Applications: Modern web architectures

Resources

Official Documentation

references/

Organized documentation extracted from official sources. These files contain:

  • Detailed API endpoint specifications
  • Complete configuration options
  • Framework-specific deployment guides
  • Code examples with best practices
  • Links to original documentation

scripts/

Add helper scripts here for common automation tasks such as:

  • Deployment automation scripts
  • Environment variable management
  • Team resource provisioning
  • Batch operations on projects

assets/

Add templates, boilerplate, or example projects here such as:

  • vercel.json templates for different use cases
  • Serverless function boilerplates
  • Edge middleware examples
  • CI/CD workflow templates

Best Practices

  1. Security

- Always set expiration dates on access tokens - Use team-scoped tokens for shared resources - Store tokens in secure environment variables - Rotate tokens regularly

  1. Performance

- Use --prebuilt for faster deployments in CI/CD - Enable caching for build dependencies - Optimize images using Vercel's image optimization - Use Edge runtime for low-latency operations

  1. Configuration

- Version control your vercel.json configuration - Use environment-specific settings appropriately - Document custom build commands - Test configurations in preview environments first

  1. API Integration

- Implement retry logic for rate-limited requests - Handle pagination for large result sets - Monitor rate limit headers proactively - Use team IDs consistently for team resources

Notes

  • This skill provides guidance based on Vercel's latest documentation (as of January 2025)
  • Reference files preserve structure and examples from official documentation
  • Code examples include proper language detection for syntax highlighting
  • Quick reference patterns are extracted from common usage scenarios

Updating

To refresh this skill with updated documentation:

  1. Re-run the documentation scraper with Vercel URLs
  2. Update reference files with latest API changes
  3. Verify code examples against current API versions
  4. Test configurations with latest CLI version

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.37%
按下载量换算67

Antigravity

24.98%
按下载量换算61

windsurf

15.86%
按下载量换算39

Codex

12.54%
按下载量换算31

OpenCode

7.96%
按下载量换算20

Gemini CLI

3.35%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills