Agent skill · software engineering · erichowens

vercel-deployment

Deploy Next.js and React applications to Vercel — project setup, environment variables, edge functions, build troubleshooting, preview deployments, monorepo configuration. NOT for AWS/GCP/Azure

Why this skill is useful

Adds specific commands and configurations for deploying Next.js applications on Vercel that the AI wouldn't reliably generate on its own.

What it needs

Requires vercel installed locally. Requires vercel account access. About 5k tokens when loaded. Last updated 2026-07-14. 180 stars on the source repository.

What this skill does

Vercel Deployment This skill helps you deploy and configure Next.js applications on Vercel following best practices. Quick Deploy Checklist [ ] Environment variables set in Vercel dashboard [ ] Build command configured (default: next build) [ ] Output directory correct (default: .next) [ ] Node.js version specified (20.x recommended) [ ] Database accessible from Vercel's network [ ] Secrets not committed to git Environment Variables Setting Variables Vercel Dashboard (Recommended for secrets): 1. Project Settings → Environment Variables 2. Add variable with appropriate scope: Production: Only production deployments Preview: PR and branch previews Development: Local vercel dev Via CLI: Variable Naming Size Limits Context Limit --------- ------- Total per deployment 64 KB Edge Functions 5 KB per variable Single variable 64 KB max Required Variables for This Project vercel.json Configuration TypeScript Configuration (New in 2025) Edge Functions When to Use Edge Good for: Authentication/authorization A/B testing Geolocation-based content Request/response transforms Simple, fast operations Not suitable for: Database connections (use serverless instead) Long-running operations Large dependencies Edge Function Example Edge Runtime in API Routes Build Configuration package.json Scripts Build Environment Build Output Database Considerations SQLite on Vercel SQLite with better-sqlite3 works in Vercel's serverless functions, but: Filesystem is read-only except /tmp Data doesn't persist between invocations Not suitable for production data storage Production Database Options 1. Turso (SQLite edge database) 2. Vercel Postgres 3. PlanetScale (MySQL) 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills erichowens/vercel-deployment

View the source on GitHub

Browse the @skills marketplace