Communitygithub.com

vijayahnlu/reels

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

reels とは?

このスキルは、HyperFramesプラットフォーム向けのアニメーション知識を包括的に提供します。原子モーションルール(atomic recipes)を2~4つ選択して組み合わせることで、高速かつコード量を抑えたアニメーション作成が可能です。また、ブランドリビールやソーシャルプルーフなどのマルチフェーズシーンブループリントをロードして複雑な振付を再利用したり、シーン間トランジションやモーションデザイン手法を参照したりできます。7つのランタイムアダプター(GSAP、Lottie、Three.js、Anime.js、CSSキーフレーム、Web Animations API、TypeGPU/WebGPU)をサポートし、ルールやブループリントはすべてGSAPベースで、他のランタイムはアダプター経由で利用します。さらに、既存のコンポジションのアニメーションマップを監査するスクリプトや、24種類のテキストアニメーションエフェクトも含まれています。HyperFramesネイティブの設計に従い、単一の一時停止タイムライン上でシーク可能かつ決定論的に動作します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vijayahnlu/reels/tree/HEAD/.claude/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
ルールの完全なHTML/CSS/GSAPレシピを読むrules/<name>.md
マルチフェーズシーンテンプレートの選択blueprints-index.md
ブループリントの完全なレシピを読む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テクスチャ + WebGL/GLSLポストFX(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がすべてを1回のパスでシークできるようにします。

重要な制約

前提条件: hyperframes-core → 単一の一時停止タイムライン + 譲れないルール(単一の一時停止タイムライン、data-duration が長さを決定、Math.random / Date.now / performance.now は使用不可、有限なルート data-duration なしで repeat: -1 は禁止、後のシーンのクリップに対するページロード時の gsap.set は禁止、display や生の visibility のトゥイーンは禁止、タイムラインは完全に構築された後にのみ登録する。構築が document.fonts.ready などの非同期コールバック内で実行される場合も同様)。GSAPの autoAlpha と明示的なタイムライン境界でのゼロ持続時間の可視性設定は、コアによって許可されています。これらの例外は、クリップ内の非クリップ要素またはラッパーにのみ使用してください。フレームワークが .clip のライフサイクルを所有します。ここで完全なコントラクトを再述しないでください。

コアのコントラクトに追加するアニメーション作成上の注意:

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

スクリプト

node <SKILL_DIR>/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 9 individual skills — each has its own dedicated page.

vijayahnlu/reels

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

vijayahnlu/reels

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, clean, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

vijayahnlu/reels

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

vijayahnlu/reels

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

vijayahnlu/reels

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

vijayahnlu/reels

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

vijayahnlu/reels

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

vijayahnlu/reels

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

vijayahnlu/reels

Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.

関連スキル