Agent Skills
› nexu-io/motion-anything
› click-spark
click-spark
GitHub轻量级点击火花特效技能。点击时从光标位置迸发火花,增强愉悦感。适用于主要操作,避免用于严肃或破坏性场景。支持自定义颜色,且尊重用户减少动态效果的偏好设置。
Trigger Scenarios
需要为点击动作添加趣味视觉反馈时
执行令人愉悦的主要交互操作时
Install
npx skills add nexu-io/motion-anything --skill click-spark -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "click-spark",
"triggers": [
"click spark",
"tap burst",
"点击火花",
"点按迸发"
],
"description": "A quick burst of sparks flies from the point you click — a playful tap accent. Reserve for a delightful primary action; skip on serious\/destructive ones. No sparks under prefers-reduced-motion.\n"
}
click-spark
Sparks burst from the click point. Dependency-free, reduced-motion safe.
How to apply
Copy click-spark.js; add class click-spark (optional data-spark="#hex"). Auto-attaches.
Version History
- b016900 Current 2026-07-11 17:07


