vercel-storage
БесплатноБез исполняемых скриптовНе проверенVercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing…
от 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:
- 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 usevercel storage createfor 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.
- Prisma ORM projects (
- 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
Установить vercel-storage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic