motion-sv
Skill by SikandarJODD
Documents motion-sv, a Svelte 5 port of the Motion animation library, with patterns for animations, gestures, drag and layout transitions. It is for Svelte 5 developers who want Motion-style animations in their components.
Install motion-sv
Built from the published package, never by AI.
git clone --depth 1 https://github.com/SikandarJODD/animations /tmp/animations && mkdir -p ~/.claude/skills && cp -r /tmp/animations ~/.claude/skills/motion-svRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/SikandarJODD/animations /tmp/animations && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/animations ~/.gemini/antigravity-cli/skills/motion-svAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
motion-sv is a Svelte 5 port of the Motion library, formerly Framer Motion. The skill gives an AI assistant documentation and code patterns for using it in Svelte projects. It covers the motion element factory, which renders any HTML element, and it lists supported props such as initial, animate and exit. It also covers gestures, drag and events.
The source states that motion-sv follows the motion-v API structure rather than the React version. It requires Svelte 5 with runes and a package named motion-sv. Layout animations use createLayoutMotion, since Svelte lacks getSnapshotBeforeUpdate. The skill is aimed at developers who want animations, gestures or transitions in Svelte.
Written from the project's SKILL.md and checked against it.
What it can do
- Motion componentsRender any HTML element with animation props using the motion dot notation.
- GesturesApply whileHover, whilePress, whileDrag and whileFocus styles to elements.
- DragConfigure drag, dragConstraints, dragElastic and dragMomentum on elements.
- Viewport animationsTrigger animations on scroll using whileInView and inViewOptions.
- AnimatePresenceRun exit animations with sync, wait or popLayout modes.
- Layout animationsAnimate layout changes using createLayoutMotion and layout.update.with.
- Reorder listsBuild drag and drop lists with ReorderGroup and ReorderItem.
- LazyMotionLoad animation features on demand to reduce bundle size.
- VariantsDefine typed animation variants with the Variants type.
What you need
- Svelte 5 with runes
- motion-sv package
Try asking
- Animate a card in with a fade and scale using motion-sv in Svelte
- Add a layout animation to a toggle in my Svelte 5 app with motion-sv
- Make a list in Svelte 5 reorderable by drag and drop with motion-sv
Good to know
- Requires Svelte 5 with runes
- Do not use Svelte's transition:fn directive
- Always pass styles as an object, not as a string
- Layout animations must use createLayoutMotion
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore274 B -
.npmrc19 B -
.prettierignore107 B -
.prettierrc526 B -
CODE_OF_CONDUCT.md5 KB
Show all 21 files
-
CONTRIBUTING.md2 KB -
CREATE_COMPONENT_GUIDE.md5 KB -
LICENSE1 KB -
README.md2 KB -
SKILL.md5 KB -
commands.md937 B -
components.json449 B -
fancy-components.json15 KB -
package.json3 KB -
pnpm-lock.yaml88 KB -
pnpm-workspace.yaml31 B -
registry.json54 KB -
spell-registry.json15 KB -
svelte.config.js1 KB -
tsconfig.json692 B -
vite.config.ts203 B
Alternatives to motion-sv
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
motion-sv: common questions
Does motion-sv work with Svelte 4?
The source says motion-sv must be used with Svelte 5 and its runes. It does not describe Svelte 4 support.
Is motion-sv the same as Framer Motion?
motion-sv is a Svelte 5 port of Motion, which was formerly called Framer Motion. The source says its API follows motion-v rather than the React version.
How do layout animations work in motion-sv?
Svelte lacks getSnapshotBeforeUpdate, so the source says to use createLayoutMotion, render with layout.div, and wrap state updates with layout.update.with.
How do I install motion-sv?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is motion-sv free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is motion-sv safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to motion-sv?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
