seam-craft
What it does
This skill sets the technical rules that keep video transitions looking correct. It is for video makers who see flashes or glitches at scene changes.
When to use it
- βWhen you are putting the scenes of a video together into one main timeline.
- βWhen a white flash appears at a cut or a fade between two scenes, especially on dark videos.
- βWhen you want to check that a transition renders correctly before you finish the video.
Skill link
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/seam-craft/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βThere is a white flash at every cut in my dark video. Fix the transitions.β
5 new skills a week. 1 minute to read.
How it works
It explains that the background behind two scenes must be solid, so a fade does not show the default white page through the gap. It also lists checks to run before rendering.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Seam Craft β render prerequisites for scene-to-scene transitions
This is the render-correctness doctrine for PLV scene-to-scene seams: the prerequisites and master-timeline mechanics that make any transition composite correctly, independent of which specific transition is chosen. The per-transition catalog (crossfade, push-slide, zoom-through, cut-the-curve, β¦) lives in the transition registry β this page is the doctrine that sits underneath all of them.
The transitions this doctrine governs are Tier-B-ready: pure transform / opacity /
filter on the two scene clip wrappers (#el-<sid>), no injected overlay DOM, no
per-scene cooperation. Overlay families (staggered blocks, blinds, light leak, grid
dissolve, page burn) and shader transitions are deferred to later phases.
Stage ground prerequisite (white-flash guard)
Several templates open a window where the two wrappers' summed opacity < 1 (the
cut-the-curve mid-window cut, zoom-through's 0.15 floor, plain crossfade's
power-curve dip). Whatever is BEHIND the wrappers shows through during that
window. If the assembled index.html #root has no opaque background, the
renderer composites the dip over its default white page β a white flash at
every seam, glaring on dark films (observed on two Spotify runs before the fix).
The assembler must paint the stage: #root { background: var(--canvas-deep, var(--canvas, #000)) } β assemble-index.mjs now emits this;
any other consumer of these templates owns the same guarantee.
How the injector applies a transition
At a break boundary between scene i (from) and scene i+1 (to), the
injector:
- Extends
#el-<from>wrapperdata-durationbyduration_s(holds its final frame β verified:core/src/runtime/init.ts:1393-1410external-slot branch). - Pulls
#el-<to>wrapperdata-startearlier byduration_s(creates the overlap window). - Reassigns all clip
data-track-indexas a 0/1 ping-pong so the two overlapping wrappers never share a track (same-track overlap is illegal βcore/src/lint/rules/composition.ts). Higher track composites on top. - Stamps the
gsap_templateintowindow.__timelines["main"]atT = overlap-start.
Verified by prototype render (2026-05-31): the master-timeline wrapper tween is seeked and rendered (no double-seek with the sub-comp's own paused timeline β the runtime drives them independently), the extended wrapper holds scene i's final frame, and the higher-track incoming wrapper composites over + blends with the outgoing one.
Template placeholders
The injector substitutes these tokens in each gsap_template line:
| Token | Meaning |
|---|---|
__OLD__ |
"#el-<from>" β outgoing clip wrapper selector (quoted) |
__NEW__ |
"#el-<to>" β incoming clip wrapper selector (quoted) |
__T__ |
overlap-start time in seconds (master clock) |
__DUR__ |
duration_s for this boundary |
__DX__ |
horizontal travel for directional types: -1920 (LEFT) / 1920 (RIGHT) |
__DY__ |
vertical travel: -1080 (UP) / 1080 (DOWN) |
__ORIGIN_OUT__ / __ORIGIN_IN__ |
transformOrigin pair for squeeze |
filter / scaleX / transformOrigin are lint-clean on the master timeline
(verified: core/src/lint/rules/gsap.ts has no per-property whitelist and scopes
its checks to data-composition-id ranges; the x/y/scale/rotation/opacity
whitelist is a scene-worker prompt rule only β it does not bind index.html).
FAQ
Why does a white flash happen?
During a transition, both scenes can be partly see-through. If the background is not set, the renderer shows white in that gap.
What is the fix?
The assembled page should paint a solid background behind the scenes, so the gap is filled with the video color.
Does it cover a specific transition type?
No. It covers the basics that make any transition render correctly, not one transition style.
Details
Original description by the author
Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos β the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks
repo: heygen-com/hyperframes
Popularity
- GitHub stars
- 78k
- Ranking position
- #1731
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
captions-overlay
78kGuides your agent on adding captions to a video as an overlay, deciding which spoken lines to drop, show on a rail, or highlight.
cut-the-curve
78kTeaches your agent the transitions used in HyperFrames videos, such as smooth scene cuts, zoom-throughs, and staggered text entries.
motion-doctrine
78kGives your agent the core rules for making a multi-scene video feel like one continuous camera move instead of separate slides.
oversized-cursor
78kTeaches your agent to add a large, animated pointer to a video that guides the viewer's eye and makes clicks feel like they cause the next action.
Similar skills
blender-motion-state-inspection
280kAllows inspection of details in 3D animations. It's useful for checking poses, movements, and character alignment in animations.
manim-video
280kLets your agent create animated explainer videos. It uses Manim to generate clear graphs and diagrams for technical concepts.
remotion-video-creation
280kGuides your agent in creating videos using React with the Remotion library. It covers best practices for animations, audio, captions, and other visual elements.