vue

Enforce Vue 3 Composition API patterns and script setup macros.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a standardized, high-performance approach to building Vue 3 applications, eliminating ambiguity in component architecture and reactivity patterns.

Core Features & Use Cases

  • Composition API Mastery: Enforces the use of script setup and modern macros for cleaner, more efficient code.
  • Reactivity Optimization: Provides clear guidance on choosing between ref and shallowRef to balance performance and state management.
  • Advanced Patterns: Includes documentation for complex features like Teleport, Suspense, and custom directives to handle sophisticated UI requirements.

Quick Start

Use the vue skill to generate a new component template that utilizes script setup and typed props.

Frequently Asked Questions about vue

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

FAQPage Schema
How do I structure Vue 3 components using the Composition API and script setup?

To structure Vue 3 components, use the Composition API with script setup macros for cleaner code. This approach standardizes development workflows by enforcing modern patterns for reactive state and lifecycle management.

What is the best way to manage reactivity and state in Vue 3?

Managing reactivity in Vue 3 involves choosing between ref and shallowRef based on performance needs. This optimization balances deep state management with rendering performance for reactive components.

How do I implement advanced UI patterns like Teleport and Suspense in Vue 3?

Implementing Teleport and Suspense in Vue 3 requires using built-in components for sophisticated UI requirements. They handle asynchronous component loading and DOM rendering outside the standard hierarchy.

Does this Vue 3 workflow support TypeScript integration?

Yes, this Vue 3 workflow supports TypeScript integration for typed props and component definitions. It standardizes script setup macros to ensure type safety across the web development codebase.

When should I use custom directives in Vue 3 development?

Use custom directives in Vue 3 when you need reusable DOM manipulation logic across multiple components. They ensure consistent implementation of advanced features and behavior throughout the application.