From 7d59b2ceae3e6cd51736d22f6ebea67a35b7b6b5 Mon Sep 17 00:00:00 2001 From: Vance Ingalls Date: Tue, 24 Mar 2026 18:52:44 -0700 Subject: [PATCH] feat: add composing-video skill for HyperFrames HTML compositions Add a Claude Code skill that guides AI agents through creating valid HyperFrames video compositions. Includes framework rules, data attribute reference, timeline contract, and composition patterns. Co-Authored-By: Claude Opus 4.6 (1M context) --- .claude/skills/composing-video/SKILL.md | 258 +++++++++++++++++++++ .claude/skills/composing-video/patterns.md | 180 ++++++++++++++ 2 files changed, 438 insertions(+) create mode 100644 .claude/skills/composing-video/SKILL.md create mode 100644 .claude/skills/composing-video/patterns.md diff --git a/.claude/skills/composing-video/SKILL.md b/.claude/skills/composing-video/SKILL.md new file mode 100644 index 000000000..8be52145f --- /dev/null +++ b/.claude/skills/composing-video/SKILL.md @@ -0,0 +1,258 @@ +--- +name: composing-video +description: Generates HyperFrames HTML video compositions from scratch or by editing existing ones. Handles composition structure, GSAP timelines, clip timing, sub-compositions, and asset references. Use when creating videos, building animations, making compositions, adding title cards, or generating any HTML-based video content for HyperFrames. +--- + +# Composing Video + +Generate valid HyperFrames compositions that work in the studio preview and the producer render pipeline. + +## How HyperFrames Works + +HTML is the source of truth for video: + +- **HTML elements** with `data-*` attributes define what appears and when +- **CSS** controls positioning and appearance +- **GSAP timeline** drives animations +- **The framework** automatically handles clip visibility, media playback, and timeline sync + +### Framework-Managed Behavior + +The framework automatically manages: + +- **Primitive clip timeline entries** — reads `data-start`, `data-duration`, `data-track-index` and adds them to the GSAP timeline. Do not manually add primitive clips to the timeline in scripts. +- **Media playback** (play, pause, seek) for `