Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

vueuse-functions

БесплатноБез исполняемых скриптовНе проверен

Apply VueUse composables where appropriate to build concise, maintainable Vue.js / Nuxt features.

onmaxот 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 Invocation field 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.md may override a function’s default Invocation rule.

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
Полный SKILL.md на GitHub

Установить vueuse-functions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/computedAsync.mdreferences/computedEager.mdreferences/computedInject.mdreferences/computedWithControl.mdreferences/createDisposableDirective.mdreferences/createEventHook.mdreferences/createGenericProjection.mdreferences/createGlobalState.mdreferences/createInjectionState.mdreferences/createProjection.mdreferences/createRef.mdreferences/createReusableTemplate.mdreferences/createSharedComposable.mdreferences/createTemplatePromise.mdreferences/createUnrefFn.mdreferences/extendRef.mdreferences/from.mdreferences/get.mdreferences/injectLocal.mdreferences/isDefined.mdreferences/logicAnd.mdreferences/logicNot.mdreferences/logicOr.mdreferences/makeDestructurable.mdreferences/onClickOutside.mdreferences/onElementRemoval.mdreferences/onKeyStroke.mdreferences/onLongPress.mdreferences/onStartTyping.mdreferences/provideLocal.mdreferences/reactify.mdreferences/reactifyObject.mdreferences/reactiveComputed.mdreferences/reactiveOmit.mdreferences/reactivePick.mdreferences/refAutoReset.mdreferences/refDebounced.mdreferences/refDefault.mdreferences/refManualReset.mdreferences/refThrottled.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), без исполняемых скриптов.

Похожие скиллы

Сравнить vueuse-functions с