vercel-deployment

sickn33/antigravity-awesome-skills · updated Apr 8, 2026

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill vercel-deployment
0 commentsdiscussion
summary

Expert guidance for deploying Next.js applications to Vercel with environment and runtime optimization.

  • Covers environment variable configuration across dev, preview, and production environments, with emphasis on preventing secrets exposure via NEXT_PUBLIC_
  • Distinguishes between Edge and Serverless function runtimes, helping you choose the right execution model for API routes and functions
  • Addresses build optimization strategies to reduce cold starts, bundle size, and deployment time
skill.md

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.

When to Use This Skill

Use this skill when:

  • Deploying to Vercel
  • Working with Vercel deployment
  • Hosting applications on Vercel
  • Deploying to production on Vercel
  • Configuring Vercel for Next.js applications

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

Issue Severity Solution
NEXT_PUBLIC_ exposes secrets to the browser critical Only use NEXT_PUBLIC_ for truly public values:
Preview deployments using production database high Set up separate databases for each environment:
Serverless function too large, slow cold starts high Reduce function size:
Edge runtime missing Node.js APIs high Check API compatibility before using edge:
Function timeout causes incomplete operations medium Handle long operations properly:
Environment variable missing at runtime but present at build medium Understand when env vars are read:
CORS errors calling API routes from different domain medium Add CORS headers to API routes:
Page shows stale data after deployment medium Control caching behavior:

Related Skills

Works well with: nextjs-app-router, supabase-backend

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.635 reviews
  • Dhruvi Jain· Dec 24, 2024

    We added vercel-deployment from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Ren Diallo· Dec 12, 2024

    vercel-deployment is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Olivia Johnson· Dec 8, 2024

    Useful defaults in vercel-deployment — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Yusuf Huang· Nov 27, 2024

    We added vercel-deployment from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Rahul Santra· Nov 23, 2024

    vercel-deployment fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Oshnikdeep· Nov 15, 2024

    Useful defaults in vercel-deployment — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Chinedu Farah· Nov 3, 2024

    Keeps context tight: vercel-deployment is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ama Mensah· Oct 22, 2024

    I recommend vercel-deployment for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Liam Robinson· Oct 18, 2024

    vercel-deployment reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Pratham Ware· Oct 14, 2024

    vercel-deployment has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 35

1 / 4