vue-best-practices

Enforce Composition API and TypeScript standards in Vue 3 components.

4|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mymx2/foreman --skill vue-best-practices-mymx2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-best-practices
Source: https://github.com/mymx2/foreman/tree/main/.qoder/skills.collected/skills/vue-best-practices
Command: npx skills add https://github.com/mymx2/foreman --skill vue-best-practices-mymx2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill addresses the inconsistency and technical debt that arise in Vue.js projects by enforcing a standardized, production-grade architecture based on the Composition API and TypeScript.

Core Features & Use Cases

  • Architectural Guardrails: Enforces the use of Composition API and script setup to ensure predictable state management and component structure.
  • Performance Optimization: Provides clear guidelines on when to use virtualization, memoization, and async components to keep applications fast.
  • Use Case: When starting a new feature or refactoring a legacy component, use this skill to ensure your component boundaries, data flow, and reactivity models align with industry-standard best practices.

Quick Start

Load the vue-best-practices skill to analyze your current component structure and receive recommendations for refactoring to the Composition API.

Frequently Asked Questions about vue-best-practices

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

FAQPage Schema
How do I refactor Vue components to the Composition API with TypeScript?

Refactoring Vue components to the Composition API involves migrating to script setup, enforcing TypeScript integration, and modularizing component architecture to ensure predictable state management and explicit data flow contracts.

What are the best practices for Vue 3 performance optimization?

Vue 3 performance optimization requires applying virtualization for large lists, memoization for expensive calculations, and async components to minimize rendering overhead and maintain fast production-grade applications.

When do I need to use composables in Vue 3 development?

You need to use composables in Vue 3 development to extract and reuse stateful logic across components, ensuring modular component architecture and adherence to established reactivity patterns for standardized workflows.

Does this Vue best practices approach work for legacy component refactoring?

Yes, this Vue best practices approach works for legacy refactoring by analyzing current component structures and applying architectural guardrails to align boundaries, data flow, and reactivity models with industry standards.

Why enforce explicit data flow contracts in Vue 3 applications?

Enforcing explicit data flow contracts in Vue 3 applications eliminates inconsistency and technical debt, ensuring that reactivity patterns and state management logic remain predictable during component creation and refactoring.