vue-patterns

Provide Vue.js 3 patterns and best practices for Vue, Nuxt, Vite, Pinia, and Vue Router projects.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/hector-manny/bussbot --skill vue-patterns-hector-manny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-patterns
Source: https://github.com/hector-manny/bussbot/tree/main/.cursor/skills/vue-patterns
Command: npx skills add https://github.com/hector-manny/bussbot --skill vue-patterns-hector-manny

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires vue, nuxt, vite, pinia, vue-router, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit solves the challenge of navigating the complexities of Vue.js 3, providing patterns and best practices to streamline development and ensure code quality.

Core Features & Use Cases

  • Comprehensive Vue.js Patterns: Offers guidelines for component architecture, reactivity, state management, routing, and SSR patterns.
  • Vue 3 Composition API: In-depth guidance on using <script setup> for Vue.js 3 development.
  • Nuxt.js Integration: Specific advice for Nuxt.js applications, including auto-imports and use of useAsyncData and useFetch.
  • Pinia State Management: Best practices for integrating Pinia into Vue.js projects for state management.
  • Vue Router Navigation: Instructions on setting up and utilizing Vue Router for navigation in Vue.js apps.

Quick Start

Use the 'vue-patterns' skill to optimize your Vue.js project structure and component design.

Frequently Asked Questions about vue-patterns

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

FAQPage Schema
What are the best practices for Vue 3 component architecture and state management?

Vue 3 best practices for component architecture involve using the Composition API with `<script setup>`, while state management best practices utilize Pinia for structured, reactive stores across your application.

How do I structure Pinia state management in a Vue.js project?

Structuring Pinia state management in Vue.js involves defining isolated stores for specific domains and integrating them seamlessly into components to handle reactivity and shared application state efficiently.

Does this Vue.js patterns guidance include Nuxt.js and SSR configurations?

Yes, this Vue.js patterns guidance includes specific Nuxt.js configurations, offering SSR patterns alongside instructions for auto-imports and utilizing `useAsyncData` and `useFetch` for server-side rendering.

What is the best way to set up Vue Router navigation in a Vite project?

The best way to set up Vue Router navigation in a Vite project involves configuring route definitions and integrating the router instance to manage component transitions and application navigation effectively.

Do I need prior Vue.js knowledge to implement these component patterns?

Yes, you need prior understanding of Vue.js and its ecosystem to implement these patterns, as the guidance assumes existing knowledge of Vue 3, Nuxt, Vite, Pinia, and Vue Router.