Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vercel-storage

БесплатноБез исполняемых скриптовНе проверен

Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing…

vercelот vercel★ 356 звёзд на GitHub

Об этом скилле

Vercel Storage

You are an expert in Vercel's storage options. Know which products are active, which are sunset, and when to use each.

Provider Choice for Bootstrap

Choose storage provisioning paths in this order:

  1. Preferred: Vercel-managed Neon/Upstash through the Vercel Marketplace (vercel install <integration> or dashboard). This path auto-provisions accounts/resources and injects environment variables into the linked Vercel project. Do not use vercel storage create for these: it only creates Blob stores and Global Config (see Installing Marketplace Storage).
    • Prisma ORM projects (prisma/schema.prisma): prefer Prisma Postgres, vercel install prisma.
  2. Fallback: Provider CLI/manual provisioning only when Marketplace is unavailable or you must use an existing external account.

When using fallback/manual provisioning, you must add/sync environment variables yourself and then re-run vercel env pull .env.local --yes locally.

Active First-Party Storage

Vercel Blob — File Storage

Fast, scalable storage for unstructured data (images, videos, documents, any files).

npm install @vercel/blob
import { put, del, list, get } from '@vercel/blob'

// Upload from server (public)
const blob = await put('images/photo.jpg', file, {
  access: 'public',
})
// blob.url → public URL

// Upload private file
const privateBlob = await put('docs/secret.pdf', file, {
  access: 'private',
})
// Read a private file by pathname
const privateFile = await get('docs/secret.pdf', { access: 'private' })
if (privateFile?.statusCode === 200) {
  // privateFile.stream contains the body; privateFile.blob contains metadata
}

// Client upload (up to 5 TB)
import { upload } from '@vercel/blob/client'
const blob = await upload('video.mp4', file, {
  access: 'public',
  handleUploadUrl: '/api/upload', // Your token endpoint
})

// List blobs
const { blobs } = await list()

// Conditional get with ETags
const response = await get('images/photo.jpg', {
  access: 'public', // `access` is required and must match the store
  ifNoneMatch: previousETag,
})
if (response?.statusCode === 304) {
  // Not modified, use cached version
}

// Delete
await del('images/photo.jpg')

Private Storage (generally available): Create a private store with vercel blob create-store <name> --access private. Connected projects use short-lived OIDC credentials and BLOB_STORE_ID by default. Use access: 'private' for uploads and reads. To deliver a private file, authenticate the request in your own route, call get(pathname, { access: 'private' }), return 404 when the result is null, and otherwise stream result.stream to the caller. Use presignUrl() when a caller needs temporary direct access. Pass useCache: false only when a read must reflect an overwrite immediately.

Blob Data Transfer: Public blob downloads, and Functions fetching private blobs from the store, use Blob Data Transfer (19 regional hubs, cost-optimized for large assets). When a Function streams a private blob to users, that response uses Fast Data Transfer (126+ PoPs across 51 countries, latency-optimized).

Use when: Media files, user uploads, documents, any large unstructured data.

Vercel Global Config (formerly Edge Config)

Ultra-low-latency key-value store for application configuration. Not a database — designed for config data that must be read instantly at the edge. Renamed from Edge Config in July 2026 — the store itself is unchanged.

npm install @vercel/global-config
import { get, getAll, has } from '@vercel/global-config'

// Read a single value (< 1ms at the edge)
const isFeatureEnabled = await get('feature-new-ui')

// Read multiple values
const config = await getAll(['feature-new-ui', 'ab-test-variant', 'redirect-rules'])

// Check existence
const exists = await has('maintenance-mode')

Use when: Feature flags, A/B testing config, dynamic routing rules, maintenance mode toggles. Anything that must be read at the edge with near-zero latency.

Do NOT use for: User data, session state, frequently written data. Global Config is optimized for reads, not writes.

Migration: @vercel/global-config is a drop-in replacement for @vercel/edge-config. It reads the GLOBAL_CONFIG env var and falls back to EDGE_CONFIG, so upgrading is always safe. The legacy package only reads EDGE_CONFIG and cannot read newly connected stores — upgrade before connecting a new store. The vercel edge-config CLI command is now vercel global-config (old form still works). https://vercel.com/docs/global-config/migration-guide

Next.js 16: @vercel/edge-config@^1.4.3 supports cacheComponents and the renamed proxy.ts (formerly middleware.ts); @vercel/global-config carries this forward.

Marketplace Storage (Partner-Provided)

IMPORTANT: @vercel/postgres and @vercel/kv are SUNSET

These packages no longer exist as first-p

Полный SKILL.md на GitHub

Установить vercel-storage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.vercel.approvers

FAQ

Что делает скилл vercel-storage?

Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.

Как установить скилл vercel-storage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл vercel-storage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить vercel-storage с