Skip to content

Expert Vercel and Next.js deployment guidance covering environment variables, runtimes, and build optimization.

CCM score
55 of 100
skills.sh installs
434
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers environment variable setup, edge versus serverless runtime choice, and build optimization for faster deployments
  • Includes anti-patterns such as exposing secrets through NEXT_PUBLIC_, sharing databases across preview deployments, and skipping the build cache
  • Lists 8 sharp edges with severity ratings, including missing Node.js APIs on the edge runtime and stale data after deployment
  • Designed for Next.js projects that need production hosting, and works alongside nextjs-app-router and supabase-backend

Install

$ npx -y skills add davila7/claude-code-templates --skill vercel-deployment -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Environment Variables Setup

Properly configure environment variables for all environments

Edge vs Serverless Functions

Choose the right runtime for your API routes

Build Optimization

Optimize build for faster deployments and smaller bundles

Anti-Patterns

❌ Secrets in NEXT_PUBLIC_

❌ Same Database for Preview

❌ No Build Cache

⚠️ Sharp Edges

Details

Repository
github.com/davila7/claude-code-templates
Categories
DevOps & Cloud, Frontend & UI Code
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Vercel Deployment

More DevOps & Cloud