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.
Global
mkdir -p ~/.claude/skills/create-adaptable-composableProject
mkdir -p .claude/skills/create-adaptable-composableSource Repository
Frontend Designanthropics/skills
Create striking frontend interfaces with bold design and polished code every time
Vercel React Best Practicesvercel-labs/agent-skills
Optimize React and Next.js apps using proven Vercel performance guidelines
Design Taste Frontendleonxlnx/taste-skill
Enforce premium frontend design with metric-based rules and smart component architecture
Vercel Composition Patternsvercel-labs/agent-skills
Clean React components with composition instead of boolean props
Shadcnshadcn/ui
Manage shadcn UI components easily with CLI commands and clear styling rules
Impeccablepbakaus/impeccable
Polish your frontend interfaces with expert design critique and code
Minimalist Uileonxlnx/taste-skill
Build warm minimal web interfaces with editorial typography and flat bento grids
Industrial Brutalist Uileonxlnx/taste-skill
Raw mechanical UIs fusing Swiss print with military terminal aesthetics and high data density