create-adaptable-composable 是做什么的?
创建一个库级别的 Vue 组合式函数,接受可能为响应式的输入(MaybeRef / MaybeRefOrGetter),让调用者可以传入普通值、ref 或 getter。在响应式效果(watch/watchEffect)中使用 toValue()/toRef() 标准化输入,以保持行为可预测且响应式。当用户要求创建可适配或可复用的组合式函数时使用此技能。
创建一个库级别的 Vue 组合式函数,接受可能为响应式的输入(MaybeRef / MaybeRefOrGetter),让调用者可以传入普通值、ref 或 getter。在响应式效果(watch/watchEffect)中使用 toValue()/toRef() 标准化输入,以保持行为可预测且响应式。当用户要求创建可适配或可复用的组合式函数时使用此技能。
此技能帮助开发者创建 Vue 组合式函数,这些函数专门设计用于接受可能为响应式的输入(MaybeRef 或 MaybeRefOrGetter),使调用者可以灵活地传入普通值、ref 或 getter。通过在 watch 或 watchEffect 等响应式效果中使用 toValue() 和 toRef() 标准化输入,组合式函数的行为保持可预测且完全响应式。这使得该技能非常适合开发旨在可复用且可适配不同用例的库级组合式函数。它确保以最少的样板代码处理边缘情况,并遵循 Vue 社区的最佳实践。
npx skills add https://github.com/vuejs-ai/skills/tree/main/skills/create-adaptable-composableInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
创建一个库级别的 Vue 组合式函数,接受可能为响应式的输入(MaybeRef / MaybeRefOrGetter),让调用者可以传入普通值、ref 或 getter。在响应式效果(watch/watchEffect)中使用 toValue()/toRef() 标准化输入,以保持行为可预测且响应式。当用户要求创建可适配或可复用的组合式函数时使用此技能。
This repo contains 5 individual skills — each has its own dedicated page.
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.
JSX syntax in Vue (e.g., class vs className, JSX plugin config).
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
Pinia stores, state management patterns, store setup, and reactivity with stores.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.