
Description
Migrate-ai-sdk-v6-to-v7 is an agent skill that moves an application from the Vercel AI SDK 6.x to version 7.0. It uses the SDK's own migration guide from its repository as the source of truth and treats the skill as a working checklist that points back to the guide for exact examples. The workflow starts by making sure there is a clean backup or committed baseline, then inspects the package files and lockfiles to see which AI SDK, provider, UI, MCP and telemetry packages are installed. It upgrades the SDK packages to the latest versions, adds the OpenTelemetry package only where the project uses OpenTelemetry spans, and updates the runtime and module assumptions. In version 7, Node.js must be 22 or newer, and the packages are ESM-only, so require calls must be replaced with ESM imports. The skill also covers the core API changes. It is useful when upgrading the SDK packages or fixing errors that appear after a v7 upgrade.…
Highlights
- Migrates AI SDK applications from 6.x to 7.0
- Starts from a clean backup or committed baseline
- Checks package files and lockfiles for installed AI SDK packages
- Notes Node.js 22 or newer and ESM-only packages
Ratings & Reviews
No ratings yet
Be the first to rate migrate-ai-sdk-v6-to-v7.
People also visit

prisma-upgrade-v7
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes

azure-upgrade
Assess and automate upgrades of Azure workloads across plans, tiers, and SKUs

prisma-mongodb-upgrade
Decision and migration guide for Prisma ORM MongoDB projects on v6
migrate-ai-sdk-v6-to-v7 FAQ
What does this skill migrate?
An application from the AI SDK 6.x line to AI SDK 7.0.
What do I need before I start?
A clean backup or a committed baseline, so the changes can be reviewed and reverted.
What runtime does v7 need?
Node.js 22 or newer, and the packages are ESM-only, according to the skill.
When should I add the OpenTelemetry package?
Only if the project uses OpenTelemetry spans.
Where are the exact examples?
In the SDK repository's migration guide for 7.0, which the skill uses as its source of truth.
How do I install it?
Run npx skills add https://github.com/vercel/ai --skill migrate-ai-sdk-v6-to-v7 in your terminal.
What are the best migrate-ai-sdk-v6-to-v7 alternatives?
Popular alternatives to migrate-ai-sdk-v6-to-v7 include prisma-upgrade-v7, azure-upgrade and prisma-mongodb-upgrade. See all migrate-ai-sdk-v6-to-v7 alternatives










