feat: Add hyperframes skill for HTML-based video composition#22
Open
GanQiao1990 wants to merge 1 commit into
Open
feat: Add hyperframes skill for HTML-based video composition#22GanQiao1990 wants to merge 1 commit into
GanQiao1990 wants to merge 1 commit into
Conversation
Add HyperFrames skill for building video compositions, animations, title cards, overlays, captions, and scene transitions as HTML with GSAP timelines. Covers composition structure, data attributes, timeline contract, scene transitions, animation guardrails, layout-before-animation workflow, captions, and quality checks.
There was a problem hiding this comment.
Pull request overview
Adds a new hyperframes agent skill to the repository, documenting an HTML+CSS+GSAP workflow for authoring deterministic, multi-scene video compositions with transitions, captions, and validation checks.
Changes:
- Introduces
.agents/skills/hyperframes/SKILL.mdwith authoring rules, timeline/data-attribute contracts, and guardrails. - Documents scene transition constraints, captioning guidance, and quality checks (contrast + animation-map).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| **Deterministic:** No `Math.random()`, `Date.now()`, or time-based logic. Use a seeded PRNG if needed. | ||
|
|
||
| **GSAP:** Only animate visual properties (`opacity`, `x`, `y`, `scale`, `rotation`, `color`, `backgroundColor`, `borderRadius`, transforms). Do NOT animate `visibility`, `display`, or call `video.play()`/`audio.play()`. |
Comment on lines
+209
to
+213
| - 700-900 weight for headlines, 300-400 for body | ||
| - Pair serif + sans (not two sans-serif families) | ||
| - Add `crossorigin="anonymous"` to external media | ||
| - For dynamic text overflow: `window.__hyperframes.fitTextFontSize(text, { maxWidth, fontFamily, fontWeight })` | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a hyperframes skill for building video compositions, animations, title cards, overlays, captions, and scene transitions as HTML with GSAP timelines.
Why
HyperFrames is an HTML-based video composition framework where the source of truth is HTML+CSS+GSAP. This skill captures the essential workflow and rules for agents to author production-quality video compositions:
Skill format
Follows the Agent Skills standard with YAML frontmatter (
name,description,license) and self-contained markdown instructions. Compatible with Warp AI agents and Oz.Source
Adapted from the HyperFrames framework skill, condensed to a single self-contained SKILL.md covering the core authoring workflow.