소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 11일 16:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill vercel명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | vercel |
| description | Vercel — env vars, edge functions, caching, preview, monorepo. |
vercel.json)Keep vercel.json minimal — only override defaults when necessary.
{
"buildCommand": "npm run build",
"outputDirectory": ".next",
"installCommand": "npm ci",
"framework": "nextjs"
}
| Field | When to set | Notes |
|---|---|---|
framework | Always | Enables Vercel-specific optimizations |
buildCommand | Override only | Defaults to framework's standard build |
outputDirectory | Override only | Framework default is usually correct |
installCommand | When using npm ci or pnpm | Speeds up builds with frozen lockfiles |
regions | Latency-sensitive | Defaults to closest region; see Regions section |
Rules:
vercel.json or the repositoryvercel env addProduction, Preview, DevelopmentNEXT_PUBLIC_ (Next.js) or framework equivalent# Add a secret via CLI
vercel env add DATABASE_URL production
# Pull env vars to local .env.local (never commit this file)
vercel env pull .env.local
| Scope | When to use |
|---|---|
Production | Live traffic only |
Preview | All branch/PR deployments |
Development | Local vercel dev only |
Default: iad1 (Washington DC). Set per-project in vercel.json:
{ "regions": ["gru1"] }
| Code | Location | Best for |
|---|---|---|
iad1 | US East (N. Virginia) | Default, global baseline |
gru1 | South America (São Paulo) | Brazilian user base |
cdg1 | Europe (Paris) | EU user base |
sin1 | Asia (Singapore) | SEA / Asia-Pacific |
For globally distributed workloads, use Edge Functions (see below) instead of specifying multiple regions.
| Edge Functions | Serverless Functions | |
|---|---|---|
| Runtime | V8 isolates (no Node.js) | Node.js / Python / Go / Ruby |
| Cold start | ~0ms | 100–500ms |
| Max duration | 30s | 10s (Hobby) / 60s (Pro) |
| Use case | Auth, redirects, A/B, geo-routing | DB queries, heavy compute |
| File location | middleware.ts (Next.js) or /api with export const runtime = 'edge' | /api/*.ts (default) |
Prefer Edge for: response rewrites, authentication checks, geolocation headers, A/B testing flags.
Prefer Serverless for: anything requiring Node.js APIs, database connections, or long-running tasks.
{
"headers": [
{
"source": "/_next/static/(.*)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
},
{
"source": "/api/(.*)",
"headers": [{ "key": "Cache-Control", "value": "no-store" }]
}
]
}
immutable, 1 year TTLno-store by default; add s-maxage only for stable, non-user-specific responsesnext/image); avoid manual <img> tagsBuild cache: Vercel caches node_modules and framework build caches automatically between deployments. Use npm ci (not npm install) to ensure reproducible installs.
Every push to a non-production branch gets a unique preview URL.
Best practices:
VERCEL_URL env var checks in code for environment-aware configurationPreview scope env vars to point to staging databases, not production# Header to bypass preview password protection in CI
x-vercel-protection-bypass: <secret>
For monorepos, set Root Directory in the Vercel project settings (or via CLI --cwd) to the app subdirectory:
vercel --cwd apps/web
Or configure in vercel.json at the repo root:
{ "rootDirectory": "apps/web" }
Each app in the monorepo should be a separate Vercel project. Use Turborepo's remote cache with Vercel for faster CI builds:
npx turbo login
npx turbo link
vercel --prod only for intentional production deploys; CI should auto-deploy via Git integrationvercel logs --prodVERCEL_TOKEN secrets at least quarterly; scope tokens to the minimum required project| Problem | Cause | Fix |
|---|---|---|
| Function timeout in production | Default 10s limit on Hobby | Upgrade plan or move to Edge |
| Env var not available at build time | Set as Development not Preview/Production | Re-scope in dashboard → redeploy |
| Large bundle size warnings | Dependencies imported at top level | Use dynamic import() for heavy libs |
| Cold starts on API routes | Serverless function not warmed | Move to Edge, or use Vercel's Fluid Compute (Pro) |
| Preview URL auth blocks CI | Protection enabled | Add x-vercel-protection-bypass header in CI |