vue-best-practices

Guide Vue.js 3 development with best practices for reactivity and performance.

Updated Nov 22, 2025
One-click install
npx skills add https://github.com/nuttycc/LuminTime --skill vue-best-practices-nuttycc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-best-practices
Source: https://github.com/nuttycc/LuminTime/tree/main/.agents/skills/vue-best-practices
Command: npx skills add https://github.com/nuttycc/LuminTime --skill vue-best-practices-nuttycc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses common pitfalls and complexities in Vue.js development, ensuring developers write efficient, maintainable, and performant Vue applications.

Core Features & Use Cases

  • Best Practices: Provides guidance on reactivity, computed properties, watchers, components, props, templates, and more.
  • Common Gotchas: Highlights frequent mistakes and offers solutions for issues like prop validation, event bubbling, and directive usage.
  • Performance Optimization: Offers strategies for improving bundle size, rendering performance, and animation efficiency.
  • Use Case: A developer struggling with unexpected reactivity issues in a Vue 3 project can consult this Skill to understand why their ref() values aren't updating correctly and learn the proper way to access them.

Quick Start

Use the vue-best-practices skill to understand how to correctly handle reactivity with refs.

Frequently Asked Questions about vue-best-practices

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

FAQPage Schema
Why does my Vue 3 ref value not update correctly in the composition api?

Vue 3 refs can fail to update if you mutate them directly instead of using the .value property. This skill explains proper reactivity patterns to prevent these common composition api gotchas.

What is the best way to optimize Vue.js performance for large applications?

The best way to optimize Vue.js performance is by applying strategies for rendering, bundle size, and animation efficiency. This skill provides specific guidance to improve overall application speed.

How do I handle Vue.js prop validation and avoid common event bubbling mistakes?

To handle Vue.js prop validation correctly, you must avoid frequent mistakes like improper event bubbling and directive usage. This skill highlights these common gotchas and offers reliable solutions.

Can I integrate TypeScript with Vue.js 3 composition api components?

Yes, you can integrate TypeScript with Vue.js 3 components to ensure type safety. This skill provides comprehensive guidance on combining TypeScript with the composition api effectively.

When do I need to use computed properties instead of watchers in Vue.js?

You need computed properties in Vue.js when deriving reactive state, whereas watchers handle side effects. This skill clarifies when to use each mechanism to maintain optimal reactivity.