waapi 是什么?
提供 HyperFrames 中 Web Animations API 的适配写法,覆盖 element.animate、时间跳转和 document.getAnimations。具体支持与动画生命周期要在目标浏览器复测。
中文说明由本站依据来源整理;英文原文保留在页面下方。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
waapi,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 waapi
请在 Codex 的当前工作环境中安装并检查 waapi 这个 Skill。
项目身份:heygen-com/hyperframes / waapi
来源:https://github.com/heygen-com/hyperframes/blob/8662598a3ac64018a2999d189ffb369e6d46b53a/skills/waapi/SKILL.md
已定位的源文件:skills/waapi/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 waapi
请在 Claude Code 的当前工作环境中安装并检查 waapi 这个 Skill。
项目身份:heygen-com/hyperframes / waapi
来源:https://github.com/heygen-com/hyperframes/blob/8662598a3ac64018a2999d189ffb369e6d46b53a/skills/waapi/SKILL.md
已定位的源文件:skills/waapi/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 waapi
请在 Cursor Agent 的当前工作环境中安装并检查 waapi 这个 Skill。
项目身份:heygen-com/hyperframes / waapi
来源:https://github.com/heygen-com/hyperframes/blob/8662598a3ac64018a2999d189ffb369e6d46b53a/skills/waapi/SKILL.md
已定位的源文件:skills/waapi/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 waapi
请在 当前 Agent 的当前工作环境中安装并检查 waapi 这个 Skill。
项目身份:heygen-com/hyperframes / waapi
来源:https://github.com/heygen-com/hyperframes/blob/8662598a3ac64018a2999d189ffb369e6d46b53a/skills/waapi/SKILL.md
已定位的源文件:skills/waapi/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 来源版本
- 历史源文件(2026-04-30T16:08:43+02:00);原目录已变更,本页解释所链接的历史版本,不代表当前安装方式。
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-17T10:54:27.873Z
- 中文使用说明
- 已有中文用途摘要;具体用法尚待逐项整理
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
skills/waapi/SKILL.md · 抓取时间 2026-11-17T10:54:27.873Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Web Animations API adapter patterns for HyperFrames. Use when authoring element.animate() motion, Animation currentTime seeking, document.getAnimations(), KeyframeEffect timing, fill modes, or native browser animations that must render deterministically in HyperFrames.
查看源文件章节 / Source sections
- 原文:Web Animations API for HyperFrames
- 原文:Contract
- 原文:Basic Pattern
- 原文:Stagger Pattern
- 原文:Good Uses
- 原文:Avoid
- 原文:Validation
- 原文:Credits And References
原文:Web Animations API for HyperFrames
HyperFrames can seek Web Animations API animations through its `waapi` runtime adapter. WAAPI is useful when you want native browser keyframes with JavaScript-created timing and no GSAP dependency.
原文:Contract
- Create animations synchronously during composition initialization. - Use `element.animate(...)` with finite `duration` and `iterations`. - Use `fill: "both"` so seeked states persist. - Pause animations after creation or let the adapter pause them on first seek. - Avoid callbacks and promises for render-critical state. The adapter calls `document.getAnimations()`, sets each animation's `currentTime` to HyperFrames time in milliseconds, then pauses it.
原文:Basic Pattern
```html <div id="orb" class="clip orb" data-start="2" data-duration="3" data-track-index="2"></div> <script> const orb = document.getElementById("orb"); const animation = orb.animate( [ { transform: "translate3d(-160px, 0, 0) scale(0.8)", opacity: 0 }, { transform: "translate3d(0, 0, 0) scale(1)", opacity: 1, offset: 0.35 }, { transform: "translate3d(120px, 0, 0) scale(1.08)", opacity: 1 }, ], { duration: 3000, delay: 2000, easing: "cubic-bezier(0.2, 0, 0, 1)", fill: "both", iterations: 1, }, ); animation.pause(); </script> ```
原文:Stagger Pattern
```js document.querySelectorAll(".token").forEach((token, index) => { const animation = token.animate( [ { transform: "translateY(24px)", opacity: 0 }, { transform: "translateY(0)", opacity: 1 }, ], { duration: 620, delay: index * 80, easing: "cubic-bezier(0.2, 0, 0, 1)", fill: "both", iterations: 1, }, ); animation.pause(); }); ```
原文:Good Uses
- Lightweight DOM motion where CSS keyframes are too rigid and GSAP is unnecessary. - Generated animations from structured data. - Simple timelines that can be represented as keyframes, delays, and offsets.
原文:Avoid
- Infinite `iterations`. - Depending on `animation.finished` to mutate render-critical DOM. - Running separate clocks with `requestAnimationFrame`, timers, or `performance.now()`. - Animating layout properties when transforms and opacity can express the motion. - Assuming clip-local start time is automatic. WAAPI adapter seeks document-level animation time; model clip offsets with `delay` or create the animation on an element whose visibility is controlled by HyperFrames timing.
文件 SHA256:e465beaf82a4f2de0fc40c705bdddddf59d851fc96ebb339c931ed9458d30cfb
仓库许可证记录:未提供;not-established,查看来源。
Web Animations API adapter patterns for HyperFrames. Use when authoring element.animate() motion, Animation currentTime seeking, document.getAnimations(),…
这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。
历史收录数据
| Skill标识 | waapi |
|---|---|
| 来源仓库 | heygen-com/hyperframes |
| 榜单快照 | 2026-07-28 |
| 榜单口径 | Skills.sh累计安装量 |
| 快照名次 | 292 |
| 快照累计安装量 | 69603 |
历史资料说明
- 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
- 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。
此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。
