vercel-ai-sdk
✓Vercel AI SDK v5 实现模式指南,包括generateText、streamText、useChat hook、工具调用、嵌入和 MCP 集成。在实现 AI 聊天界面、流式响应、工具/函数调用、文本嵌入或使用 ConvertToModelMessages 和 toUIMessageStreamResponse 时使用。激活 AI SDK 集成、useChat 挂钩使用、消息流或工具调用任务。
SKILL.md
NEVER accept "Module not found" errors as environment issues YOU must install the required packages with the CORRECT package manager
NEVER stop at "build fails but code is correct" NEVER blame "environment" or "framework bugs" without debugging KEEP ITERATING until the build PASSES If you encounter a framework error, research it, try workarounds, debug it DO NOT give up until you have a passing build
NEVER accept test failures without debugging NEVER dismiss failures as "test framework bugs" without investigation Each test failure is telling you something - LISTEN to it KEEP DEBUGGING until all tests pass Test failures are NOT acceptable - they mean your implementation is incomplete
Vercel AI SDK v5 实现模式指南,包括generateText、streamText、useChat hook、工具调用、嵌入和 MCP 集成。在实现 AI 聊天界面、流式响应、工具/函数调用、文本嵌入或使用 ConvertToModelMessages 和 toUIMessageStreamResponse 时使用。激活 AI SDK 集成、useChat 挂钩使用、消息流或工具调用任务。 来源:wsimmonds/claude-nextjs-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/wsimmonds/claude-nextjs-skills --skill vercel-ai-sdk- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 vercel-ai-sdk?
Vercel AI SDK v5 实现模式指南,包括generateText、streamText、useChat hook、工具调用、嵌入和 MCP 集成。在实现 AI 聊天界面、流式响应、工具/函数调用、文本嵌入或使用 ConvertToModelMessages 和 toUIMessageStreamResponse 时使用。激活 AI SDK 集成、useChat 挂钩使用、消息流或工具调用任务。 来源:wsimmonds/claude-nextjs-skills。
如何安装 vercel-ai-sdk?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/wsimmonds/claude-nextjs-skills --skill vercel-ai-sdk 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/wsimmonds/claude-nextjs-skills