PatternsDev

58 mods across 1 repository, 244 stars between them.

components

49

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue component fundamentals including markup, logic, and styles. Use when building or structuring Vue single-file components as the foundational building blocks of your application.

244 4mo ago A 34 tokens

composables

50

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue composables for reusable stateful logic with the Composition API. Use when extracting shared reactive state, side effects, or computed logic that multiple components need.

244 4mo ago A 37 tokens

PatternsDev/skills

Skill Claude CodeCodex

Teaches the container/presentational pattern for Vue components. Use when you want to separate data fetching and business logic from presentation for better testability and reuse.

244 4mo ago A 36 tokens

data-provider

52

PatternsDev/skills

Skill Claude CodeCodex

Teaches the data provider pattern using renderless components and scoped slots. Use when you need to abstract data fetching or state management logic and expose it to child components via slots.

244 4mo ago A 38 tokens

dynamic-components

53

PatternsDev/skills

Skill Claude CodeCodex

Teaches dynamic component switching with Vue's element. Use when you need to render different components conditionally based on runtime state using the is attribute.

244 4mo ago A 35 tokens

provide-inject

54

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue's provide/inject API for dependency injection across components. Use when deeply nested components need access to ancestor data without threading props through intermediate layers.

244 4mo ago A 35 tokens

render-functions

55

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue render functions and JSX for programmatic template creation. Use when templates are too limiting and you need the full power of JavaScript to construct component output dynamically.

244 4mo ago A 37 tokens

PatternsDev/skills

Skill Claude CodeCodex

Teaches the renderless component pattern for logic-only Vue components. Use when you want to encapsulate behavior without dictating markup, letting consumers control rendering via scoped slots.

244 4mo ago A 38 tokens

script-setup

57

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue's script setup syntax for concise Composition API usage. Use when writing Vue 3 single-file components and you want a more ergonomic, less boilerplate syntax for the Composition API.

244 4mo ago A 42 tokens

state-management

58

PatternsDev/skills

Skill Claude CodeCodex

Teaches Vue state management with stores, Pinia, and the Composition API. Use when you need to share and synchronize state across multiple components beyond what props and events can handle.

244 4mo ago A 39 tokens