vueuse-functions
БесплатноБез исполняемых скриптовНе проверенApply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.
от onmax★ 729 звёзд на GitHubОб этом скилле
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 |
useElementOverflow |
Reactive element's overflow state | 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 |
| [`useMouseInEleme |
Установить vueuse-functions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic