Agent Skills
› nexu-io/motion-anything
› anim-heartbeat
anim-heartbeat
GitHub提供基于Animate.css的CSS心跳动画,无需JS。适用于快速强调元素,需克制使用以保障可访问性并尊重prefers-reduced-motion设置。
Trigger Scenarios
需要为HTML元素添加轻量级CSS强调动画
询问如何使用Animate.css中的heartBeat效果
Install
npx skills add nexu-io/motion-anything --skill anim-heartbeat -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/github.com\/animate-css\/animate.css",
"design_system": {
"requires": false
},
"example_prompt": "Apply heartBeat (Animate.css) to the element as a emphasis animation, restrained, with a\nprefers-reduced-motion fallback. Attribute Animate.css."
},
"name": "anim-heartbeat",
"triggers": [
"heartbeat",
"css animation",
"强调动效"
],
"description": "Heart Beat — a drop-in CSS keyframe animation from Animate.css (Hippocratic-2.1, © Daniel Eden).\nNo JS required. Honors prefers-reduced-motion. Use restrained; attribute Animate.css.\n"
}
Animate · Heart Beat
Heart Beat — CSS keyframe animation from Animate.css (Hippocratic License 2.1, © Daniel Eden). Part of motion-anything.
When to use it
- A quick, drop-in CSS emphasis animation (no JS).
When NOT to use it (restraint)
- Many at once / must-read content. Keep it restrained.
How to apply
- Copy
heartBeat.css. 2. Add classheartBeatto the element + setanimation-duration.
Accessibility & license
prefers-reduced-motion: disabled. Attribute Animate.css (Hippocratic-2.1).
Version History
- b016900 Current 2026-07-11 17:04


