Vercel ai Sdk Copilot Instructions
# Copilot Instructions — Vercel AI SDK
## Repository Overview
The Vercel AI SDK is a TypeScript library for building AI-powered applications with streaming support. It works with Next.js, Nuxt, SvelteKit, and other frameworks.
## Package Structure
This is a monorepo with the following packages:
| Package | Path | Description |
|---------|------|-------------|
| `ai` | `packages/ai/` | Core SDK — providers, streaming, tools |
| `@ai-sdk/openai` | `packages/openai/` | OpenAI provider |
| `@ai-sdk/anthropic` | `packages/anthropic/` | Anthropic provider |
| `@ai-sdk/google` | `packages/google/` | Google AI provider |
| `@ai-sdk/react` | `packages/react/` | React hooks (`useChat`, `useCompletion`) |
| `@ai-sdk/svelte` | `packages/svelte/` | Svelte stores |
| `@ai-sdk/vue` | `packages/vue/` | Vue composables |
## Developmentwhen to use it
Community prompt sourced from the open-source GitHub repo nagandla-sasidhar/slim (no explicit license). A "Vercel ai Sdk Copilot Instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
nagandla-sasidhar/slim · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions