From 20859cc408980fe852e2ee96dcdfbd3fd11a8e4f Mon Sep 17 00:00:00 2001 From: James Date: Thu, 23 Apr 2026 16:45:58 +0000 Subject: [PATCH] docs(skill): sync hyperframes skill with upstream changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pulls the hyperframes skill up to the latest state of heygen-com/hyperframes skill content. Opened 2026-04-17; upstream has shipped CLI, layout, and path changes since. - SKILL.md: promote the visual-style check to a proper HARD-GATE (DESIGN.md > named style > ask 3 questions, with the #333/#3b82f6/Roboto tells); expand Step 6 to cover audio-reactive (mandatory per-frame tl.call() sampling loop — a single long tween does NOT react to audio), caption exit guarantee (hard tl.set kill after group.end), marker highlighting, and scene transitions; add the animation-map script to Verification; link the new features.md. - references/cli.md: add capture and validate (both shipped commands, both referenced from the workflow but missing from the reference). Add --lang to tts with the voice-prefix auto-inference table and espeak-ng dependency note (heygen-com/hyperframes#351, 2026-04-20 — after this PR opened). - references/website-to-video.md: update all paths to the capture/ subfolder layout introduced in heygen-com/hyperframes#345 (capture/screenshots/, capture/assets/, capture/extracted/tokens.json). Old captured/ prefix was broken — agents following the skill were looking for files in wrong locations. - references/features.md (new): distilled coverage for captions (language rule, tone table, word grouping, fitTextFontSize, exit guarantee), TTS (multilingual phonemization, speed tuning), audio-reactive (data format, mapping table, sampling pattern), marker highlighting (highlight/circle/burst/scribble/sketchout), and transitions (energy/ mood tables, presets, shader-compatible CSS rules). Five topics the original PR didn't cover. --- optional-skills/creative/hyperframes/SKILL.md | 40 ++- .../creative/hyperframes/references/cli.md | 33 +- .../hyperframes/references/features.md | 289 ++++++++++++++++++ .../references/website-to-video.md | 22 +- 4 files changed, 360 insertions(+), 24 deletions(-) create mode 100644 optional-skills/creative/hyperframes/references/features.md diff --git a/optional-skills/creative/hyperframes/SKILL.md b/optional-skills/creative/hyperframes/SKILL.md index 70d1ae240b..926358e515 100644 --- a/optional-skills/creative/hyperframes/SKILL.md +++ b/optional-skills/creative/hyperframes/SKILL.md @@ -75,7 +75,16 @@ Before touching code, articulate at a high level: - **Visual identity** — colors, fonts, motion character (explosive / cinematic / fluid / technical) - **Hero frame** — for each scene, the moment when the most elements are simultaneously visible. This is the static layout you'll build first. -If the user hasn't specified a visual style, ask three questions before writing HTML: mood, light/dark, any brand colors/fonts/references. Write a short `DESIGN.md` at the project root capturing the answers. +**Visual Identity Gate (HARD-GATE).** Before writing ANY composition HTML, a visual identity must be defined. Do NOT write compositions with default or generic colors (`#333`, `#3b82f6`, `Roboto` are tells that this step was skipped). Check in order: + +1. **`DESIGN.md` at project root?** → Use its exact colors, fonts, motion rules, and "What NOT to Do" constraints. +2. **User named a style** (e.g. "Swiss Pulse", "dark and techy", "luxury brand")? → Generate a minimal `DESIGN.md` with `## Style Prompt`, `## Colors` (3-5 hex with roles), `## Typography` (1-2 families), `## What NOT to Do` (3-5 anti-patterns). +3. **None of the above?** → Ask 3 questions before writing any HTML: + - Mood? (explosive / cinematic / fluid / technical / chaotic / warm) + - Light or dark canvas? + - Any brand colors, fonts, or visual references? + + Then generate a `DESIGN.md` from the answers. Every composition must trace its palette and typography back to `DESIGN.md` or explicit user direction. ### 2. Scaffold @@ -114,11 +123,14 @@ Multi-scene compositions require transitions. Rules: Use `npx hyperframes add ` to install shader transitions (`flash-through-white`, `liquid-wipe`, etc.). Full list: `npx hyperframes add --list`. -### 6. Audio, captions, TTS +### 6. Audio, captions, TTS, audio-reactive, highlighting - **Audio:** always a separate `