vue-patterns

Standardize Vue.js 3 development with Composition API patterns and Pinia state management.

3|Updated Jul 1, 2026
One-click install
npx skills add https://github.com/KeyValueSoftwareSystems/maestro --skill vue-patterns-keyvaluesoftwaresystems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-patterns
Source: https://github.com/KeyValueSoftwareSystems/maestro/tree/main/skills/stacks/vue/vue-patterns
Command: npx skills add https://github.com/KeyValueSoftwareSystems/maestro --skill vue-patterns-keyvaluesoftwaresystems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of maintaining scalable Vue.js applications by providing standardized patterns for component architecture, state management, and reactivity.

Core Features & Use Cases

  • Composition API Guidance: Best practices for script setup, composables, and reactive state management.
  • Architecture Standards: Clear conventions for project structure, file naming, and component design (Container vs. Presentational).
  • Use Case: Use this skill to refactor legacy Options API code into modern Composition API, implement robust Pinia stores, or debug complex reactivity issues in a Nuxt or Vite project.

Quick Start

Ask the assistant to review your current Vue component structure and suggest improvements based on the feature-first layout pattern.

Frequently Asked Questions about vue-patterns

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

FAQPage Schema
What's the best way to refactor legacy Vue Options API code to Composition API?

The best way to refactor legacy Vue Options API code is to apply standardized Composition API patterns using script setup and composables. This transition enables reactive logic reuse and establishes type-safe props for scalable component architecture.

How do I structure a scalable Vue 3 component architecture?

To structure scalable Vue 3 component architecture, apply feature-first layout patterns and Container versus Presentational component conventions. This standardizes file naming and project structure for maintainable frontend applications.

How do I implement robust state management with Pinia in a Nuxt project?

Implement robust Pinia state management in a Nuxt project by utilizing standardized Pinia store patterns within your Vue 3 application. This ensures performant SSR-ready component structures and maintains reactive state effectively across your Vite-based frontend.

When do I need SSR-ready component structures in Vue and Vite applications?

You need SSR-ready component structures in Vue and Vite applications when building Nuxt projects that require server-side rendering. Applying Composition API patterns ensures your components perform optimally during server-side rendering execution.

Why does complex reactivity cause issues in my Vue 3 application?

Complex reactivity issues in Vue 3 applications often stem from unstandardized reactive state management. Applying Composition API best practices and structured composables resolves these reactivity debugging challenges in your Vite project.

Can I use vue-patterns to enforce type-safe props in Vue 3 components?

Yes, you can enforce type-safe props in Vue 3 components by applying standardized Composition API patterns. This approach satisfies requirements for type safety and ensures robust component architecture in your frontend applications.