motion-physics
Skill0 starsChanged 7 days agoMITView on GitHub
Spring micro-interactions for Vue 3 using @vueuse/motion. Use when introducing cards, dialogs, lists, hover, or press feedback. Forbids linear spatial easing, long staggers, and looping motion unless a loading state was requested.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- yogvidwankhede/vishwakarmatheir own version, first seen Sep 26, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- yogvidwankhede/vishwakarma★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/heyeddi-always-on.mdcCursor rule
- .cursor/rules/skill-authoring.mdcCursor rule
- aura-design-tokensSkill
- backend-type-bridgerSkill
- cli-interface-designSkill
- composable-patternsSkill
- dart-type-bridgerSkill
- design-handoff-flutterSkill
- design-system-generalizerSkill
- engineering-excellenceSkill
- fancy-ui-craftSkill
- flutter-engineeringSkill
- flutter-patternsSkill
- heyeddi-ci-configSkill
- heyeddi-ci-failsSkill
- heyeddi-ci-guideSkill
- heyeddi-ci-runnersSkill
- heyeddi-designSkill
- heyeddi-handoffSkill
- heyeddi-intakeSkill
- heyeddi-local-firstSkill
- heyeddi-orchestratorSkill
- heyeddi-productSkill
- heyeddi-pr-respondSkill
- heyeddi-pr-reviewSkill
- heyeddi-setupSkill
- heyeddiSkill
- layout-morphSkill
- no-duplicate-uiSkill
- pre-merge-gateSkill
- primevue-auraSkill
- primevue-openprops-architectSkill
- project-engineeringSkill
- quasar-foundationSkill
- taste-penpotSkill
- ux-flow-auditorSkill
- verify-buildSkill
- visual-auditorSkill
- visual-verificationSkill
- vue-design-systemSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Do not invent transition coordinates.
- Distinctive: line 68
When a moment matches a preset, use the preset.
- Very specific: line 75
No linear transitions: never use ease-in-out or linear timing for spatial movements (x, y, scale).
- Distinctive: line 77
No continuous looping: avoid looping pulses, infinite rotations, or floating animations on UI elements unless explicitly requested for an …
- Very specific: line 82
Import MotionPresets from src/design/motion-presets.js.
- Distinctive: line 84
Do not animate layout properties that PrimeVue or Quasar already own (drawer width, virtual scroller position) unless the user asked for …
- Distinctive: line 89
When you have finished the user's request for this skill, suggest what to run next:
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spring Motion
Replaces generic fade and slide effects with spring physics from @vueuse/motion.
Do not invent transition coordinates. Use the three presets below. Shell and data components stay in @quasar-foundation and @primevue-aura. A card that grows into its detail in the same view is @layout-morph (Quasar v-morph), not a spring on position.
When the agent activates this skill
- Introducing cards, modals, or list items to the DOM.
- Card hover states, focus depth, and button tap compressions.
- Staggering sequential data lists or dashboard panels.
Installation
npm install @vueuse/motionRegister MotionPlugin after PrimeVue in src/main.js. The bootstrap block is in @primevue-aura.
Physics profiles
// src/design/motion-presets.js
export const MotionPresets = {
// Snappy feedback for clicks, toggles, and icon buttons
microFeedback: {
hovered: { scale: 1.02, transition: { type: 'spring', stiffness: 400, damping: 25 } },
tapped: { scale: 0.97, transition: { type: 'spring', stiffness: 500, damping: 30 } }
},
// Structural panel / dialog entry
modalEnter: {
initial: { opacity: 0, scale: 0.95, y: 15 },
enter: {
opacity: 1,
scale: 1,
y: 0,
transition: { type: 'spring', stiffness: 280, damping: 22 }
}
},
// Stagger helper for lists / tables
staggerItem: (index) => ({
initial: { opacity: 0, y: 12 },
enter: {
opacity: 1,
y: 0,
transition: {
delay: Math.min(index * 35, 200), // Cap max delay to prevent slowness
type: 'spring',
stiffness: 320,
damping: 24
}
}
})
};When a moment matches a preset, use the preset. The directive defaults apply only when none of the three presets fit:
- Interactive elements:
{ type: 'spring', stiffness: 350, damping: 25 } - Dialogs and overlays:
{ type: 'spring', stiffness: 280, damping: 22 }(same asmodalEnter)
Anti-AI-slop motion rules
- No linear transitions: never use
ease-in-outorlineartiming for spatial movements (x,y,scale). Always use spring damping. - Cap animation delays: never set list stagger delays greater than 40ms per item or total delay exceeding 200ms.
staggerItemuses 35ms and caps at 200ms. - No continuous looping: avoid looping pulses, infinite rotations, or floating animations on UI elements unless explicitly requested for an active loading state.
- Provide a
prefers-reduced-motionpath: skip spatial springs and use an instant opacity change.
Instructions
- Import
MotionPresetsfromsrc/design/motion-presets.js. Do not copy the numbers into a component as one-off values. - Bind
v-motionto the preset that matches the moment. - Do not animate layout properties that PrimeVue or Quasar already own (drawer width, virtual scroller position) unless the user asked for that motion.
- Loading indicators may loop. Everything else plays once.
When the task is complete: suggest next skills
When you have finished the user's request for this skill, suggest what to run next:
Run:
python .agents/skills/heyeddi/scripts/suggest_next_skill.py --current-skill motion-physics --project-root .- Include the script's
### Next stepblock in your final reply.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

