본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)33k · #8810

vercel-deployment

하는 일

이 스킬은 Vercel에서 Next.js 애플리케이션을 운영하기 위한 모범 사례를 공유합니다. 배포를 안전하고 빠르며 관리하기 쉽게 하려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓Vercel에 Next.js 앱을 처음 설정할 때.
  • ✓미리보기와 프로덕션의 환경 변수를 관리해야 할 때.
  • ✓Vercel 빌드가 느리거나 함수에 콜드 스타트 문제가 있는 경우.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/vercel-deployment/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/vercel-deployment/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Next.js용 Vercel 설정을 검토하고, 출시 전에 고쳐야 할 것을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 비밀 값을 공개 변수에 넣지 않기, 엣지 또는 서버리스 런타임 고르기, 빌드 캐시 쓰기 같은 원칙에 따라 설정을 점검합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

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

자주 묻는 질문

흔한 실수는 무엇인가요?

NEXT_PUBLIC 변수에 비밀 값을 넣는 것으로, 이는 브라우저에 값을 노출합니다.

엣지와 서버리스 중 고르는 데 도움을 주나요?

네. API 라우트에 맞는 런타임을 고르는 방법을 설명합니다.

미리보기 배포는 프로덕션 데이터베이스를 써야 하나요?

아니요. 스킬은 환경마다 별도의 데이터베이스를 쓰라고 조언합니다.

상세 정보

작성자의 원본 설명

Expert knowledge for deploying to Vercel with Next.js Use when: vercel, deploy, deployment, hosting, production.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8810
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