rand-tech-vercel-blob
Installation
SKILL.md
Vercel Blob Integration
Vercel Blob is a serverless object storage solution for storing and serving files.
Guidelines
- Use the
@vercel/blobpackage for all blob operations. - The integration uses the
BLOB_READ_WRITE_TOKENenvironment variable (automatically configured in Vercel deployments). - Use
put()for uploads,del()for deletions, andlist()for listing files. - Set
access: 'public'for publicly accessible files. - File URLs are permanent and globally distributed via Vercel's edge network.
Example Files
app/api/upload/route.ts
import { put } from '@vercel/blob'
import { type NextRequest, NextResponse } from 'next/server'