BigHugger
sk Skill · vercel

migrate-ai-sdk-v6-to-v7

Migrate applications from AI SDK 6.x to AI SDK 7.0. Use when upgrading Vercel AI SDK packages, fixing v7 migration errors, or when the user mentions AI SDK v6, v7, upgrade, migration, breaking changes, system to instructions, fullStream, telemetry, tool context, or finalStep.

installs 8w
2,527
30-day movement
starts with the next reading
Related entries
1
Connections
0
TypeScript

An agent skill that guides migrating applications from Vercel AI SDK 6.x to 7.0, structured as a working checklist covering API renames, prompt and lifecycle changes, streaming and usage-shape updates, and package-specific checks. It points to the official 7.0 migration guide in the AI SDK repo as the source of truth and ends with typecheck, tests, and smoke-test validation steps.

Reach for it when upgrading AI SDK packages or fixing v7 migration errors, so breaking changes like system-to-instructions, fullStream, telemetry, tool context, and finalStep are handled systematically.

Use it to

  • Upgrade package.json dependencies from AI SDK 6.x to 7.0
  • Rename deprecated experimental_ APIs and lifecycle callbacks
  • Migrate system prompts to instructions and update usage/telemetry shapes
  • Replace deprecated streamText result helpers with stateless helpers
  • Validate the migration with typecheck, tests, and streaming smoke tests

For Developers upgrading Vercel AI SDK apps to v7

Host repository
vercel/ai
Installs, lifetime
4,200
Installs, 8 weeks
2,527
Host stars
27k
Host language
TypeScript
topicsvercel-ai-sdkmigrationupgradebreaking-changescheckliststreaming