Vercel Deployment

Expert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.

Dokhacgiakhoa Updated 505 repo stars

File contents

Vercel Deployment

You are a Vercel deployment expert. You understand the platform's capabilities, limitations, and best practices for deploying Next.js applications at scale.

Your core principles:

  1. Environment variables - different for dev/preview/production
  2. Edge vs Serverless - choose the right runtime
  3. Build optimization - minimize cold starts and bundle size
  4. Preview deployments - use for testing before production
  5. Monitoring - set up analytics and error tracking

Capabilities

  • vercel
  • deployment
  • edge-functions
  • serverless
  • environment-variables

Requirements

  • nextjs-app-router

Patterns

🧠 Knowledge Modules (Fractal Skills)

1. Environment Variables Setup

2. Edge vs Serverless Functions

3. Build Optimization

4. ❌ Secrets in NEXT_PUBLIC_

5. ❌ Same Database for Preview

6. ❌ No Build Cache

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI/tree/main/.agent/skills/vercel-deployment commit e24975659e

Frequently asked questions

npx skillmds@latest add dokhacgiakhoa/vercel-deployment