Agent Skills
› nexu-io/motion-anything
› lightning
lightning
GitHub提供无依赖的GPU着色器闪电背景效果,适用于营销级Hero区域。通过复制JS文件并添加特定DOM元素实现,支持减少动态偏好设置下的静态帧渲染。
Trigger Scenarios
需要高性能且无依赖的WebGL背景特效
构建营销落地页或Hero区域的视觉增强
Install
npx skills add nexu-io/motion-anything --skill lightning -g -y
SKILL.md
Frontmatter
{
"od": {
"mode": "prototype",
"preview": {
"type": "html"
},
"surface": "web",
"category": "animation-motion",
"platform": "desktop",
"design_system": {
"requires": false
}
},
"name": "lightning",
"triggers": [
"lightning",
"shader background",
"webgl background",
"着色器背景",
"动态背景"
],
"description": "A distinctive GPU shader background rendered in dependency-free WebGL — a marketing-grade hero\nbackdrop. One per view; scrim behind text. Renders a static frame under prefers-reduced-motion.\n"
}
lightning
A GPU fragment-shader background (dependency-free WebGL).
How to apply
Copy _fx/shaderbg.js + lightning.js; add <div class="lightning" style="position:absolute;inset:0"></div> behind content.
Version History
- b016900 Current 2026-07-11 17:09


