mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 22:08:03 +00:00
Two new composition quality skills that give LLMs feedback loops they currently lack: hyperframes-contrast — pixel-level WCAG contrast auditing - Seeks to N timestamps, samples bg pixels behind text elements, computes WCAG 2.1 ratios, outputs JSON report + annotated overlay PNG - Eval: caught failing contrast in 4/5 palettes that baseline missed (Cement 2.98:1→5.33:1, Ash 2.08:1→5.44:1, Pencil 3.2:1→5.5:1, Gray-600 2.59:1→7.5:1) hyperframes-animation-map — sprite sheet visualization of GSAP tweens - Reads window.__timelines, renders N frames per tween with bbox overlay, emits sprite sheet PNGs + timeline JSON with flags (offscreen, collision, invisible, paced-fast, paced-slow) - Eval: correctly mapped 142 tweens across 5 compositions, raised actionable flags for review Both skills use @hyperframes/producer's file server for auto runtime injection — works on raw authoring HTML without a build step.