
Boost Vue and Nuxt AI agents by equipping them with focused skills, docs-first research, live app context when needed, parallel Git worktrees, and automated testing and type-checking feedback.
Reza Baar
December 1, 2026
Everyone has an agent in their editor now. The gap isn't access anymore, it's technique. The developers shipping fast with Claude Code, Codex, and Cursor aren't writing better prompts; they're engineering the context the agent runs in. Here's what that looks like on a Vue and Nuxt codebase in 2026.
The plain AGENTS.md / CLAUDE.md rules file was last year's move. The sharper pattern is Agent Skills: a folder with a SKILL.md that holds focused instructions, API references, and templates, loaded progressively instead of dumped into context all at once. It's an open standard, so the same skill works across Claude Code, Cursor, Copilot, and Windsurf.
The gem here is that you don't write the Vue ones yourself.
antfu/skills covers vue, nuxt, pinia, vite, vitest, vueuse-functions, plus vue-best-practices, vue-router-best-practices, and vue-testing-best-practices. They're generated from the official docs via git submodules, so they track the real API instead of a model's stale memory.npx skills add antfu/skills --skill='*'
# or target one agent
npx skills add antfu/skills --skill='vue' --agent claude-code
npx skills add nuxt/ui. It knows the components, semantic-color theming, useToast / useOverlay, and Standard Schema form validation, and loads reference files on demand.SKILL.md per concern (API route conventions, testing, your SFC tag order) in .claude/skills/, version-controlled like any other code.
Published skills for the framework, a thin skill for your house style. That stack alone outclasses any rules file.This is the counterintuitive one. The instinct is to bolt a documentation MCP onto your agent. The sharper move is often to skip it.
MCP carries a context tax: every tool definition loads upfront, and every intermediate result passes back through the model. For docs, you can get the same result for a fraction of the tokens with a research subagent:
.claude/agents whose job is "documentation-first."llms.txt, finds the relevant pages, and answers from current docs.llms.txt beats a general model guessing, and it beats a heavyweight MCP on token cost. Reach for MCP when you need live state, which is the next tip.MCP shines where static docs can't help: letting an agent see your running app. vite-plugin-vue-mcp (by webfansplz) exposes your live component tree, component state, routes, and Pinia stores to the agent over MCP.
That changes the kind of bug it can fix. Instead of describing a reactivity problem, you let the agent read the actual component state and router at runtime, reason against reality, and propose a fix. Debugging blind becomes debugging with eyes.
The single biggest throughput unlock this year, and most people still run one agent at a time. Git worktrees let you check out multiple branches into separate directories from one repo, so you can run several agents at once, each isolated in its own worktree, with no file collisions.
git worktree add ../app-feature-a feature-a
git worktree add ../app-bugfix-b bugfix-b
# point one agent at each directory
The mindset shift: you stop babysitting one agent and start reviewing the output of three. One scaffolds a feature, one writes tests, one chases a bug, in parallel, each on its own branch. You become the reviewer and integrator, not the typist.
An agent is only as good as the signal it gets back. On a Vue project, the best reviewers are already in your toolchain, so give the agent access to them:
vue-tsc is a brutal, honest reviewer. An agent that runs it fixes its own type errors before you see them.npm run dev and read the errors self-corrects.
Scope each run to one feature or fix with a clear done-state. "Add the invoice filter and make vue-tsc and the tests pass" closes its own loop. "Improve the dashboard" never finishes.These are the patterns the good skills enforce, and the ones worth putting in your own:
useFetch in setup, $fetch only in event handlers and form submits. This one quietly prevents double-fetching.useMouse, useLocalStorage, and friends already exist and are better than a model's first draft.shallowRef when you don't need deep reactivity, especially for large structures.useTemplateRef and onWatcherCleanup are the current idioms, so tell your agent to use them.If you take one thing: stop prompting from scratch, and start shipping the agent its context. Published framework skills, a thin team skill, a docs-first research subagent, and runtime state over MCP when you need it. That setup is the difference between an agent that invents meh Vue and one that writes the Vue your team actually ships.
antfu/skills for Vue/Nuxt and layer a thin team skill on topvite-plugin-vue-mcp for live component, state, route, and Pinia inspectionvue-tsc, Vitest, and your dev server so they close their own feedback loopuseFetch vs $fetch, VueUse first, shallowRef, useTemplateRef, onWatcherCleanupThe leverage in 2026 isn't the model, it's the harness around it. Curated skills, a lean research subagent, runtime MCP, parallel worktrees, and a tight feedback loop turn an agent from a clever autocomplete into a teammate that ships Vue to your standard. I’d set the context first, then let it run.
I hope this post has been helpful. Happy coding!
Ready to prove your Nuxt skills?
Get certified in NuxtKeep learning Nuxt. Then get certified when you are ready.

Authoring Nuxt Modules: Nuxt Kit and Publishing to NPM
Learn to build, test, type, and publish Nuxt modules using Nuxt Kit, separating build-time definitions from runtime code and preparing packages for npm and the Nuxt registry.
Reza Baar

Handling Cookies in a Nuxt App
Learn to manage cookies in Nuxt with SSR-friendly useCookie and server utilities, refresh values, support SPA mode, and secure sensitive cookies with httpOnly, secure, and sameSite options.
Reza Baar

Which Fetch? A One Page Reference for Nuxt Data Fetching
Choose among Nuxt’s $fetch, useFetch, useAsyncData, and lazy variants based on rendering, interaction, and data needs, while avoiding common pitfalls with keys, caching, SSR, and payloads.
Reza Baar