Skills Agentes

Hyperframes Animation

Todo el conocimiento de animación de HyperFrames: reglas atómicas, blueprints multi-fase, transiciones, técnicas de motion-design y siete adaptadores de runtime (GSAP, Lottie, Three.js, Anime.js, CSS, WAAPI, TypeGPU).

Estrellas
52.1k

en todo el repo

Actividad
84

0–100, la ruta de este skill

Actualizado
el mes pasado

último commit aquí

Commits
26

últimos 90 días

Contexto
1.9k tok

156 tok en reposo

Paquete
121 archivos

1.1 MB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add heygen-com/hyperframes --skill hyperframes-animation --agent claude-code

Se instala solo en este repositorio.

Este skill makes network requests, reads environment config.

Qué hace

  • Selecciona y compone 2-4 reglas atómicas de movimiento con una única timeline de GSAP pausada
  • Carga blueprints multi-fase para escenas complejas de 4-5 fases
  • Provee APIs de referencia para siete adaptadores de runtime (GSAP, Lottie, Three.js, Anime.js, CSS, WAAPI, TypeGPU)
  • Ayuda a autorar transiciones entre escenas y técnicas de motion-design más amplias
  • Audita el mapa de animación de una composición existente con scripts/animation-map.mjs

Úsalo cuando

  • Necesitas cualquier tarea de movimiento o animación en HyperFrames
  • La escena coincide con un template multi-fase existente (brand-reveal, social-proof, etc.)
  • Necesitas buscar la API específica de un runtime (eases de GSAP, player de Lottie, mixer de Three.js)
  • Quieres auditar la coreografía de una composición ya existente

No lo uses cuando

  • No cargues un blueprint especulativamente; hazlo solo cuando ya decidiste que necesitas orquestación a nivel de escena

Qué lo activa

Di cualquiera de estas frases y el agente debería cargar este skill.

  • “Crea una animación de entrada combinando 2-3 reglas atómicas con GSAP”
  • “Necesito un blueprint de brand-reveal con 4 fases”
  • “¿Cómo controlo el mixer de Three.js en esta composición?”
  • “Audita la coreografía de esta composición y dame el mapa de animación”
  • “Busca la API de eases y stagger de GSAP”

SKILL.md

En inglés

HyperFrames Animation

All motion knowledge in one skill: rules (atomic recipes), blueprints (multi-phase scene templates), transitions (scene-to-scene), techniques (broader motion-design patterns), and adapters (per-runtime APIs).

For the composition contract (data attributes, sub-compositions, determinism) see hyperframes-core.

Default: compose atomic rules

Pick 2-4 rules from rules-index.md, glue them together with a single paused GSAP timeline, done. This is faster and produces less code than starting from a blueprint.

Load a blueprint when

  • The scene matches an existing pre-designed multi-phase template (brand-reveal, social-proof, etc.) and reusing its phase pipeline saves real authoring time
  • You want runnable ground-truth code for a complex 4-5 phase choreography

Blueprints live in blueprints-index.md. Each entry points to blueprints/<id>.md (recipe). Do not read it speculatively; load it when you've already decided you need scene-level orchestration.

Routing

Want to… Read
Pick an atomic motion pattern by trigger / tag rules-index.md
Read one rule's full HTML / CSS / GSAP recipe rules/<name>.md
Pick a multi-phase scene template blueprints-index.md
Read one blueprint's full recipe blueprints/<id>.md
Author a scene transition (CSS-driven, between two clips) transitions/overview.md, transitions/catalog.md
Look up a broader motion-design technique techniques.md
Analyze an existing composition's animation map scripts/animation-map.mjs
GSAP API — timeline / tweens / position parameters adapters/gsap.md
GSAP — drop-in effect recipes rules/gsap-effects.md
GSAP — transforms / perf adapters/gsap-transforms-and-perf.md
GSAP — eases / stagger adapters/gsap-easing-and-stagger.md
GSAP — timeline / labels adapters/gsap-timeline-and-labels.md
Lottie / dotLottie (After Effects exports, window.__hfLottie) adapters/lottie.md
Three.js / WebGL (3D scenes, AnimationMixer, hf-seek) adapters/three.md
Anime.js (window.__hfAnime) adapters/animejs.md
CSS keyframes (animation-delay / play-state / fill-mode) adapters/css-animations.md
Web Animations API (element.animate(), currentTime seek) adapters/waapi.md
TypeGPU / WebGPU (navigator.gpu, WGSL, compute pipelines) adapters/typegpu.md
HTML-as-texture + WebGL/GLSL post-fx (capture live DOM via drawElementImage) adapters/html-in-canvas-patterns.md
Named text-animation effects (24 IDs via external animate-text skill) adapters/animate-text.md

Picking a runtime

  • GSAP is the default for 95% of motion work — covers timeline orchestration, transforms, easing, stagger. All atomic rules in this skill are GSAP-based.
  • Lottie when an asset has its own pre-baked timeline (typically After Effects exports).
  • Three.js for 3D scenes, camera motion, shader-driven visuals.
  • Anime.js for lightweight tweening when GSAP is overkill.
  • CSS for simple repeated motifs, decoration, shimmer — no JavaScript animation cost.
  • WAAPI for native browser keyframes without a GSAP dependency.
  • TypeGPU / WebGPU for GPU-rendered canvases (particles, liquid glass, custom shaders).

Multiple runtimes can coexist in one composition. Each registers its instances on the runtime-specific global so HyperFrames can seek all of them in one pass.

Critical Constraints

