motion-doctrine
它能做什么
这项技能为包含多个场景的 HyperFrames 视频设定整体运动规则。适合希望各场景衔接在一起、而不像堆叠幻灯片的视频制作者。
适用场景
- ✓当你即将制作包含多个场景的动画视频时。
- ✓当你的场景看起来像分开的幻灯片,每次切换都会停下再开始时。
- ✓当你希望场景之间的运动显得流畅、连贯时。
技能链接
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/motion-doctrine/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的视频场景看起来很跳跃。请让运动像一个连续的镜头那样流畅衔接。”
每周 5 个新技能,1 分钟读完。
工作原理
它解释每个场景的退出应如何为下一个场景的进入做好准备,并在切换之间保持方向和速度一致。它还设定了渲染前需要运行的检查。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Motion Doctrine (Gateway)
Read this before composing any animation. It decides WHAT happens at every seam and how every scene performs; the technique skills implement it. These rules supersede generic / upstream motion guidance. The failure this prevents: scenes authored in isolation — the eye's momentum dies at every cut, and scenes wobble in place between entry and exit.
Route map
| Decision (this skill) | Implementation skill |
|---|---|
| Seam transition choice + parameters + code | cut-the-curve §1–5 (the catalog) |
| Text / element entry cascades | cut-the-curve §6 (waterfall entry) |
| In-scene group repositioning (no cut) | cut-the-curve §7 (nudge curve) |
| Cursor-led action / scene kickoff / morph ignition | oversized-cursor |
| Seam render mechanics / white-flash guard | seam-craft |
| Product-launch / explainer / caption work | overlays text-beat-economics, brand-faithful, captions-overlay on top of the upstream skill |
Authoring order: vector ledger (ledger.json) → STAMP the master seams from it
(scripts/seam-stamp.mjs --ledger ledger.json --write index.html) → sustained-motion
route per phase → carriers and causes → build comps → VERIFY (scripts/seam-gate.mjs).
Hand-author only Tier-A morphs/match-cuts; stamped seams pass the gate by construction.
Part 1 — The Seam Law
The Vector Law
How Scene A exits determines how Scene B enters: same axis, same direction, matched speed, cut mid-motion on both sides.
- Axis — x stays x, y stays y, Z stays Z. Never trade axes across a cut.
- Direction — never mirror. On Z, direction = the SIGN of scale change: growing = push (camera forward), shrinking = pull (camera back). A receding exit answered by a grow-from-small entry is a mirrored vector — the most common violation, because grow-from-small is the default element entrance.
- Speed — entry initial velocity ≈ exit final velocity, via mirrored eases (exit
power4.in+ entrypower4.out, same distance and duration; the incoming side picks up ≥50% through the notional path). Mechanics incut-the-curve. - Phase — the cut lands mid-motion on BOTH sides. Settling to rest before the cut, or starting from rest after it, is a dead beat.
The Current
Every film picks ONE dominant direction (house default: LEFT). Every ordinary seam uses it. Other vectors are RESERVED — spending one means something:
| Vector | Meaning |
|---|---|
| The current (LEFT) | "next beat" — neutral forward progress |
| Upward | elevation — a conclusion or reveal rises above what came before |
| Z forward (zoom-through) | pushing deeper into the same thought |
| Z backward (inverse zoom) | ARRIVAL — something bigger lands |
| Scale-burst (explode out) | leaving a world — a surface blasts past camera |
- Never run consecutive seams in opposing directions — ping-pong reads as an error.
- A direction change needs a visible cause (click / bounce / impact) or a chapter boundary.
The Vector Ledger
Write it before authoring any master timeline — as ledger.json at the project root
(schema: references/seam-gate.md). One row per seam: cut time, exit and entry vectors
(axis + signed direction; Z rows carry the scale sign), selectors, technique. Exit and
entry must match; if a row mismatches, fix the plan, not the easing. The verifier checks
row consistency statically before any runtime sampling.
Carriers
The eye follows objects, not abstractions. The strongest seams hand a concrete carrier across the cut at mat
常见问题
与其他技能相比,这项技能有何不同?
它是总纲性的规则集。其他技能,例如 cut-the-curve,负责执行具体细节。
什么是影片的“流动感”(film current)?
它是整体的运动走向,引导观众的视线从一个场景进入下一个场景。
它涵盖光标动画吗?
它将以光标为主导的动作交给另一项用于超大光标的技能处理。
详情
作者的原始描述
GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog in
repo: heygen-com/hyperframes
热度
- GitHub 星标
- 78k
- 排名
- #1729
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
captions-overlay
78k指导你的智能体以叠加方式为视频添加字幕,决定哪些口播内容需要删除、放在字幕条上,或作为重点突出显示。
cut-the-curve
78k教你的智能体使用 HyperFrames 视频中的转场效果,例如流畅的场景切换、推进式穿越和错落的文字入场。
oversized-cursor
78k教你的智能体在视频中加入一个大号的动画指针,引导观众的视线,并让点击看起来像是引发了下一步动作。
seam-craft
78k说明如何让 HyperFrames 视频中的场景转场看起来干净,切换时没有白色闪烁或透明的凹陷。