Building AI/LLM and agent apps with Vue 3 and Nuxt: streaming chat UIs, the Vercel AI SDK (`ai` + `@ai-sdk/vue`), `useChat`, tool calling, structured output, and abort/error handling. Load for AI chatbots, assistant UIs, LLM streaming, or agent frontends in Vue or Nuxt.
Ships in vue-skills-bundle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Building the Vue/Nuxt front end for LLM and agent features with the Vercel AI SDK. This skill covers the Vue-specific integration; the model layer (streamText, tool, providers) is shown as shape only — follow the AI SDK docs for the current core API, which moves between minor versions.
Assumes the foundations in vue-best-practices (Composition API, <script setup lang="ts">, composables). Load that skill for component structure and reactivity.
streamText/streamObject and returns a stream; the Vue component renders it incrementally. Never block on the full response.UIMessage[] made of typed parts (text, tool calls, reasoning). Iterate message.parts.status, not a boolean. Disabled inputs, spinners, and the stop button key off the status state machine.ai (core), @ai-sdk/vue (composables), a provider (@ai-sdk/openai, @ai-sdk/anthropic, …), zod for tool/object schemas.useChat from @ai-sdk/vue works against any streaming backend. The server snippets here use Nuxt/Nitro (defineEventHandler, readBody); for a non-Nuxt backend, keep the same AI SDK calls in your own route handler.ai@7 / @ai-sdk/vue@4: messages have parts; the hook does not manage input; status is 'submitted' | 'streaming' | 'ready' | 'error'; tool schemas use inputSchema; useObject is exported as experimental_useObject. The pre-v5 API (ai@4: message.content, hook-managed input, isLoading, parameters) differs — check the installed version first.streamText + toUIMessageStreamResponse().useChat() returns Vue refs. Own your own input ref; call sendMessage({ text }). Render message.parts.stop(), the error ref, and onError. A streaming UI without an abort path is not done.message.parts, not message.content.status is submitted/streaming.clearError() + regenerate()).zod.What SKILL.md sets; muted values are Claude Code's defaults
/vue-skills-bundle:vue-ai-appsfrom vue-skills-bundle
npx claudepluginhub pymodel/vue3-best-practices --plugin vue-skills-bundle8 skills in this plugin
/vue-best-practicesMUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API./vue-debug-guidesVue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues./vue-jsx-best-practicesJSX syntax in Vue (e.g., class vs className, JSX plugin config).Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Aug 18, 2026