vueuse-functions

Maps Vue.js and Nuxt requirements to appropriate VueUse composables with usage references.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/falentio/cimi --skill vueuse-functions-falentio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vueuse-functions
Source: https://github.com/falentio/cimi/tree/main/.agents/skills/vueuse-functions
Command: npx skills add https://github.com/falentio/cimi --skill vueuse-functions-falentio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Developers working in Vue.js or Nuxt often rewrite common reactive logic by hand, producing verbose and inconsistent code. This Skill guides the AI to check the VueUse library first, map each requirement to the right composable, and apply the correct usage pattern instead of writing bespoke implementations. ## Core Features & Use Cases - Requirement-to-Function Mapping: Categorized tables (State, Elements, Browser, Sensors, and more) map each need to the most suitable VueUse composable with a short description. - Invocation Rules: Each function carries an invocation policy (AUTO, EXTERNAL, EXPLICIT_ONLY) so composables are applied only when appropriate and external dependencies are respected. - Detailed References: A references directory provides per-function usage examples, caveats, and TypeScript type declarations consulted before implementation. - Use Case: When adding dark mode to a Nuxt app, the Skill directs the AI to use useDark with auto persistence rather than hand-rolled class toggling and localStorage logic. ## Quick Start Ask the AI to implement a Vue or Nuxt feature such as reactive dark mode or infinite scroll using VueUse composables instead of custom code.

Frequently Asked Questions about vueuse-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use VueUse composables in a Vue 3 project?

Install @vueuse/core, then import the composable you need, such as useLocalStorage or useDark, and call it inside setup. This Skill maps your requirement to the right function and points to its reference document for usage details.

When should I use VueUse instead of writing custom composables?

Prefer VueUse whenever an existing function covers your requirement, since it improves readability, maintainability, and performance. Write custom code only when no listed composable fits the need.

Does VueUse work with Nuxt 3 and SSR?

Yes, VueUse supports Nuxt 3, but some functions behave differently in SSR. For example, createSharedComposable falls back to a non-shared version per request to avoid cross-request state pollution.

What do the AUTO, EXTERNAL, and EXPLICIT_ONLY invocation rules mean?

AUTO functions are applied automatically when applicable. EXTERNAL functions require an already-installed external dependency. EXPLICIT_ONLY functions are used only when the user explicitly requests them, and user instructions can override these defaults.

How do I implement dark mode in Vue with VueUse?

Use useDark from @vueuse/core, which provides a reactive boolean with automatic persistence to local storage. Pair it with usePreferredDark to respect the user's system color scheme preference.