Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Vercel Ai Sdk?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-vercel-ai-sdk)
---
name: vercel-ai-sdk
description: "Build AI features in TypeScript with the Vercel AI SDK: streamText, generateObject, tool calling, useChat and provider switching."
tags: [ai-agents, frontend, typescript]
---
# Vercel Ai Sdk
## When to use
- Next.js/React AI features
## Procedure
1. Use provider packages to switch models by config
2. Use generateObject with zod for structured data
3. Stream UI with useChat/useCompletion
4. Define tools with zod schemas
5. Run model calls server-side only
## Checklist
- [ ] API keys server-side only
- [ ] Schemas validated
## Anti-patterns
- Calling providers from the browser with exposed keys