Communitygithub.com

heygen-com/hyperframes

HyperFramesの全アニメーション知識を集約したスキル。原子モーションルール、マルチフェーズシーンブループリント、シーン間トランジション、モーションデザインテクニック、7つのランタイムアダプター(GSAPデフォルト、Lottie、Three.js、Anime.js、CSSキーフレーム、Web Animations API、TypeGPU)をカバーします。

hyperframes とは?

このスキルは、HyperFramesアニメーションシステムの全知識を提供し、AIエージェントがモーションやアニメーションのタスクを効率的に遂行できるようにします。原子モーションルール(rules-index.md)から2~4つを選択して合成するか、事前設計されたマルチフェーズシーンブループリント(blueprints-index.md)をロードして複雑な振り付けを作成します。GSAPをデフォルトのランタイムとしつつ、Lottie(After Effects書き出し)、Three.js(3D/WebGL)、Anime.js、CSSキーフレーム、Web Animations API、TypeGPU/WebGPUといった7つのランタイムアダプターをサポートし、各ランタイム固有のAPIも詳細に参照できます。また、既存のコンポジションのアニメーションマップを監査するスクリプト(animation-map.mjs)や、24種類の名前付きテキストアニメーションエフェクトにも対応。HyperFramesネイティブの制約(単一一時停止タイムライン、シークセーフ、決定論的動作)に従い、並列DOM計測による非同期を避けるため、事前計算レイアウト定数とGSAP transformエイリアスのみを使用する設計となっています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/heygen-com/hyperframes/tree/main/skills/hyperframes-animation

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

プラグインインストール: セットアップやフレッシュネスコマンドの前に、このスキルがHyperFramesプラグイン内にある場合は、プラグイン実行ルールに従ってください。スタンドアロンインストールの場合は、以下の更新手順をそのまま使用します。

HyperFrames アニメーション

すべてのモーション知識を1つのスキルに集約: ルール(原子レシピ)、ブループリント(マルチフェーズシーンテンプレート)、トランジション(シーン間)、テクニック(より広範なモーションデザインパターン)、アダプター(ランタイムごとのAPI)。

コンポジション契約(データ属性、サブコンポジション、決定性)については hyperframes-core を参照してください。

デフォルト: 原子ルールを合成

rules-index.md から2~4つのルールを選び、単一の一時停止GSAPタイムラインで結合するだけで完了。ブループリントから始めるよりも高速で、コード量も少なくなります。

ブループリントをロードするケース

  • シーンが既存の事前設計されたマルチフェーズテンプレート(ブランドリビール、ソーシャルプルーフなど)に一致し、そのフェーズパイプラインを再利用することで実際の作成時間を節約できる場合
  • 複雑な4~5フェーズの振り付けに対して、実行可能な確定コードが必要な場合

ブループリントは blueprints-index.md にあります。各エントリは blueprints/<id>.md (レシピ)を指します。推測で読まず、シーンレベルのオーケストレーションが必要だと判断した場合にロードしてください。

ルーティング

目的参照先
トリガー/タグで原子モーションパターンを選択rules-index.md
1つのルールの完全なHTML/CSS/GSAPレシピを読むrules/<name>.md
マルチフェーズシーンテンプレートを選択blueprints-index.md
1つのブループリントの完全なレシピを読むblueprints/<id>.md
シーントランジションを記述(CSS駆動、2クリップ間)transitions/overview.md, transitions/catalog.md
より広範なモーションデザインテクニックを調べるtechniques.md
モーションブラー — 要素へのシャッタースミア、使用すべきでない場合references/motion-blur.md
既存コンポジションのアニメーションマップを分析scripts/animation-map.mjs
GSAP API — タイムライン/トゥイーン/位置パラメーターadapters/gsap.md
GSAP — ドロップインエフェクトレシピrules/gsap-effects.md
GSAP — トランスフォーム/パフォーマンスadapters/gsap-transforms-and-perf.md
GSAP — イージング/スタガーadapters/gsap-easing-and-stagger.md
GSAP — タイムライン/ラベルadapters/gsap-timeline-and-labels.md
Lottie / dotLottie (After Effects書き出し、window.__hfLottie)adapters/lottie.md
キャラクターアニメーション(歩行サイクル、マスコット、関節パペット、ジェスチャー)adapters/lottie.md → キャラクター
Three.js / WebGL (3Dシーン、AnimationMixer、hf-seek)adapters/three.md
Anime.js (window.__hfAnime)adapters/animejs.md
CSSキーフレーム (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, コンピュートパイプライン)adapters/typegpu.md
HTML-as-texture + WebGL/GLSLポストエフェクト (drawElementImageによるライブDOMキャプチャ)adapters/html-in-canvas-patterns.md
名前付きテキストアニメーションエフェクト (外部 animate-text スキルによる24ID)adapters/animate-text.md

