Agent Skills
› nexu-io/motion-anything
› fx-firework
fx-firework
GitHub基于 Canvas 的烟花绽放特效,适用于幻灯片标题或发布视频等庆祝性场景。需复制 JS 文件并添加 data-fx 属性调用。严格限制使用频率,尊重用户减少动画偏好设置,确保性能与无障碍体验。
Trigger Scenarios
需要展示庆祝、发布或高光时刻的场景
幻灯片标题卡或章节过渡页
Install
npx skills add nexu-io/motion-anything --skill fx-firework -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"upstream": "https:\/\/github.com\/nexu-io\/open-design",
"design_system": {
"requires": false
},
"example_prompt": "Use fx-firework as a background effect on a slide or hero: call HPX['firework'](el) on a positioned dark\ncontainer; keep to one bold effect per screen, with a reduced-motion guard."
},
"name": "fx-firework",
"triggers": [
"firework",
"烟花"
],
"description": "Fireworks launch and burst — a festive hero moment. A bold, canvas-based effect from Open Design's html-ppt fx pack — for slides and launch\nvideos. Guards prefers-reduced-motion (does not start). One per screen; on web use sparingly.\n"
}
Firework
Fireworks launch and burst — a festive hero moment. From Open Design's html-ppt fx pack (Apache-2.0).
Part of motion-anything; obeys MOTION-SPEC.md.
When to use it
- Title cards, section breaks, or hero moments in slides / launch videos.
When NOT to use it (restraint)
- Web body content or anything needing focused reading. Never more than one bold effect at once.
How to apply
- Copy
firework.jsand_util.jsand link them. - Add
data-fx="firework"to a positioned container; callHPX['firework'](el)(guard prefers-reduced-motion).
Accessibility & performance
- Guard with prefers-reduced-motion (don't start). Canvas-based; isolated compositing layer.
Version History
- b016900 Current 2026-07-11 17:06


