vueuse-core-skilld
БесплатноБез исполняемых скриптовНе проверенCollection of essential Vue Composition Utilities. ALWAYS use when writing code that imports "@vueuse/core" or "@vueuse/shared" (VueUse). Provides the v15.0.0…
от skilld-dev★ 188 звёзд на GitHubОб этом скилле
@vueuse/core 15.0.0
Prepared source: @vueuse/[email protected] (package.json:4). File citations below use
paths relative to that package root. Docs citations are absolute URLs.
Environment limits
- ESM-only since v13 (
"type": "module",package.json:3).require()fails. - Requires Vue
^3.5.0(package.json:42). - Requires Node.js
>= 22(package.json:39); Node 20 support dropped in v15.0.0 (release). - Exports:
.and./metadata(package.json:24-28). Everything ships fromdist/. @vueuse/[email protected]is a dependency and fully re-exported (dist/index.d.ts:3), soimport { useToggle } from '@vueuse/core'works; see shared API.
v15 rules that change generated code
- No
templateRef. Removed in v15.0.0 (release). Use Vue's built-inuseTemplateRef()instead. - Timer options are gone; pass
scheduler. The deprecated per-composableinterval/immediateoptions were removed fromConfigurableSchedulercomposables in v15.0.0 (release). Affected options interfaces extend or intersectConfigurableScheduler(dist/index.d.ts:212-217):useCountdown,useNow,useTimestamp,useTimeAgo,useTimeAgoIntl,useTemporalNow,useElementByPoint,useMemory,useVibrate, anduseWebSocket'sheartbeatoption.scheduleris(cb: Fn) => Pausable, souseRafFnplugs in directly. useThrottleFnnow fires trailing calls by default (trailingdefault changed false to true, v15.0.0 (release)). Passtrailing = false(3rd argument) to keep v14 behavior.useEventSourcehandles SSEmessageevents and triggers bothonmessageandaddEventListenerhandlers (v15.0.0 (release)). Do not add manual duplicate listeners for unnamed events.deepRefsdefault flips next major. It defaults totruetoday with an explicit warning that the next major changes it tofalse(dist/index.d.ts:204-211). PassdeepRefsexplicitly where the value matters.
Do not use (deprecated or replaced)
| Export | Replacement | Evidence |
|---|---|---|
computedEager |
computed() (Vue 3.4+ no longer re-triggers on unchanged values) |
docs "will be removed in future version" |
watchPausable |
Vue 3.5 native watch() returns { stop, pause, resume } |
docs |
executeTransition |
transition(source, from, to, options) |
deprecated at dist/index.d.ts:5114-5121 |
UseTransitionOptions.transition |
easing option |
same deprecation block |
breakpointsVuetify |
breakpointsVuetifyV2 or breakpointsVuetifyV3 |
deprecated at dist/index.d.ts:758-762 |
asyncComputed |
computedAsync (alias remains, dist/index.d.ts:46) |
alias of computedAsync |
Common tasks
import { useLocalStorage, useDark, useTitle, useThrottleFn } from '@vueuse/core'
// Reactive getter args enable derived values without computed()
const isDark = useDark()
const title = useTitle(() => isDark.value ? 'Night' : 'Day')
// Storage with schema evolution: mergeDefaults fills new keys
const settings = useLocalStorage('settings', { theme: 'light', density: 'comfortable' }, { mergeDefaults: true })
// v15 throttle fires a trailing call by default; 3rd arg is `trailing`
const onResize = useThrottleFn(handler, 200, false, true) // trailing=false, leading=true
import { useWebMCP } from '@vueuse/core'
// Register a WebMCP tool for browser agents (new in v15)
const { isSupported, isRegistered, error } = useWebMCP({
name: 'get-current-user',
description: 'Returns the signed-in user id',
inputSchema: { type: 'object' },
execute: () => ({ userId: user.value?.id ?? null }),
})
More patterns: best practices.
References
- API surface: complete v15 export inventory, grouped.
- Shared API: the
@vueuse/sharedfunctions re-exported by core. - Migration v14 to v15: every breaking change, feature, and notable fix since v14.3.0, cited.
- New functions in v15:
useWebMCP,useTemporalNow,useLiveAnnouncer,useElementOverflowusage. - Best practices: getters, event filters, storage serializers, schedulers, SSR, scoping.
Debugging notes (v15 fixes that may explain behavior changes)
useFetchignores a stale success response after a newer request starts, and ignores stale abort errors after a refetch succeeds (v15, [v1
Установить vueuse-core-skilld в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vueuse-core-skilld?
Collection of essential Vue Composition Utilities. ALWAYS use when writing code that imports "@vueuse/core" or "@vueuse/shared" (VueUse). Provides the v15.0.0 API surface, v14 to v15 migration rules, new composables (useWebMCP, useTemporalNow, useLiveAnnouncer, useElementOverflow), deprecations, and configuration best practices.
Как установить скилл vueuse-core-skilld?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vueuse-core-skilld запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic