vue-composition-patterns

Community

Vue 3 Composition API patterns

Authormartylouis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write more scalable, maintainable, and flexible Vue 3 components by leveraging advanced Composition API patterns, avoiding common pitfalls like boolean prop proliferation.

Core Features & Use Cases

  • Component Architecture: Design reusable and composable components using patterns like compound components and explicit variants.
  • State Management: Implement robust state sharing across components using provide/inject.
  • Use Case: Refactor a large, monolithic Vue component with numerous boolean props into smaller, more manageable, and explicitly defined variant components that compose together seamlessly.

Quick Start

Apply the 'avoid-boolean-props' pattern to refactor a Vue component with excessive boolean props.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-composition-patterns
Download link: https://github.com/martylouis/agents/archive/main.zip#vue-composition-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 223,000+ vetted skills library on demand.