What problem does it solve? Adding AI capabilities to a web application involves many moving parts: streaming responses, tool calling, structured output validation, RAG over documents, and multi-model routing. This Skill provides production-grade patterns for Vercel AI SDK v6 so you avoid outdated v3/v4 APIs and ship AI features with rate limiting, cost controls, and error handling built in. ## Core Features & Use Cases - Streaming Chat: Build Next.js chat endpoints with streamText and the useChat React hook, including rate limiting and token usage logging. - Structured Output & Tool Calling: Extract typed data with generateObject and Zod schemas, and give models actionable tools with maxSteps loop protection. - RAG Pipelines: Ingest documents with embedMany, store vectors in pgvector, and answer questions with similarity-filtered retrieval. - Use Case: A user asks to add a support chatbot to their Next.js app that answers from company docs. The Skill produces a streaming chat route, a pgvector-backed RAG pipeline, and a React chat component with loading and error states. ## Quick Start Ask the AI to add a streaming chat feature with tool calling to your Next.js app using Vercel AI SDK v6.