AI AGENT ADDONS

Create Adaptable Composable

hyf0/vue-skills

Create Vue composables that work with both plain values and reactive data. These reusable functions accept MaybeRef or MaybeRefOrGetter inputs. Callers can pass a simple value, a ref, or a getter function.

Use toValue() and toRef() to normalize inputs inside effects like watch. This keeps behavior predictable and reactive. Your composables become flexible and easy to reuse across different scenarios.

This skill is useful for developers building Vue 3 or Nuxt 3 applications. It helps you design library-grade composables that are both adaptable and maintainable.

Add Create Adaptable Composable skill to your workflow

Global

mkdir -p ~/.claude/skills/create-adaptable-composable

Project

mkdir -p .claude/skills/create-adaptable-composable

Source Repository

Stars
2,641
Forks
154
Watchers
2,641
License
MIT
Last Push
2 months ago
Created
6 months ago