vue-best-practices — how to use vue-best-practices how to use vue-best-practices, vue-best-practices setup guide, vue-best-practices vs vue-cli, vue-best-practices performance optimization, vue-best-practices install, what is vue-best-practices, vue-best-practices tutorial, vue-best-practices alternative, vue-best-practices best practices

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing advanced Vue.js performance optimization and automated refactoring capabilities. vue-best-practices is a set of guidelines for optimizing Vue.js application performance, covering 8 categories with 40+ rules for automated refactoring and code generation.

Features

Provides 40+ rules across 8 categories for performance optimization
Guides automated refactoring and code generation for Vue.js applications
Supports reactive state and computed properties optimization
Optimizes rendering and re-renders for better performance
Works with Composition API and Options API for flexible development

# Core Topics

vinayakkulkarni vinayakkulkarni
[0]
[0]
Updated: 3/10/2026

Quality Score

Top 5%
44
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add vinayakkulkarni/v-offline/vue-best-practices
Supports 18+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The vue-best-practices MCP Server by vinayakkulkarni is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use vue-best-practices, vue-best-practices setup guide, vue-best-practices vs vue-cli.

Ideal Agent Persona

Perfect for Frontend Agents needing advanced Vue.js performance optimization and automated refactoring capabilities.

Core Value

Empowers agents to apply 40+ rules across 8 categories for automated refactoring and code generation in Vue.js applications, leveraging Composition API and Options API for optimal rendering and re-renders.

Capabilities Granted for vue-best-practices MCP Server

Automating code reviews for performance issues in Vue components
Generating optimized Vue code with reactive state and computed properties
Refactoring existing Vue code for better rendering and re-render performance

! Prerequisites & Limits

  • Requires Vue.js application context
  • Limited to Vue.js framework
Project
SKILL.md
4.2 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Vue Best Practices

Comprehensive performance optimization guide for Vue.js applications. Contains 40+ rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new Vue components
  • Implementing reactive state and computed properties
  • Reviewing code for performance issues
  • Refactoring existing Vue code
  • Optimizing rendering and re-renders
  • Working with Composition API or Options API

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Reactivity FundamentalsCRITICALreactivity-
2Component PerformanceCRITICALcomponent-
3Computed & WatchersHIGHcomputed-
4Template OptimizationMEDIUM-HIGHtemplate-
5Composition API PatternsMEDIUMcomposable-
6State ManagementMEDIUMstate-
7Async & Data FetchingLOW-MEDIUMasync-
8Advanced PatternsLOWadvanced-

Quick Reference

1. Reactivity Fundamentals (CRITICAL)

  • reactivity-ref-vs-reactive - Use ref() for primitives, reactive() for objects
  • reactivity-avoid-destructure - Don't destructure reactive objects
  • reactivity-toRefs - Use toRefs() when destructuring is needed
  • reactivity-shallowRef - Use shallowRef() for large non-reactive data
  • reactivity-raw-values - Use toRaw() for read-only operations on large data

2. Component Performance (CRITICAL)

  • component-v-once - Use v-once for static content
  • component-v-memo - Use v-memo for expensive list items
  • component-async - Use defineAsyncComponent for heavy components
  • component-keep-alive - Cache component state with KeepAlive
  • component-functional - Prefer functional components for stateless UI

3. Computed & Watchers (HIGH)

  • computed-cache - Use computed() for derived values, not methods
  • computed-getter-only - Avoid setters in computed when possible
  • computed-dependencies - Minimize computed dependencies
  • watch-immediate - Avoid immediate watchers, use computed instead
  • watch-deep-avoid - Avoid deep watchers on large objects
  • watch-cleanup - Always cleanup async watchers

4. Template Optimization (MEDIUM-HIGH)

  • template-v-show-vs-if - v-show for frequent toggles, v-if for rare
  • template-key-attribute - Always use unique keys in v-for
  • template-avoid-v-if-v-for - Never use v-if and v-for on same element
  • template-static-hoisting - Let compiler hoist static content
  • template-event-modifiers - Use event modifiers instead of JS handlers

5. Composition API Patterns (MEDIUM)

  • composable-single-responsibility - One concern per composable
  • composable-return-refs - Return refs, not reactive objects
  • composable-cleanup - Handle cleanup in composables
  • composable-lazy-init - Lazy initialize expensive resources
  • composable-provide-inject - Use provide/inject for deep prop drilling

6. State Management (MEDIUM)

  • state-pinia-stores - Split stores by domain
  • state-getters - Use getters for computed state
  • state-actions-mutations - Keep mutations simple, logic in actions
  • state-subscription-cleanup - Cleanup store subscriptions

7. Async & Data Fetching (LOW-MEDIUM)

  • async-suspense - Use Suspense for async component loading
  • async-error-boundaries - Handle async errors gracefully
  • async-stale-while-revalidate - Implement SWR pattern for data fetching
  • async-abort-controller - Cancel pending requests on unmount

8. Advanced Patterns (LOW)

  • advanced-custom-directives - Create directives for DOM manipulation
  • advanced-render-functions - Use render functions for dynamic templates
  • advanced-teleport - Use Teleport for modals and overlays
  • advanced-transition-groups - Optimize list transitions

How to Use

Read individual rule files for detailed explanations and code examples:

rules/reactivity-ref-vs-reactive.md
rules/component-v-memo.md
rules/_sections.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Additional context and references

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Related Skills

Looking for an alternative to vue-best-practices or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication