Create Adaptable Composable
插件 已验证 活跃Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.
To enable developers to create more robust and reusable Vue 3 composables by standardizing flexible input handling patterns.
功能
- Generate adaptable Vue composables
- Normalize MaybeRef/MaybeRefOrGetter inputs
- Utilize toValue()/toRef() for reactive effects
- Improve composable reusability and predictability
使用场景
- When creating reusable Vue 3 composables that need to accept reactive or non-reactive inputs.
- When aiming for predictable behavior by normalizing inputs within reactive effects.
- When developing libraries or components that require flexible input patterns.
非目标
- Creating full Vue components or applications.
- Providing a general-purpose Vue code generator.
- Handling runtime configuration or application state management directly.
安装
请先添加 Marketplace
/plugin marketplace add hyf0/vue-skills/plugin install create-adaptable-composable@vue-skills质量评分
已验证类似扩展
Context7 Plugin
100Upstash Context7 MCP 服务器,用于查找最新文档。直接从源代码存储库将特定版本的文档和代码示例拉取到您的 LLM 上下文中。
Claude Hud
100Real-time statusline HUD for Claude Code - displays context usage, tool activity, agent tracking, and todo progress
UI/UX Design Plugin
99Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Gsap Skills
99Claude、Cursor 及其他 AI 代理的官方 GSAP 技能 — 动画、时间轴、ScrollTrigger、插件、工具、React 和性能
Vue Jsx Best Practices
98JSX syntax in Vue (e.g., class vs className, JSX plugin config).
A11y Audit
98WCAG 2.2 accessibility audit and fix skill for React, Next.js, Vue, Angular, Svelte, and HTML. Static scanner detecting 20+ violation types, contrast checker with suggest mode, framework-specific fix patterns, CI-friendly exit codes.