vue-component-patterns

Official

Vue 3 component patterns for scalable UI.

AuthorEsposter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Streamline and standardize Vue 3 component design by applying proven patterns for structure, typing, co-location, slot extraction, and abstraction levels.

Core Features & Use Cases

  • Consistent Architecture: enforce same level of abstraction, proper prop typing, and focused components.
  • Co-location & Naming: organize related components to optimize auto-imports and avoid naming collisions.
  • Slot Extraction & Reuse: extract complex slots into focused subcomponents to improve readability and testability.
  • Composition API Patterns: promote use of composables and wrapper/pure child patterns to manage async data and store access cleanly.
  • Granularity Guidance: guidance for when to extract actions into dedicated components, avoid over-extraction.

Quick Start

Analyze a target Vue component and apply the vue-component-patterns guidelines to split layout, logic, and slots into focused, co-located components.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vue-component-patterns
Download link: https://github.com/Esposter/Esposter/archive/main.zip#vue-component-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.