hyperframes-keyframes
Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.
1How It Works & Mechanism
Pure instruction-based skill: The directory contains only 3 files (SKILL.md + agents/openai.yaml + references/keyframe-patterns.md), with no executable scripts, binaries, or data assets; it relies on codifying "keyframes = pose contracts" into strict rules, letting the host agent author the synthesized HTML/GSAP.
interface: display_name: "HyperFrames Keyframes" short_description: "Author seek-safe video keyframes" default_prompt: "Use $hyperframes-keyframes to author seek-safe 2D/3D keyframes and verify them with the CLI."
Defines keyframes as "pose contracts" rather than tween parameters: visible state, subject identity continuity, seek-safe runtime, and pixel verifiability form the four acceptance criteria.
Keyframes are a pose contract: visible states, continuous subject identity, seek-safe runtime, verified pixels.
Seek-safe is a hard constraint, not a suggestion: Only deterministic runtimes with "synchronous construction + registered timeline" are permitted, explicitly banning clocks, unseeded randomness, event triggers, and asynchronous timelines.
Never use for render-critical motion: - `Date.now()` - `performance.now()` - unseeded `Math.random()` - hover/scroll triggers - timers - async-created timelines - unregistered `requestAnimationFrame` - infinite loops
Capability boundaries are explicitly split into three domains with line-by-line ownership: visual motion belongs to this skill, clip sequencing (trim/splice/reorder/source range) belongs to hyperframes-core, and audio (fade/crossfade/ducking) belongs to hyperframes-audio; cross-domain requests are handled with a "Truthful mechanism" table.
Keyframes own visual motion, not clip assembly. Source-range hard cuts, trim, splice, and reorder belong to `/hyperframes-core`: author one media element per kept range, place it with `data-start` and `data-duration`, and select its source offset with `data-media-start`.
The verification loop relies on the hyperframes CLI: lint → check → keyframes diagnostics → focused --shot → snapshot, organized by "what is being proven"; diagnostic failure triage follows a defined sequence.
npx hyperframes lint npx hyperframes check npx hyperframes keyframes . npx hyperframes keyframes . --json npx hyperframes keyframes . --runtime all npx hyperframes keyframes . --selector "<selector>" --shot "<file>" --samples <n>
Reproduction constraints are provided per engine runtime, and documentation gaps such as "WAAPI not listed on the surface text" are explicitly marked as requiring self-proof.
WAAPI: - finite `duration` - `fill: "both"` - deterministic construction - the text surface does not list WAAPI; verify with `--shot` (it seeks WAAPI) and snapshots
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | hyperframes CLI(npx,本 skill 唯一的执行面) |
| cli | hyperframes lint / check(合规模拟门禁) |
| package | GSAP(被写进合成 HTML 的运行时,含 MotionPathPlugin / Flip / DrawSVGPlugin / MorphSVGPlugin) |
| package | Anime.js / WAAPI / CSS @keyframes / Three.js / WebGL(可选运行时家族) |
| network | 官方文档外链(仅阅读参考清单,无代码调用) |
| network | sibling skill 引用(同仓本地路径,非网络) |
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text, without script execution or external impact
5Second-Pass Verification
- [ok] 是否含可执行脚本 / 隐藏代码 — 全量枚举 3 文件,无 .sh/.mjs/.cjs/.py/.js;隐藏文件 0 个;与 skills-manifest.json 的 files=3 交叉一致。
- [ok] 网络外发与凭证读取 — `fetch(`、`http.request`、`XMLHttpRequest`、`urllib`、`process.env`、`child_process`、`API_KEY/TOKEN/SECRET/.env/Authorization` 全部 0 命中;21 处 URL 全为文档链接(gsap.com、animejs.com、developer.mozilla.org、threejs.org),无端点调用。
- [ok] 实现原理是否成立(纯指令 vs 有无隐藏执行体) — SKILL.md 的每条硬规则都能在正文找到对应的验收动作(Procedure 5 步 + Done 段 6 项确认),且所有验证都外派给 hyperframes CLI;无隐藏执行体,结论『纯 prompt 编排』成立。
- [discrepancy] 与同仓其它 skill 的组内一致性(自刷新提示) — hyperframes-keyframes 的 SKILL.md **没有** `npx hyperframes skills update hyperframes-keyframes` 前置刷新段;同仓 embedded-captions / faceless-explainer / general-video / motion-graphics / product-launch-video / remotion-to-hyperframes / talking-head-recut 七个 workflow skill 均在正文首段带该提示('First, keep this skill fresh')。这不是第一遍看错,而是一处真实的组内不一致:本 skill 只能随 hyperframes CLI 的版本一起更新,无独立自刷新入口。
- [ok] 『外部资源』逐条回查调用点 — hyperframes CLI 的每类命令(keyframes/--shot/--layout strip/--ghost/snapshot --at)在 SKILL.md 的 CLI Proof 段与工具证明表中均有真实出现;GSAP 骨架与 Anime.js 骨架在 references/keyframe-patterns.md 中原文存在,非推测。
6Verdict & Scenarios
78ffadd495cffe9c…