vue-expert

Diagnose and fix Vue 3 reactivity, Composition API, Pinia, and Nuxt SSR issues.

3|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/trudyan141/my-antigravity-agents-kit --skill vue-expert-trudyan141
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-expert
Source: https://github.com/trudyan141/my-antigravity-agents-kit/tree/main/templates/.agent/skills/vue-expert
Command: npx skills add https://github.com/trudyan141/my-antigravity-agents-kit --skill vue-expert-trudyan141

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging Vue 3 applications often involves subtle reactivity bugs, Composition API misuse, Pinia state inconsistencies, and Nuxt hydration mismatches that are hard to trace without deep framework knowledge. ## Core Features & Use Cases - Problem Playbooks: Step-by-step diagnosis and prioritized fixes (minimal, better, complete) for Composition API issues, reactivity bugs, lifecycle leaks, Pinia state management, component communication, SSR/Nuxt hydration, and template rendering. - Environment Detection: Shell commands to detect Vue version, build tool (Vite, Nuxt, Vue CLI), state management, and router setup before applying fixes. - Code Review Checklist: Framework-specific review criteria covering Composition API compliance, reactivity patterns, Pinia stores, component design, and performance. - Use Case: When a computed property stops updating or a Nuxt page throws a hydration mismatch, invoke this skill to run targeted grep diagnostics and receive a prioritized fix path with official documentation links. ## Quick Start Ask the assistant to use the vue-expert skill to diagnose why my Vue component's watcher is not triggering on a reactive object.

Frequently Asked Questions about vue-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Vue 3 reactivity not updating?

Vue reactivity issues usually come from destructuring reactive() objects directly, adding new properties, or mutating arrays incorrectly. Use toRefs() for destructuring, reactive() for objects, and enable deep watching with { deep: true } where needed.

How to debug Pinia store state not persisting?

Pinia state resets on navigation when stores are not properly registered or when direct mutations bypass actions. Use $patch for batch updates, define actions for business logic, and add a persistence plugin if state must survive reloads.

Why does Nuxt show a hydration mismatch error?

Hydration mismatches occur when server-rendered HTML differs from client output, often caused by Date(), Math.random(), or browser APIs like window and localStorage running during SSR. Wrap client-only code in <ClientOnly> or run it inside onMounted.

When should I use ref vs reactive in Vue 3?

Use ref for primitives and values you pass around, accessing them with .value in script. Use reactive for objects you keep intact, and prefer shallowRef or shallowReactive for large data structures to avoid deep tracking overhead.

Can I mix Options API with Composition API in one component?

Mixing Options API with Composition API in the same component is an anti-pattern that causes confusion with this context and lifecycle handling. Vue 3 favors <script setup> with composables, and mixins should be replaced by composables.