What problem does it solve? The Vercel AI SDK evolves rapidly, and outdated knowledge leads to deprecated APIs, type errors, and broken code. This Skill forces verification against current documentation and source code, ensuring generated code uses the latest APIs like ToolLoopAgent, generateText, and useChat correctly. ## Core Features & Use Cases - Up-to-date API guidance: Searches bundled docs in node_modules/ai/docs/ and ai-sdk.dev instead of relying on stale training data. - Common error resolution: Maps deprecated patterns (maxTokens, maxSteps, parameters, generateObject) to their modern replacements. - Type-safe agent patterns: Provides end-to-end type safety between ToolLoopAgent definitions and useChat via InferAgentUIMessage. - Use Case: A developer asks to add a streaming chatbot to a Next.js app. The Skill checks the installed ai package version, fetches current model IDs from the Vercel AI Gateway, and generates code using toUIMessageStreamResponse and DefaultChatTransport. ## Quick Start Ask the assistant to build an AI agent with tool calling using the AI SDK and let it verify the current APIs from the installed package docs.