帮助你在 React/Next.js 中实现高级动效、手势交互与动画编排。
该技能材料显示其为开源的纯提示词/文档型 React/Next.js 动画技能,不要求密钥,也未声明任何远程端点。基于现有材料,整体风险较低,主要需注意其依赖前置技能/库带来的供应链确认。
材料明确标注无需密钥或环境变量,未见请求 API token、账户凭证或其他敏感认证信息,凭证泄露与滥用风险低。
未声明任何远程端点,且系统检查项为 prompt-only;从材料看其主要提供前端动画实现指导,未见将用户数据外发到第三方服务的迹象。
作为 Skill 技能且被标记为 prompt-only,材料内容是动画模式与 API 使用说明,未见本机执行代码、启动进程或申请系统级执行权限的描述。
材料未描述读取、写入或上传本地文件、数据库、剪贴板或其他用户数据资源;其功能范围看起来限于生成/指导前端动画代码与模式。
来源为 GitHub 开源仓库,社区采用度很高(约 21 万 star),这些都是明显的降风险因素;虽许可证未声明、维护状态未知,且依赖前置的 motion-foundations,需要在使用前核验对应仓库与版本,但基于现有材料未见具体红旗。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "motion-advanced" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/motion-advanced/SKILL.md 2. 保存为 ~/.claude/skills/motion-advanced/SKILL.md 3. 装好后重载技能,告诉我可以用了
基于 motion-advanced,为 React 实现一个可拖拽排序的卡片列表,支持鼠标和触屏操作,带拖拽占位动画、回弹效果和无障碍键盘交互。请给出组件代码、状态管理方案和样式建议。
一套可直接集成的拖拽排序列表示例,包含动画逻辑、交互处理和实现说明。
使用 motion-advanced 为 Next.js 首页 Hero 区域设计文字入场动画:标题逐字出现,副标题淡入上移,按钮延迟出现,并兼顾性能与 reduced motion。请输出完整组件代码和参数解释。
一个首页 Hero 动画组件方案,含逐字动画、时间编排和无障碍优化说明。
请用 motion-advanced 实现一个 SVG 图标描边动画,在页面滚动到可视区域时开始绘制,绘制完成后填充颜色,并封装成可复用组件。请展示 useAnimate 或合适 API 的用法选择依据。
一个可复用的 SVG 路径绘制动画组件,附带触发逻辑与 API 选型说明。
Complex, interactive, and physics-based animation patterns.
Requires motion-foundations to be set up first.
Use these when motion-patterns is not enough.
useScrollReveal, magnetic button, cursor follower)useAnimateThis skill produces:
Reorder.Group listsuseScrollReveal, useHoverScale, useNavigationDirection, useInViewOnceuseAnimate with interrupt-safe async/awaituseSpring, springs.*) always feels more natural than duration-based for direct manipulation.useMotionValue + useTransform computes derived values without triggering re-renders.useAnimate sequences are imperative and interrupt-safe — calling animate() mid-flight cancels the previous animation automatically.useMotionValue, useSpring) are SSR-safe and do not cause hydration errors.drag prop works on both but feel and threshold differ.document.visibilityState === "hidden". Background tabs must not consume GPU/CPU.offset + velocity checks.useAnimate scope ref must be attached to a mounted DOM element. Calling animate() before mount throws silently.useMotionValue(0) inside a component body is correct; new MotionValue(0) in a render is not.motion-foundations. No inline numbers.window.addEventListener needs a matching removeEventListener in the useEffect return.| Scenario | API |
|---|---|
| Drag with physics on release | drag + dragTransition: springs.release |
| Ordered drag-to-reorder list | Reorder.Group + Reorder.Item |
| Dismiss on drag offset | drag="y" + onDragEnd offset check |
| Swipe left/right | drag="x" + onDragEnd offset check |
| Long press | useLongPress hook |
| Value smoothed over time | useSpring |
| Value derived from another | useTransform |
| Multi-step sequence | useAnimate with async/await |
| One-shot imperative animation | animate() from motion |
| Text entering word by word | Stagger on inline-block spans |
| SVG drawing on | pathLength 0 → 1 |
| SVG morph | d attribute tween (equal commands) |
| Circular progress | strokeDashoffset tween |
useSpring vs a spring transitionuseSpring | transition: springs.* | |
|---|---|---|
| Use for | Cursor follower, pointer-tracked values | Discrete state changes |
| Updates | Continuous, on every frame | Triggered by state change |
| Interrupt | Smooth — physics picks up from velocity | Restarts from current value |
…
用于审计 Claude 技能与命令质量,支持快速扫描和全量盘点评估。
帮助开发团队设计与优化 Playwright 端到端测试、配置流水线并降低用例不稳定性。
帮助团队安全运维长期运行的智能体任务,并管理监控与生命周期。
帮助用户完成素材剪辑、结构编排、AI增强与成片润色的视频制作流程。
帮助开发者掌握地道 Rust 模式、所有权、并发与错误处理实践
帮助团队快速制定项目规范示例,统一协作流程与文档标准
帮助你为 React/Next.js 产品实现可复用的界面动效与过渡方案。
提供适用于 React/Next.js 的高质量动画模式,快速实现常见交互动效。
为 React/Next.js 动效系统建立规范基座,统一令牌、弹簧预设、性能与无障碍规则。
为 React 项目生成准确的 Motion 动画代码与正确导入配置
将滚动动效需求转成可验证规范,并编译为确定性的 GSAP/CSS 实现
帮助用户将动效设计原则转化为适用于界面与 AI 代理的可执行规范