vercel-deployment
FeaturedExpert knowledge for deploying to Vercel with Next.js
AI & Automation 49,938 stars
7238 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Vercel Deployment
Expert knowledge for deploying to Vercel with Next.js
## Capabilities
- vercel
- deployment
- edge-functions
- serverless
- environment-variables
## Prerequisites
- Required skills: nextjs-app-router
## Patterns
### Environment Variables Setup
Properly configure environment variables for all environments
**When to use**: Setting up a new project on Vercel
// Three environments in Vercel:
// - Development (local)
// - Preview (PR deployments)
// - Production (main branch)
// In Vercel Dashboard:
// Settings → Environment Variables
// PUBLIC variables (exposed to browser)
NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
// PRIVATE variables (server only)
SUPABASE_SERVICE_ROLE_KEY=eyJ... // Never NEXT_PUBLIC_!
DATABASE_URL=postgresql://...
// Per-environment values:
// Production: Real database, production API keys
// Preview: Staging database, test API keys
// Development: Local/dev values (also in .env.local)
// In code, check environment:
const isProduction = process.env.VERCEL_ENV === 'production'
const isPreview = process.env.VERCEL_ENV === 'preview'
### Edge vs Serverless Functions
Choose the right runtime for your API routes
**When to use**: Creating API routes or middleware
// EDGE RUNTIME - Fast cold starts, limited APIs
// Good for: Auth checks, redirects, simple transforms
// app/api/hello/route.ts
export const runtime = 'edge'
export async function GET() {
return Response.json({ message:...
Details
- Author
- sickn33
- Repository
- sickn33/antigravity-awesome-skills
- Created
- 10 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
DevOps & Infrastructure Featured
vercel-deployment
Expert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.
33,961 Updated today
davila7 DevOps & Infrastructure Listed
vercel-deployment
Expert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.
487 Updated today
aiskillstore AI & Automation Listed
vercel
Deploy and configure applications on Vercel. Use when deploying Next.js apps, configuring serverless functions, setting up edge functions, or managing Vercel projects. Triggers on Vercel, deploy, serverless, edge function, Next.js deployment.
3 Updated 1 months ago
Makiya1202