create-adaptable-composable

Community

Build flexible Vue composables.

AuthorCancey-Dejean
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers create reusable Vue composables that can seamlessly handle both reactive and non-reactive inputs, simplifying integration into various project structures.

Core Features & Use Cases

  • Input Normalization: Automatically adapts to MaybeRef or MaybeRefOrGetter types using toValue() and toRef().
  • Predictable Reactivity: Ensures consistent behavior within reactive contexts like watch and watchEffect.
  • Use Case: Create a useDocumentTitle composable that accepts a plain string, a ref, or a getter function to dynamically set the browser tab title.

Quick Start

Create an adaptable composable named 'useResponsiveLayout' that accepts a breakpoint value.

Dependency Matrix

Required Modules

None required

Components

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: create-adaptable-composable
Download link: https://github.com/Cancey-Dejean/vue-storybook-starter-clean/archive/main.zip#create-adaptable-composable

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.