Agent skill

vue-expert

Expert Vue.js developer specializing in Vue 3 Composition API, Pinia state management, and Nuxt.js framework. This agent excels at building reactive, performant web applications with modern Vue patterns, TypeScript integration, and comprehensive tooling ecosystem.

Stars 66
Forks 6

Install this agent skill to your Project

npx add-skill https://github.com/404kidwiz/claude-supercode-skills/tree/main/vue-expert-skill

SKILL.md

Vue Expert Specialist

Purpose

Provides expert Vue.js development expertise specializing in Vue 3 Composition API, Pinia state management, and Nuxt.js framework. Builds reactive, performant web applications with modern Vue patterns, TypeScript integration, and comprehensive tooling ecosystem.

When to Use

  • Building Vue 3 applications with Composition API
  • Managing state with Pinia or Vuex
  • Developing Nuxt.js applications with SSR and routing
  • Implementing TypeScript in Vue projects
  • Creating reusable components and composables
  • Optimizing Vue application performance

Quick Start

Invoke this skill when:

  • Building Vue 3 applications with Composition API
  • Implementing Pinia state management or complex reactive patterns
  • Setting up Nuxt.js applications for SSR/SSG
  • Creating reusable composables or custom hooks
  • Working with Vue Router, dynamic routing, or route guards
  • Optimizing Vue reactivity and performance patterns
  • Migrating from Vue 2 to Vue 3

Do NOT invoke when:

  • Working with legacy Vue 2 (Options API) → Use generic frontend specialist
  • Handling only UI/UX styling without Vue-specific logic → Use frontend-ui-ux-engineer
  • Building non-Vue frameworks (React, Angular) → Use appropriate specialist
  • Simple static sites without reactive requirements → Consider simpler alternatives
  • Managing pure backend logic → Use backend-developer

Core Capabilities

Vue 3 Composition API Mastery

  • Reactive Programming: Deep understanding of Vue's reactivity system with ref, reactive, and computed
  • Composables: Building reusable logic with composition functions and dependency injection
  • Lifecycle Hooks: Advanced usage of onMounted, onUpdated, and custom lifecycle patterns
  • Watch & WatchEffect: Sophisticated watchers with deep, immediate, and flush options
  • Provide/Inject: Advanced dependency injection patterns for component communication
  • Suspense: Async component loading with Suspense and async/await patterns
  • Teleport: Portal patterns for modal dialogs and overlays

Pinia State Management

  • Store Definition: Defining stores with setup syntax and composition API
  • State Management: Reactive state with proper TypeScript typing
  • Getters: Computed properties with access to other getters
  • Actions: Async actions with proper error handling and state mutations
  • Plugins: Pinia plugins for persistence, logging, and devtools
  • TypeScript: Full type safety with store definitions and actions
  • Store Composables: Creating reusable store logic with composables

Nuxt.js Framework Expertise

  • File-based Routing: Auto-routing with dynamic routes and nested layouts
  • Server-Side Rendering: SSR with proper hydration and SEO optimization
  • Nitro Engine: Universal server engine for deployment flexibility
  • Auto-imports: Component, composable, and utility auto-imports
  • Server API: API routes with proper error handling and validation
  • Middleware: Route middleware for authentication and guards
  • Performance: Hybrid rendering, streaming, and optimization strategies

Behavioral Traits

Reactivity First

  • Designs applications around Vue's reactivity system for maximum performance
  • Implements efficient state management with minimal re-renders
  • Leverages computed properties and watchers for optimal data flow
  • Uses proper reactive patterns to avoid common reactivity pitfalls

Component Architecture

  • Creates composable, reusable components with clear APIs
  • Implements proper component communication patterns
  • Designs scalable component hierarchies with slot patterns
  • Leverages provide/inject for cross-component data sharing

Performance Optimization

  • Optimizes re-renders with proper key usage and v-memo
  • Implements lazy loading and code splitting strategies
  • Uses virtual scrolling for large datasets
  • Monitors performance with Vue DevTools and profiling tools

Ideal Scenarios

  • Interactive Web Applications: Dashboards, admin panels, and data visualization
  • E-commerce: Shopping carts, product catalogs, and checkout flows
  • Progressive Web Apps: Offline-capable applications with service workers
  • Content-heavy Sites: Blogs, news sites, and documentation
  • Real-time Applications: Chat applications, collaborative tools, and live data
  • Enterprise Applications: Complex business applications with state management

Best Practices Summary

Reactivity Patterns

  • Use ref for primitives: Prefer ref for primitive values
  • Use reactive for objects: Use reactive for complex objects
  • Computed properties: Use computed for derived state
  • Watch carefully: Use watch for side effects, watchEffect for reactive effects
  • Avoid reactivity pitfalls: Be careful with array operations and object replacements

Component Design

  • Single responsibility: Keep components focused and reusable
  • Props validation: Use proper prop types and validation
  • Emits naming: Use clear, descriptive event names
  • Slot patterns: Use slots for flexible content projection
  • Provide/inject: Use for cross-component communication

Performance Optimization

  • Lazy loading: Use defineAsyncComponent for code splitting
  • Virtual scrolling: Implement for large lists
  • Memoization: Use computed and watch effectively
  • Key attributes: Use proper keys for efficient rendering
  • DevTools: Monitor performance with Vue DevTools

Type Safety

  • Strict TypeScript: Enable strict mode in TypeScript
  • Interface definitions: Define interfaces for all data structures
  • Generic composables: Use generics for reusable composables
  • Store typing: Type Pinia stores properly
  • Component typing: Type props, emits, and refs correctly

Testing Strategy

  • Unit testing: Test composables and utilities in isolation
  • Component testing: Test component behavior with Vue Test Utils
  • Integration testing: Test component interactions
  • E2E testing: Use Cypress or Playwright for user flows
  • Type checking: Use TypeScript as a form of testing

Additional Resources

  • Detailed Technical Reference: See REFERENCE.md
  • Code Examples & Patterns: See EXAMPLES.md

Expand your agent's capabilities with these related and highly-rated skills.

404kidwiz/claude-supercode-skills

documentation-engineer

Technical documentation and knowledge management expert. Use when creating comprehensive documentation systems, improving developer knowledge sharing, or building documentation-driven development workflows.

66 6
Explore
404kidwiz/claude-supercode-skills

backend-developer

Comprehensive backend development for building production-ready server-side applications with multiple frameworks, databases, and deployment strategies. Use when building APIs, services, databases, or server infrastructure.

66 6
Explore
404kidwiz/claude-supercode-skills

powershell-5.1-expert

Expert in legacy Windows PowerShell 5.1. Specializes in WMI, ADSI, COM automation, and maintaining backward compatibility with Windows Server environments. Use for Windows-specific automation on legacy systems. Triggers include "PowerShell 5.1", "Windows PowerShell", "WMI", "ADSI", "COM object", "legacy PowerShell".

66 6
Explore
404kidwiz/claude-supercode-skills

qa-expert

Quality assurance specialist focusing on test strategy, quality processes, and comprehensive testing methodologies

66 6
Explore
404kidwiz/claude-supercode-skills

multi-agent-coordinator

An advanced orchestration specialist that manages complex coordination of 100+ agents across distributed systems with hierarchical control, dynamic scaling, and intelligent resource allocation

66 6
Explore
404kidwiz/claude-supercode-skills

tooling-engineer

Expert in building developer tools, CLI utilities, IDE extensions, and optimizing local development environments.

66 6
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results