vue-conventions
OfficialMaster Vue 3 Composition API patterns
Authorzb-ss
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide and examples for implementing modern Vue 3 applications using the Composition API with TypeScript, Pinia, and best practices for performance and maintainability.
Core Features & Use Cases
- Composition API with
<script setup>: Demonstrates idiomatic usage of Vue 3's Composition API for cleaner component logic. - Composables: Illustrates how to create reusable, testable logic with custom composable functions.
- Pinia Store Management: Shows effective state management patterns using Pinia for global application state.
- Component Communication: Covers parent-child communication via props, emits, and slots.
- Performance Optimization: Includes techniques like lazy loading,
shallowRef, and efficient rendering. - TypeScript Integration: Emphasizes strong typing for props, state, and API responses.
- Error Handling: Demonstrates both global and component-level error capturing.
Quick Start
Refer to the provided examples to implement Vue 3 Composition API patterns in your project.
Dependency Matrix
Required Modules
None requiredComponents
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-conventions Download link: https://github.com/zb-ss/opencode-workflows/archive/main.zip#vue-conventions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.