Skip to main content
skill

vercel-deployment · davila7 — Claude Code skill: ship Next.js to Vercel

A Claude skill that tells your agent how to deploy Next.js to Vercel: env vars per environment, edge vs serverless, build cache.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/vercel-deployment
Open on GitHub

What vercel-deployment does

The skill loads Vercel platform knowledge into your agent for Next.js work. It covers environment variables across dev, preview and production, picking between edge and serverless runtimes, trimming build size, and setting up monitoring. Your agent leans on that when you ask it to sort out a deployment.

There is a section on anti-patterns: secrets sitting in NEXT_PUBLIC_ variables, one database shared by preview and production, no build cache. A sharp-edges table rates each issue by severity, from leaking secrets to the browser down to stale pages after a deploy.

The skill assumes a nextjs-app-router project. On Pages Router or another framework, the runtime and env-var advice needs checking before you apply it. Pairs with supabase-backend.

What it helps with

  • split environment variables across dev, preview and production
  • decide between edge and serverless for a given API route
  • shrink a serverless function and cut cold starts
  • test a preview deployment before pushing to production
  • trace a secret leaking into the client bundle

Example prompts for the agent

  • Check my next.config.js and tell me which env vars should differ per environment
  • This API route is slow on cold start — move it to edge or keep it serverless?
  • Why is the page showing stale data after deploy? Point me at the caching fix

How to install vercel-deployment

1claude-code-templates

npx claude-code-templates@latest --skill development/vercel-deployment

2Skills CLI (Vercel)

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

3Manually: put the files in place

~/.claude/skills/vercel-deployment/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/vercel-deployment/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about vercel-deployment

How do I install vercel-deployment in Claude?

Use the templates CLI: npx claude-code-templates@latest --skill development/vercel-deployment. Or the skills CLI: npx skills add davila7/claude-code-templates --skill vercel-deployment -a claude-code. The file lands at ~/.claude/skills/vercel-deployment/SKILL.md.

What does vercel-deployment do?

It gives your agent Vercel deployment knowledge for Next.js: per-environment env vars, runtime choice, build optimization, preview deploys and monitoring. It also lists anti-patterns and sharp edges with fixes.

What does the skill require?

A project built on nextjs-app-router. On other routers or frameworks, some of the runtime and env-var advice will not fit.

Similar skills

All skills for DevOps and infrastructure →

vercel-deployment by other authors comes first.

vercel-deployment sickn33 A skill that prepares and runs a Next.js project deployment to Vercel. Use it to set up a preview environment, validate environment variables, and ensure the build will succeed. CX Codex +1 1,800installs vercel-deployments devops-skills A skill for deploying frontend and full-stack apps on Vercel: previews, edge functions, environment variables and production guardrails. CX Codex +1 316installs vercel sanjeed5 A Cursor rule with opinionated guidance for building and deploying on Vercel. Useful when your agent writes Next.js code and you want it to follow the platform's conventions. ★ 3,579repo stars vercel-development Mindrally A rule set that steers your coding agent toward Next.js App Router, React Server Components and the Vercel AI SDK. Useful when the agent keeps reaching for client components by reflex. CX Codex +1 712installs nextjs-deployment giuseppe-trisciuoglio Provides production deployment patterns for Next.js. Sets up multi-stage Dockerfiles, GitHub Actions workflows, health checks, and OpenTelemetry instrumentation. CX Codex +1 3,700installs vercel-optimize vercel-labs A skill that audits Vercel spend and speed: it gathers usage and route metrics first, then recommends code and config changes. CX Codex +1 111,200installs netlify-development Mindrally A skill that gives your agent Netlify build and deploy rules: serverless and edge functions, Blobs, Image CDN, build config. Useful when it writes functions or edits netlify.toml. CX Codex +1 665installs

From the same set224

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor