---
name: Vercel Deployment
description: Fix Next.js and Vercel deployment failures, environment issues, build output problems, and production routing regressions.
---

# Vercel Deployment

Use this skill when the repo has Vercel or Next.js evidence such as `vercel.json`, `next`, or `next.config.*`.

## Workflow

1. Inspect `vercel.json`, Next config, package scripts, and deployment logs.
2. Check build command, output directory, environment variables, and route/runtime settings.
3. Patch the minimal config or code path that explains the deployment failure.
4. Verify with the project build command and any available Vercel validation.
