What problem does it solve? Building backend AI features requires juggling multiple provider APIs, inconsistent error types, and breaking changes between SDK versions. This Skill provides production-ready patterns for the Vercel AI SDK v5, covering text generation, structured output, tool calling, and multi-provider configuration in one place. ## Core Features & Use Cases - Four Core Functions: Guidance and templates for generateText, streamText, generateObject, and streamObject with Zod schema validation. - Multi-Provider Setup: Configuration patterns for OpenAI, Anthropic, Google Gemini, and Cloudflare Workers AI through a unified API. - Error Catalog & Migration: Solutions for 12 common errors (AI_APICallError, AI_NoObjectGeneratedError, Worker startup limits) plus a v4-to-v5 migration guide. - Use Case: You are building a Next.js API route that extracts structured contact data from user-submitted text. Use this Skill to generate a generateObject implementation with a Zod schema, proper error handling, and retry logic. ## Quick Start Ask the AI to generate a TypeScript function using the Vercel AI SDK v5 that streams a chat response from OpenAI with error handling.