ランタイムの選択

  • GSAP は95%のモーション作業のデフォルト — タイムラインオーケストレーション、トランスフォーム、イージング、スタガーをカバー。このスキルのすべての原子ルールはGSAPベース。
  • Lottie はアセットに独自のプリベイクタイムラインがある場合(通常After Effects書き出し)、歩行、ジェスチャー、反応するキャラクターを含む。
  • Three.js は3Dシーン、カメラモーション、シェーダービジュアル用。
  • Anime.js はGSAPがオーバーキルな軽量トゥイーン用。
  • CSS は単純な繰り返しモチーフ、装飾、きらめき — JavaScriptアニメーションコストなし。
  • WAAPI はGSAP依存なしのネイティブブラウザキーフレーム用。
  • TypeGPU / WebGPU はGPUレンダリングキャンバス(パーティクル、リキッドガラス、カスタムシェーダー)用。

複数のランタイムが1つのコンポジション内で共存できます。各ランタイムは自身のインスタンスをランタイム固有のグローバルに登録し、HyperFramesが一度にすべてをシークできるようにします。

重要な制約

前提条件: hyperframes-core → 譲歩不能ルール (単一の一時停止タイムライン、data-duration が長さを管理、Math.random / Date.now / performance.now なし、repeat: -1 なし、後続シーンのクリップに対するページロード時の gsap.set なし、display や生の visibility トゥイーンなし、async / setTimeout / Promise 内でのタイムライン構築なし)。コアにより、明示的なタイムライン境界でのGSAP autoAlpha およびゼロ持続時間の可視性設定は引き続き許可されます。これらの例外は、クリップ内の非クリップ要素またはラッパーにのみ使用してください。フレームワークが .clip のライフサイクルを所有します。ここでは完全な契約を再記述しないでください。

コアの契約に加えて、アニメーション作成に関する追加事項:

  • 事前計算レイアウト定数 — トゥイーン時に getBoundingClientRect() から位置を導出しないでください。レンダラーが並列サンプリングするため、トゥイーン時のDOM計測は非同期になりがちです。コンポジションセットアップ時に座標を一度計算し、再利用してください。
  • 空間モーションにはGSAPトランスフォームエイリアスのみを使用 (x, y, scale, rotation)。コアの許可リストは非空間プロパティのトゥイーンに対して opacity / color / backgroundColor / borderRadius も許可しますが、レイアウト変更のための width / height / top / left は決して使用しないでください。

スクリプト

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

window.__timelines に登録されたすべてのGSAPタイムラインを読み取り、トゥイーンを列挙し、バウンディングボックスをサンプリングし、フラグを計算し、animation-map.json を出力します。作成後に振り付け(デッドゾーン、スタガーの一貫性、ライフサイクル警告)を監査するために使用します。

animation-map.mjs は最初に現在のプロジェクトからヘルパーパッケージを解決し、次にバンドルされたHyperFramesパッケージバージョンをブートストラップできます。バンドルされたCLI/スキルインストールの外部でスキルを実行し、そのブートストラップバージョンを明示的に固定する必要がある場合にのみ、HYPERFRAMES_SKILL_PKG_VERSION=<version> を設定してください。

関連項目

  • hyperframes-core — コンポジション構造、データ属性、サブコンポジション、決定論的レンダリング契約
  • hyperframes-creative — パレット、タイポグラフィ、ナレーション、ビート計画(アニメーション以外のクリエイティブディレクション)
  • hyperframes-cli — npx hyperframes lint / check / snapshot / preview / render

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

general-video

>

heygen-com/animejs

Anime.js adapter patterns for HyperFrames. Use when writing Anime.js animations or timelines inside HyperFrames compositions, registering animations on window.__hfAnime, making Anime.js seek-driven and deterministic, or translating Anime.js examples into render-safe HyperFrames HTML.

heygen-com/claude-design-hyperframes

Use when running inside Claude Design specifically. Produces a valid, brand-accurate HyperFrames video draft using pre-valid skeletons. For Claude Code / Cursor / Codex, use the `hyperframes` skill instead.

heygen-com/contribute-catalog

Author a new HyperFrames registry block (caption style, VFX block, transition, lower third) or component (text effect, overlay, snippet) and ship it as an upstream PR to the hyperframes repo. Use ONLY when the user wants to CONTRIBUTE to the public catalog — for in-project caption/transition authoring use the `hyperframes` skill, for installing existing registry items use the `hyperframes-registry` skill.

heygen-com/css-animations

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

heygen-com/gsap

GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

heygen-com/hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

heygen-com/hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

heygen-com/hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

heygen-com/hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

heygen-com/hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

heygen-com/hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

heygen-com/hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

heygen-com/hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

heygen-com/hyperframes

name: embedded-captions

heygen-com/hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

heygen-com/hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

heygen-com/hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

heygen-com/hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

heygen-com/hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

関連スキル