vercel-storage

Guides selection, configuration, and migration of Vercel storage products including Blob, Global Config, Neon Postgres, and Upstash Redis.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/dsgalkar/dnyaneshwar_portfolio --skill vercel-storage-dsgalkar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-storage
Source: https://github.com/dsgalkar/dnyaneshwar_portfolio/tree/main/.agents/plugins/vercel/skills/vercel-storage
Command: npx skills add https://github.com/dsgalkar/dnyaneshwar_portfolio --skill vercel-storage-dsgalkar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing and configuring the right data storage for Vercel applications is confusing, especially since @vercel/postgres and @vercel/kv are sunset and Edge Config was renamed to Global Config. This Skill provides expert guidance on which storage product to use, how to provision it via the Vercel Marketplace, and how to migrate away from deprecated packages. ## Core Features & Use Cases - Storage Decision Matrix: Maps needs (file uploads, feature flags, relational data, caching, realtime sync) to the correct product and npm package. - Deprecation Detection & Migration: Flags @vercel/postgres and @vercel/kv imports and provides drop-in migration paths to @neondatabase/serverless and @upstash/redis. - Marketplace Provisioning Guidance: Covers vercel integration add flows for Neon, Upstash, Supabase, Prisma, MongoDB Atlas, Convex, and Turso with automatic environment variable injection. - Use Case: You import @vercel/kv in a Next.js project. The Skill detects the deprecated package, explains the migration to Upstash Redis with Redis.fromEnv(), and walks you through one-click Marketplace provisioning. ## Quick Start Ask the assistant to help you choose and set up the right Vercel storage option for your project, such as migrating from @vercel/postgres to Neon.

Frequently Asked Questions about vercel-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from @vercel/postgres to Neon?

Replace @vercel/postgres with @neondatabase/serverless by calling neon(process.env.DATABASE_URL) to get a sql tagged-template client. For minimal changes, use @neondatabase/vercel-postgres-compat, and run vercel integration add neon for automatic env var provisioning.

What replaces @vercel/kv for Redis on Vercel?

@upstash/redis replaces the sunset @vercel/kv package. Use Redis.fromEnv() to read the auto-provisioned UPSTASH_REDIS_REST_URL and TOKEN, then call set and get with the same basic API. Install via vercel integration add upstash.

Which Vercel storage should I use for file uploads?

Use Vercel Blob (@vercel/blob) for unstructured data like images, videos, and documents. It supports public and private access modes, client-side uploads up to 5 TB, and conditional gets with ETags.

Why does my Neon database connection crash next build?

The neon() call throws when DATABASE_URL is unset, and Next.js evaluates top-level module code at build time. Use lazy initialization with a getDb() function instead of a module-level client, and avoid JavaScript Proxy wrappers which break auth adapters.

Is @vercel/edge-config still supported?

Edge Config was renamed to Global Config, and @vercel/global-config is a drop-in replacement that reads GLOBAL_CONFIG with fallback to EDGE_CONFIG. The legacy package cannot read newly connected stores, so upgrade before connecting a new store.

When should I not use Vercel Global Config?

Do not use Global Config for user data, session state, or frequently written data. It is a read-optimized edge key-value store for feature flags, A/B testing config, and routing rules, not a general-purpose database.