Prerequisite: hyperframes-core → Non-Negotiable Rules (single paused timeline, data-duration governs length, no Math.random / Date.now / performance.now, no repeat: -1, no page-load gsap.set on later-scene clips, no display or raw visibility tweens, and no timeline construction inside async / setTimeout / Promise). GSAP autoAlpha and zero-duration visibility sets at explicit timeline boundaries remain allowed by core. Use those exceptions only on non-clip elements or wrappers inside a clip; the framework owns .clip lifecycle. Don't restate the full contract here.

Animation-craft additions on top of core's contract:

  • Pre-calculated layout constants — never derive positions from getBoundingClientRect() at tween time. Tween-time DOM measurements desync because the renderer samples in parallel; compute coordinates once at composition setup and reuse.
  • Spatial motion uses GSAP transform aliases only (x, y, scale, rotation). Core's allowlist also permits opacity / color / backgroundColor / borderRadius for non-spatial property tweens — but never width / height / top / left for layout changes.

Scripts

node skills/hyperframes-animation/scripts/animation-map.mjs <composition-dir> \
  --out <composition-dir>/.hyperframes/anim-map

Reads every GSAP timeline registered on window.__timelines, enumerates tweens, samples bboxes, computes flags, outputs animation-map.json. Use it to audit choreography (dead zones, stagger consistency, lifecycle warnings) after authoring.

animation-map.mjs resolves helper packages from the current project first, then can bootstrap the bundled HyperFrames package version. Set HYPERFRAMES_SKILL_PKG_VERSION=<version> only when running the skill outside the bundled CLI/skill install and you need to pin that bootstrap version explicitly.

See Also

  • hyperframes-core — composition structure, data attributes, sub-compositions, deterministic render contract
  • hyperframes-creative — palettes, typography, narration, beat planning (non-animation creative direction)
  • hyperframes-cli — npx hyperframes lint / check / snapshot / preview / render

Reproducido de heygen-com/hyperframes bajo licencia Apache-2.0. Leer esta página en markdown.

Archivos

121 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Antes de instalar

Requiere hyperframes-core para el contrato de composición (single paused timeline, data-duration, reglas no negociables).

Necesita en el PATH:node

Variables de entorno:BOOTSTRAP_CONFIRM_ENVHYPERFRAMES_SKILL_BOOTSTRAP_DEPSJSONVERSION_OVERRIDE_ENV

Detalles

Creador
heygen-com
Licencia
Apache-2.0
Recursos incluidos
scripts en javascript
Código fuente
Ver SKILL.md

Etiquetas

Más de heygen-com/hyperframes

Este repo incluye 25 skills. Si instalas uno, normalmente ya tienes los demás. Ver el pack hyperframes entero y su comando de instalación

Agent Media OS: resuelve BGM, SFX, imágenes, iconos, logos, voz, gradación de color o LUTs en un archivo local o bloque listo para usar; genera, opera y reutiliza assets en proyectos HyperFrames.

Costo de contexto al activarse
2k tok
Tamaño del paquete
152 archivos
Última actualización
el mes pasado
video

Convierte un pull request de GitHub (URL, owner/repo#N o 'este PR') en un video explicativo del cambio de código —changelog, feature, fix o refactor— construido a partir del diff, commits y archivos.

Costo de contexto al activarse
7.9k tok
Tamaño del paquete
30 archivos
Última actualización
el mes pasado
video

Punto de entrada obligatorio para crear, editar, animar o renderizar video, animaciones o motion graphics con HyperFrames, así como para inspeccionar, validar o publicar proyectos existentes.

Costo de contexto al activarse
3.2k tok
Tamaño del paquete
17 archivos
Última actualización
el mes pasado
video

Convierte una URL de producto o marketing, un guion pegado o un brief en un video de lanzamiento/promoción — promos SaaS, revelaciones de funciones, demos, lanzamientos de apps y empresas.

Costo de contexto al activarse
7.9k tok
Tamaño del paquete
28 archivos
Última actualización
el mes pasado
video

Usa el flujo de desarrollo de la CLI de HyperFrames: init, add, catalog, capture, lint, check, snapshot, compare, preview, render, publish, cloud, lambda, feedback, doctor y más; también para diagnosticar fallos de build o render.

Costo de contexto al activarse
3.9k tok
Tamaño del paquete
11 archivos
Última actualización
el mes pasado
video

Convierte texto (artículo, notas, tema o brief) en un video explicativo faceless: sin sitio ni material que capturar, los visuales se inventan por escena (tipografía, gráficos abstractos, diagramas, data-viz).

Costo de contexto al activarse
7.1k tok
Tamaño del paquete
24 archivos
Última actualización
el mes pasado
video

Skills relacionados

Doctrina de overlay para captions embebidos: el modelo drop/rail/embed y la regla de que los captions son un overlay compuesto sobre el film, nunca una banda inferior reservada.

Costo de contexto al activarse
1.5k tok
Tamaño del paquete
1 archivo
Última actualización
hace 2 meses
video

Convierte un changelog .md semanal en un video de marca terminado (cuadrado 1080, ~45-60s, voz de Annie, fondo animado, mock-UI, captions lowkey). Autocontenido: fuentes, fondo, léxico y scripts incluidos.

Costo de contexto al activarse
3.3k tok
Tamaño del paquete
15 archivos
Última actualización
hace 2 meses
video

Añade subtítulos o captions a un vídeo de un solo sujeto hablando a cámara sin editar el metraje, usando el catálogo de 35 identidades visuales.

Costo de contexto al activarse
8.1k tok
Tamaño del paquete
138 archivos
Última actualización
el mes pasado
video