oakoss/agent-skills/vercel-deployment

Claude Code and agent skill by oakoss/agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Vercel deployment configuration, preview environments, and edge functions. Covers vercel.json and vercel.ts configuration, rewrites, redirects, headers, environment variables across production/preview/development, custom domains, DNS setup, edge and serverless functions, Vercel CLI, GitHub Actions CI/CD, and monorepo deployments. Use when deploying to Vercel, configuring builds, setting up preview branches, managing environment variables, configuring custom domains, or using edge/serverless fun…

Install

npx vskill@latest install oakoss/agent-skills/vercel-deployment

SKILL.md

The same SKILL.md was published earlier as oakoss/agent-skills/vercel-deployment.

Vercel Deployment

Overview

Vercel is a cloud platform for deploying frontend frameworks and serverless functions with automatic CI/CD, preview deployments, and edge infrastructure. Projects are configured via vercel.json (or programmatic vercel.ts), the Vercel dashboard, or the Vercel CLI.

When to use: Static sites, SSR frameworks (Next.js, SvelteKit, Nuxt), serverless API routes, edge functions, preview environments per pull request, monorepo deployments.

When NOT to use: Long-running backend processes (use containers), WebSocket servers (use dedicated infrastructure), heavy compute workloads (use cloud VMs), applications requiring persistent file system access.

Quick Reference

PatternTool / APIKey Points
Project configvercel.json or vercel.tsRoot of project, controls builds/routing/functions
Rewritesrewrites arrayRoutes request to destination, URL unchanged
Redirectsredirects arrayChanges URL, permanent: true for 301
Headersheaders arrayCustom response headers per path pattern
Clean URLscleanUrls: trueStrips .html extensions
Trailing slashtrailingSlash: falseConsistent URL format
Environment varsDashboard or vercel envScoped to production, preview, development
Custom domainsProject Settings > DomainsA record for apex, CNAME for subdomains
Preview deploysAutomatic per PREach push gets unique URL
Edge functionsexport const runtime = 'edge'V8 isolates, low latency, limited Node.js APIs
Serverless functionsapi/ directory or framework routesNode.js runtime, full API access
Deploy via CLIvercel or vercel --prodPreview by default, --prod for production
Promote deployvercel promote <url>Promote existing preview to production
MonorepoRoot directory setting per projectOne repo, multiple Vercel projects
GitHub integrationAutomatic on pushZero-config CI/CD with preview per branch
Programmatic configvercel.ts with @vercel/configTyped, dynamic configuration alternative
Fluid computeEnabled by default for new projectsMulti-request workers, 300s default duration
Rolling releasesIncremental rollout with monitoringGradual traffic shift with auto-rollback triggers
Firewall rulesvercel.json WAF configurationBlock threats via dashboard, API, or config file

Common Mistakes

MistakeCorrect Pattern
Using .env.production for preview-specific valuesUse Vercel environment variables scoped to preview environment
Expecting VERCEL_URL to include protocolPrepend https:// manually; use VERCEL_PROJECT_PRODUCTION_URL for stable production URL
Adding only apex domain without wwwAdd both yourdomain.com and www.yourdomain.com to avoid 404 on one
Using Node.js APIs in edge functionsEdge runtime uses V8 only; fs, path, process are unavailable
Exceeding 1024 static redirectsUse bulkRedirects property for large redirect sets (CSV/JSON/JSONL)
Creating QueryClient or fetching in edge without streamingUse streaming responses for long operations in edge functions
Setting maxDuration above plan limitFluid compute default: 300s; Hobby: 60s, Pro: 300s, Enterprise: 900s max
Conflicting DNS records for custom domainRemove duplicate A records; keep only the Vercel-pointing record
Not awaiting build in CI before deployUse vercel build then vercel deploy --prebuilt for reliable CI deploys
Ignoring monorepo root directory settingSet root directory per project in Vercel dashboard for correct builds

Delegation

  • Infrastructure review: Use Task agent to audit deployment configuration
  • Environment debugging: Use Explore agent to trace environment variable issues
  • CI/CD pipeline review: Use code-reviewer agent for GitHub Actions workflow review

References

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8
Repository forks
1
Repository npm downloads, 7 days
138
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 3 Apr 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/oakoss/agent-skills/vercel-deployment/badge)](https://verified-skill.com/skills/oakoss/agent-skills/vercel-deployment)

Something wrong with this skill or its page? Tell us.