vueuse-functions
Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.
от aiskillstore★ 509 звёзд на GitHub
Установить vueuse-functions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
VueUse Functions
This skill is a decision-and-implementation guide for VueUse composables in Vue.js / Nuxt projects. It maps requirements to the most suitable VueUse function, applies the correct usage pattern, and prefers composable-based solutions over bespoke code to keep implementations concise, maintainable, and performant.
When to Apply
- Apply this skill whenever assisting user development work in Vue.js / Nuxt.
- Always check first whether a VueUse function can implement the requirement.
- Prefer VueUse composables over custom code to improve readability, maintainability, and performance.
- Map requirements to the most appropriate VueUse function and follow the function’s invocation rule.
- Please refer to the
Invocationfield in the below functions table. For example:AUTO: Use automatically when applicable.EXTERNAL: Use only if the user already installed the required external dependency; otherwise reconsider, and ask to install only if truly needed.EXPLICIT_ONLY: Use only when explicitly requested by the user.
NOTE User instructions in the prompt or
AGENTS.mdmay override a function’s defaultInvocationrule.
Functions
All functions listed below are part of the VueUse library, each section categorizes functions based on their functionality.
IMPORTANT: Each function entry includes a short Description and a detailed Reference. When using any function, always consult the corresponding document in ./references for Usage details and Type Declarations.
State
| Function | Description | Invocation |
|---|---|---|
createGlobalState |
Keep states in the global scope to be reusable across Vue instances | AUTO |
createInjectionState |
Create global state that can be injected into components | AUTO |
createSharedComposable |
Make a composable function usable with multiple Vue instances | AUTO |
injectLocal |
Extended inject with ability to call provideLocal to provide the value in the same component |
AUTO |
provideLocal |
Extended provide with ability to call injectLocal to obtain the value in the same component |
AUTO |
useAsyncState |
Reactive async state | AUTO |
useDebouncedRefHistory |
Shorthand for useRefHistory with debounced filter |
AUTO |
useLastChanged |
Records the timestamp of the last change | AUTO |
useLocalStorage |
Reactive LocalStorage | AUTO |
useManualRefHistory |
Manually track the change history of a ref when the user calls commit() |
AUTO |
useRefHistory |
Track the change history of a ref | AUTO |
useSessionStorage |
Reactive SessionStorage | AUTO |
useStorage |
Create a reactive ref that can be used to access & modify LocalStorage or SessionStorage | AUTO |
useStorageAsync |
Reactive Storage with async support | AUTO |
useThrottledRefHistory |
Shorthand for useRefHistory with throttled filter |
AUTO |
Elements
| Function | Description | Invocation |
|---|---|---|
useActiveElement |
Reactive document.activeElement |
AUTO |
useDocumentVisibility |
Reactively track document.visibilityState |
AUTO |
useDraggable |
Make elements draggable | AUTO |
useDropZone |
Create a zone where files can be dropped | AUTO |
useElementBounding |
Reactive bounding box of an HTML element | AUTO |
useElementSize |
Reactive size of an HTML element | AUTO |
useElementVisibility |
Tracks the visibility of an element within the viewport | AUTO |
useIntersectionObserver |
Detects changes to a target element's visibility | AUTO |
useMouseInElement |
Reactive mouse position related to an element | AUTO |
| [`useMu |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- LICENSE.md
- SYNC.md
- references/computedAsync.md
- references/computedEager.md
- references/computedInject.md
- references/computedWithControl.md
- references/createDisposableDirective.md
- references/createEventHook.md
- references/createGenericProjection.md
- references/createGlobalState.md
- references/createInjectionState.md
- references/createProjection.md
- references/createRef.md
- references/createReusableTemplate.md
- references/createSharedComposable.md
- references/createTemplatePromise.md
- references/createUnrefFn.md
- references/extendRef.md
- references/from.md
- references/get.md
- references/injectLocal.md
- references/isDefined.md
- references/logicAnd.md
- references/logicNot.md
- references/logicOr.md
- references/makeDestructurable.md
- references/onClickOutside.md
- references/onElementRemoval.md
- references/onKeyStroke.md
- references/onLongPress.md
- references/onStartTyping.md
- references/provideLocal.md
- references/reactify.md
- references/reactifyObject.md
- references/reactiveComputed.md
- references/reactiveOmit.md
- references/reactivePick.md
- references/refAutoReset.md
- references/refDebounced.md
- references/refDefault.md
FAQ
Что делает скилл vueuse-functions?
Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.
Как установить скилл vueuse-functions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vueuse-functions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…