vue-debug-guides▌
vuejs-ai/skills · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Comprehensive Vue 3 debugging reference covering reactivity, components, templates, lifecycle, SSR, and 100+ common runtime issues.
- ›Organized by feature area (reactivity, computed, watchers, components, templates, forms, lifecycle, SSR, TypeScript, animations, and more) with direct links to specific error scenarios and fixes
- ›Covers Vue 3 specific gotchas including ref unwrapping, proxy identity hazards, v-model IME composition, template ref timing, and hydration mismatches
- ›Addresses
Vue 3 debugging and error handling for runtime issues, warnings, async failures, and hydration bugs.
For development best practices and common gotchas, use vue-best-practices.
Reactivity
- Tracing unexpected re-renders and state updates → See reactivity-debugging-hooks
- Ref values not updating due to missing .value access → See ref-value-access
- State stops updating after destructuring reactive objects → See reactive-destructuring
- Refs inside arrays, Maps, or Sets not unwrapping → See refs-in-collections-need-value
- Nested refs rendering as [object Object] in templates → See template-ref-unwrapping-top-level
- Reactive proxy identity comparisons always return false → See reactivity-proxy-identity-hazard
- Third-party instances breaking when proxied → See reactivity-markraw-for-non-reactive
- Watchers only firing once per tick unexpectedly → See reactivity-same-tick-batching
Computed
- Computed getter triggers mutations or requests unexpectedly → See computed-no-side-effects
- Mutating computed values causes changes to disappear → See computed-return-value-readonly
- Computed value never updates after conditional logic → See computed-conditional-dependencies
- Sorting or reversing arrays breaks original state → See computed-array-mutation
- Passing parameters to computed properties fails → See computed-no-parameters
Watchers
- Async operations overwriting with stale data → See watch-async-cleanup
- Creating watchers inside async callbacks → See watch-async-creation-memory-leak
- Watcher never triggers for reactive object properties → See watch-reactive-property-getter
- Async watchEffect misses dependencies after await → See watcheffect-async-dependency-tracking
- DOM reads are stale inside watcher callbacks → See watch-flush-timing
- Deep watchers report identical old/new values → See watch-deep-same-object-reference
- watchEffect runs before template refs update → See watcheffect-flush-post-for-refs
Components
- Child component throws "component not found" error → See local-components-not-in-descendants
- Click listener doesn't fire on custom component → See click-events-on-components
- Parent can't access child ref data in script setup → See component-ref-requires-defineexpose
- HTML template parsing breaks Vue component syntax → See in-dom-template-parsing-caveats
- Wrong component renders due to naming collisions → See component-naming-conflicts
- Parent styles don't apply to multi-root component → See multi-root-component-class-attrs
Props & Emits
- Variables referenced in defineProps cause errors → See prop-defineprops-scope-limitation
- Component emits undeclared event causing warnings → See declare-emits-for-documentation
- defineEmits used inside function or conditional → See defineEmits-must-be-top-level
- defineEmits has both type and runtime arguments → See defineEmits-no-runtime-and-type-mixed
- Native event listeners not responding to clicks → See native-event-collision-with-emits
- Component event fires twice when clicking → See undeclared-emits-double-firing
Templates
- Getting template compilation errors with statements → See template-expressions-restrictions
- "Cannot read property of undefined" runtime errors → See v-if-null-check-order
- Dynamic directive arguments not working properly → See dynamic-argument-constraints
- v-else elements rendering unconditionally always → See v-else-must-follow-v-if
- Mixing v-if with v-for causes precedence bugs and migration breakage → See no-v-if-with-v-for
- Template function calls mutating state cause unpredictable re-render bugs → See template-functions-no-side-effects
- Child components in loops showing undefined data → See v-for-component-props
- Array order changing after sorting or reversing → See v-for-computed-reverse-sort
- List items disappearing or swapping state unexpectedly → See v-for-key-attribute
- Getting off-by-one errors with range iteration → See v-for-range-starts-at-one
- v-show or v-else not working on template elements → See v-show-template-limitation
Template Refs
- Ref becomes null when element is conditionally hidden → See template-ref-null-with-v-if
- Ref array indices don't match data array in loops → See template-ref-v-for-order
- Refactoring template ref names breaks silently in code → See use-template-ref-vue35
Forms & v-model
- Initial form values not showing when using v-model → See v-model-ignores-html-attributes
- Textarea content changes not updating the ref → See textarea-no-interpolation
- iOS users cannot select dropdown first option → See select-initial-value-ios-bug
- Parent and child components have different values → See define-model-default-value-sync
- Object property changes not syncing to parent → See definemodel-object-mutation-no-emit
- Real-time search/validation broken for Chinese/Japanese input → See v-model-ime-composition
- Number input returns empty string instead of zero → See v-model-number-modifier-behavior
- Custom checkbox values not submitted in forms → See checkbox-true-false-value-form-submission
Events & Modifiers
- Chaining multiple event modifiers produces unexpected results → See event-modifier-order-matters
- Keyboard shortcuts don't fire with system modifier keys → See keyup-modifier-timing
- Keyboard shortcuts fire with unintended modifier combinations → See exact-modifier-for-precise-shortcuts
- Combining passive and prevent modifiers breaks event behavior → See no-passive-with-prevent
Lifecycle
- Memory leaks from unremoved event listeners → See cleanup-side-effects
- DOM access fails before component mounts → See lifecycle-dom-access-timing
- DOM reads return stale values after state changes → See dom-update-timing-nexttick
- SSR rendering differs from client hydration → See lifecycle-ssr-awareness
- Lifecycle hooks registered asynchronously never run → See lifecycle-hooks-synchronous-registration
Slots
- Accessing child component data in slot content returns undefined values → See slot-render-scope-parent-only
- Mixing named and scoped slots together causes compilation errors → See slot-named-scoped-explicit-default
- Using v-slot on native HTML elements causes compilation errors → See slot-v-slot-on-components-or-templates-only
- Unexpected content placement from implicit default slot behavior → See slot-implicit-default-content
- Scoped slot props missing expected name property → See slot-name-reserved-prop
- Wrapper components breaking child slot functionality → See slot-forwarding-to-child-components
Provide/Inject
- Calling provide after async operations fails silently → See provide-inject-synchronous-setup
- Tracing where provided values come from → See provide-inject-debugging-challenges
- Injected values not updating when provider changes → See provide-inject-reactivity-not-automatic
- Multiple components share same default object → See provide-inject-default-value-factory
Attrs
- Both internal and fallthrough event handlers execute → See attrs-event-listener-merging
- Explicit attributes overwritten by fallthrough values → See fallthrough-attrs-overwrite-vue3
- Attributes applying to wrong element in wrappers → See inheritattrs-false-for-wrapper-components
Composables
- Composable called outside setup context or asynchronously → See composable-call-location-restrictions
- Composable reactive dependency not updating when input changes → See composable-tovalue-inside-watcheffect
- Composable mutates external state unexpectedly → See composable-avoid-hidden-side-effects
- Destructuring composable returns breaks reactivity unexpectedly → See composable-naming-return-pattern
Composition API
- Lifecycle hooks failing silently after async operations → See composition-api-script-setup-async-context
- Parent component refs unable to access exposed properties → See define-expose-before-await
- Functional-programming patterns break expected Vue reactivity behavior → See composition-api-not-functional-programming
- React Hook mental model causes incorrect Composition API usage → See composition-api-vs-react-hooks-differences
Animation
- Animations fail to trigger when DOM nodes are reused → See animation-key-for-rerender
- TransitionGroup list updates feel laggy under load → See animation-transitiongroup-performance
TypeScript
- Mutable prop defaults leak state between component instances → See how to use vue-debug-guides
How to use vue-debug-guides on Cursor
AI-first code editor with Composer
1Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add vue-debug-guides
2Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
$npx skills add https://github.com/vuejs-ai/skills --skill vue-debug-guidesThe skills CLI fetches
vue-debug-guidesfrom GitHub repositoryvuejs-ai/skillsand configures it for Cursor.3Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
◆ Which agents do you want to install to?││ ── Universal (.agents/skills) ── always included ────│ • Amp│ • Antigravity│ • Cline│ • Codex│ ●Cursor(selected)│ • Cursor│ • Windsurf4Verify installation
Confirm successful installation by checking the skill directory location:
.cursor/skills/vue-debug-guidesReload or restart Cursor to activate vue-debug-guides. Access the skill through slash commands (e.g.,
/vue-debug-guides) or your agent's skill management interface.⚠Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
Additional Resources
GET_STARTED →List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
✓Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
✓Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
✓Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
general reviewsRatings
4.8★★★★★60 reviews- ★★★★★Dhruvi Jain· Dec 28, 2024
Solid pick for teams standardizing on skills: vue-debug-guides is focused, and the summary matches what you get after install.
- ★★★★★Aarav Thomas· Dec 28, 2024
Registry listing for vue-debug-guides matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Omar Haddad· Dec 20, 2024
Registry listing for vue-debug-guides matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Aarav Okafor· Dec 16, 2024
vue-debug-guides fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Mia Johnson· Dec 4, 2024
Solid pick for teams standardizing on skills: vue-debug-guides is focused, and the summary matches what you get after install.
- ★★★★★Mia Malhotra· Nov 23, 2024
We added vue-debug-guides from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Oshnikdeep· Nov 19, 2024
We added vue-debug-guides from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aarav Abbas· Nov 19, 2024
Useful defaults in vue-debug-guides — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aarav Verma· Nov 11, 2024
Keeps context tight: vue-debug-guides is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Xiao Farah· Nov 11, 2024
Useful defaults in vue-debug-guides — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 60
1 / 6