Agent skill

Motion V Skilld

by skilld-dev in skilld-dev/vue-ecosystem-skills

ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue).

MITAuto-check passedDevelopment

Install Motion V Skilld

skills CLI
$ npx skills add skilld-dev/vue-ecosystem-skills --skill motion-v-skilld -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install skilld-dev/vue-ecosystem-skills motion-v-skilld --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/skilld-dev/vue-ecosystem-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/motion-v-skilld .claude/skills/motion-v-skilld && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
motion-v-skilld
GitHub stars
181
Token cost
~1.6k tokens
SKILL.md length
636 words
Files
4 (incl. references)
Skills in repo
34
Repo updated
First seen
Licence
MIT

At a glance

ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue).

  • Works in 10 steps: Use m plus LazyMotion instead of motion… → Never put v-if on AnimatePresence… → For layout animations, apply changing… → …
  • Development work in your project
  • SKILL.md covers Quick start, Core model, Hard rules and Common tasks, plus 2 more sections
  • Calls npm

What it does

Motion V Skilld is an agent skill from skilld-dev/vue-ecosystem-skills. ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue). Covers the motion component, AnimatePresence, variants, gestures, layout, scroll, motion values, the v-motion directive, and the Nuxt module for version 2.4.4. Provides API facts, recipes, best practices, and migration notes.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/api-surface.md`, `references/migration.md` and `references/recipes.md`).

It sits in Development. It works with Vue.js, Nuxt, npm and Motion. The repository describes itself as: Agent Skills for the Vue ecosystem, written from current docs, issues, and releases. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “motion-v”
  • “Use the motion-v-skilld skill to alway load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue)”
  • “/motion-v-skilld”

Requirements

  • Node.js

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Use m plus LazyMotion instead of motion when bundle size matters.
  2. Never put v-if on AnimatePresence itself. If it unmounts, it cannot intercept child exits.
  3. For layout animations, apply changing CSS to :style, never to :animate.
  4. Set borderRadius and boxShadow as inline styles on layout elements.
  5. Add layoutScroll on scrollable ancestors and layoutRoot on fixed position ancestors.
  6. Set reducedMotion="user" on a root MotionConfig.
  7. Use dynamic variants with custom for stagger, not computed delays in reactive state.
  8. Render live motion values with in demos and readouts.
  9. Use v-motion for plain elements when a wrapper component does not fit.
  10. Gesture shorthand props focus, hover, press, inView were removed in v2.0.0.

What it can do on your machine

Read from SKILL.md and the folder at commit c8994af. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • motion.dev
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Motion V Skilld loads about 1.6k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 636 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from skilld-dev/vue-ecosystem-skills at commit c8994af, republished under its MIT licence (© skilld-dev). 636 words, ~1,580 tokens.

Download SKILL.mdSave it as .claude/skills/motion-v-skilld/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
motion-v-skilld
description
ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue). Covers the motion component, AnimatePresence, variants, gestures, layout, scroll, motion values, the v-motion directive, and the Nuxt module for version 2.4.4. Provides API facts, recipes, best practices, and migration notes.

motion-v (Motion for Vue) 2.4.4

Motion for Vue is the Vue port of Motion (formerly Framer Motion). It animates DOM and SVG through props, motion values, and a hybrid engine.

Facts, all verified from the prepared source:

  • Package: motion-v 2.4.4, MIT, ESM only (package.json:4, package.json:20-33).
  • Peer deps: vue >= 3.0.0, @vueuse/core >= 10.0.0 (package.json:53-56).
  • Engine deps: framer-motion, motion-dom, motion-utils, all ^13.3.0 (package.json:57-62).
  • Entry points: motion-v, motion-v/nuxt, motion-v/resolver (package.json:20-33).
  • The root entry re-exports all of framer-motion/dom (dist/es/index.d.ts:1). So animate, stagger, arc, easing functions, and more come from the Motion engine.
  • Repo and docs: https://github.com/motiondivision/motion-vue, https://motion.dev/docs/vue

Quick start

npm install motion-v
vue
<script setup>
import { motion } from 'motion-v'
</script>

<template>
  <motion.div :initial="{ opacity: 0 }" :animate="{ opacity: 1, x: 100 }" />
</template>

motion is a namespace of typed components for every HTML and SVG tag (dist/es/components/motion/index.d.ts:3-182). motion.div, motion.svg, motion.path and so on.

Core model

  • Set initial, animate, exit, whileHover, whilePress, whileInView, whileFocus, whileDrag to values or variant labels.
  • When animate values change, the element animates to them.
  • transition configures timing, spring, delay, stagger.
  • variants plus custom support dynamic, per element targets.
  • Animatable values include independent transforms (x, y, scale, rotate, skewX), colors, and CSS variables (dist/es/types/state.d.ts:45-47).
  • In templates, bind motion props with : prefix. They are props, not attributes.

Full prop and hook listing: references/api-surface.md

Hard rules

These rules prevent the most common bugs. Each cites its source.

  1. Use m plus LazyMotion instead of motion when bundle size matters. motion ships all features, about 34 kb. m starts near 6 kb. Load domAnimation for variants, gestures, exit. Load domMax for drag and layout. Set strict to catch stray motion usage in dev. https://motion.dev/docs/vue-lazymotion, dist/es/components/lazy-motion/index.d.ts:4-13

  2. Never put v-if on AnimatePresence itself. If it unmounts, it cannot intercept child exits. Put the condition on the direct child instead:

    vue
    <AnimatePresence>
      <motion.div v-if="isVisible" :exit="{ opacity: 0 }" />
    </AnimatePresence>

    https://motion.dev/docs/vue-animate-presence

  3. For layout animations, apply changing CSS to :style, never to :animate. The layout prop animates the measured change. Values in :animate fight the FLIP measurement. https://motion.dev/docs/vue-layout-animations

  4. Set borderRadius and boxShadow as inline styles on layout elements. Motion corrects scale distortion for these two only when they are motion values in :style. https://motion.dev/docs/vue-layout-animations#scale-correction

  5. Add layoutScroll on scrollable ancestors and layoutRoot on fixed position ancestors. Without them, layout measurement is wrong when scroll or viewport offset is non zero. dist/es/components/motion/props.d.ts:71-78

  6. Set reducedMotion="user" on a root MotionConfig. The default is "never", so animations ignore the OS accessibility setting unless you opt in. dist/es/components/motion-config/types.d.ts:5-20

  7. Use dynamic variants with custom for stagger, not computed delays in reactive state. Pass :custom="index" and resolve delay inside the variant function. https://motion.dev/docs/vue-animation

  8. Render live motion values with <RowValue :value="mv" /> in demos and readouts. It writes innerHTML directly and keeps fast values off the Vue render path. dist/es/components/RowValue.d.ts:1-15

  9. Use v-motion for plain elements when a wrapper component does not fit. Register it globally with app.use(MotionPlugin), or create presets with createPresetDirective. The directive supports SSR through getSSRProps and defaults to domMax features. dist/es/directive/index.mjs:153-172

  10. Gesture shorthand props focus, hover, press, inView were removed in v2.0.0. Use whileFocus, whileHover, whilePress, whileInView for animation, and event props like onHoverStart for logic. See references/migration.md

Show full SKILL.md (149 more words)Show less

Common tasks

Enter and exit, stagger, drag, scroll linked, imperative useAnimate, shared layout, Reorder lists, directive usage, LazyMotion, and Nuxt setup, each with a runnable snippet: references/recipes.md

Changes since the 2.2.1 baseline

  • 2.3.0: arc() motion along an arc, usable as transition: { path: arc(...) }. useAnimate now respects MotionConfig skipAnimations.
  • 2.4.0: multidimensional Reorder, axis="xy" on Reorder.Group.
  • 2.4.2: exit and enter animations restored for KeepAlive cached components.
  • 2.4.4: Nuxt module no longer transpires motion-v in builds.

Details and links: references/migration.md

Version specific notes

  • SVG positions use attrX, attrY, attrScale instead of x, y, scale (dist/es/types/state.d.ts:15-20).
  • useSpring accepts a value or a MotionValue source and returns the matching type (dist/es/value/use-spring.d.ts:6-7).
  • useTransform maps ranges and also returns a named map of outputs in one call (dist/es/value/use-transform.d.ts:54-97).
  • AnimatePresence supports mode sync, wait, popLayout, plus anchorX for popLayout exit direction (dist/es/components/animate-presence/types.d.ts:1-8).
  • Directive and components share one resolver, so v-motion inherits variant, presence, and config context (dist/es/utils/resolve-motion-props.d.ts:11-15).

© skilld-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/motion-v-skilld of skilld-dev/vue-ecosystem-skills.

  • SKILL.md
  • references/api-surface.md
  • references/migration.md
  • references/recipes.md

Open the folder on GitHubat commit c8994af

Compare with similar skills

Motion V Skilld next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Motion V Skilld compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Motion V Skilld this skillskilld-dev/vue-ecosystem-skills181—~1.6kAutomated safety check: PassMIT
Nuxt Coresecondsky/claude-skills227—~3.4kAutomated safety check: PassMIT
Bun Nuxtsecondsky/claude-skills227—~1.7kAutomated safety check: NotesMIT
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT
Markbind Typescript MigrationMarkBind/markbind158—~2kAutomated safety check: PassMIT
Nuxt Skilldharlan-zw/requestindexing.com395—~2.4kAutomated safety check: PassMIT

Similar skills

  • Nuxt Core

    secondsky/claude-skills

    | Nuxt 4 core framework fundamentals: project setup, configuration, routing, SEO, error handling, and directory structure.

    227 GitHub stars~3.4k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Bun Nuxt

    secondsky/claude-skills

    A skill your agent uses when running Nuxt 3 with Bun runtime, building Vue/Nuxt apps with Bun, or configuring Nuxt projects to use Bun for development and production.

    227 GitHub stars~1.7k tokensUpdated 9 days ago
    DevOps & CloudAuto-check: notes
  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • Complete guide for migrating JavaScript files to TypeScript in the MarkBind project, including the two-commit strategy, import/export syntax conversion, and best practices.

    158 GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Nuxt Skilld

    harlan-zw/requestindexing.com

    ALWAYS use when writing code importing "nuxt". An agent skill from harlan-zw/requestindexing.com.

    395 GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Nuxt UI Skilld

    harlan-zw/requestindexing.com

    ALWAYS use when writing code importing "@nuxt/ui". An agent skill from harlan-zw/requestindexing.com.

    395 GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from skilld-dev/vue-ecosystem-skills

All 34 skills in this repo
  • Floating UI Vue Skilld

    skilld-dev/vue-ecosystem-skills

    Floating UI for Vue (@floating-ui/vue@2.0.1). An agent skill from skilld-dev/vue-ecosystem-skills.

    181 GitHub stars~1.3k tokensUpdated 15 days ago
    Auto-check passed
  • Formkit Core Skilld

    skilld-dev/vue-ecosystem-skills

    A skill your agent uses whenever writing, debugging, or reviewing code that imports @formkit/core — FormKit's framework-agnostic core (node trees, values, events, hooks, message stores, ledgers…

    181 GitHub stars~2.1k tokensUpdated 15 days ago
    Auto-check passed
  • Pinia Colada Skilld

    skilld-dev/vue-ecosystem-skills

    Data fetching layer for Vue built on Pinia. An agent skill from skilld-dev/vue-ecosystem-skills.

    181 GitHub stars~1.9k tokensUpdated 15 days ago
    Auto-check passed
  • Pinia Skilld

    skilld-dev/vue-ecosystem-skills

    A skill your agent uses when writing, debugging, or refactoring code that imports "pinia", the Vue 3 store library.

    181 GitHub stars~1.5k tokensUpdated 15 days ago
    Auto-check passed
  • Primevue Skilld

    skilld-dev/vue-ecosystem-skills

    A skill your agent uses when writing, debugging, or updating code that imports primevue (PrimeVue v5, UI component library for Vue 3).

    181 GitHub stars~1.9k tokensUpdated 15 days ago
    Auto-check passed
  • Quasar Skilld

    skilld-dev/vue-ecosystem-skills

    Build, configure, and debug apps with the Quasar framework (quasar npm package, v2.33.1).

    181 GitHub stars~1.6k tokensUpdated 15 days ago
    Auto-check passed

Categories

Questions about Motion V Skilld

What does Motion V Skilld do?

ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue). Motion V Skilld is an agent skill from skilld-dev/vue-ecosystem-skills. ALWAYS load when writing or debugging code that imports "motion-v" (Motion for Vue, motion-vue).

When should I use Motion V Skilld?

Motion V Skilld fits situations like: development work in your project.

How do I install Motion V Skilld in Claude Code?

Run `npx skills add skilld-dev/vue-ecosystem-skills --skill motion-v-skilld -a claude-code`. Or copy the skill folder (skills/motion-v-skilld in skilld-dev/vue-ecosystem-skills) into .claude/skills/motion-v-skilld in your project. Claude Code loads it when a task matches its description.

How do I install Motion V Skilld in Codex?

Run `npx skills add skilld-dev/vue-ecosystem-skills --skill motion-v-skilld -a codex`. Or copy the skill folder (skills/motion-v-skilld in skilld-dev/vue-ecosystem-skills) into .agents/skills/motion-v-skilld in your project. Codex loads it when a task matches its description.

Can I use Motion V Skilld in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add skilld-dev/vue-ecosystem-skills --skill motion-v-skilld -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/motion-v-skilld, .gemini/skills/motion-v-skilld, .github/skills/motion-v-skilld and .opencode/skills/motion-v-skilld in your project.

What does Motion V Skilld need to run?

Going by SKILL.md and its folder, Motion V Skilld needs the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Motion V Skilld access the network?

SKILL.md names 2 domains. As links in the text: motion.dev and github.com. This is read from the text; nothing was executed.

Is Motion V Skilld safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Motion V Skilld use?

Motion V Skilld is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Motion V Skilld use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.7k tokens, read only when the agent opens those files.

What are the alternatives to Motion V Skilld?

Skills that share tags, products or a category with Motion V Skilld: Nuxt Core (secondsky/claude-skills, 227 stars), Bun Nuxt (secondsky/claude-skills, 227 stars), Create Docs (victorgarciaesgi/nuxt-typed-router, 413 stars) and Markbind Typescript Migration (MarkBind/markbind, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Motion V Skilld?

skilld-dev (a GitHub organization) maintains it in skilld-dev/vue-ecosystem-skills, which has 181 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on September 22, 2026.

Source: skilld-dev/vue-ecosystem-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.