Communitygithub.com

Zuhair-01/claude-skills-and-systems

HyperFrames アニメーションのすべて — アトミックモーションルール、マルチフェーズシーンブループリント、シーン間トランジション、モーションデザインテクニック、そして7つのランタイムアダプター(GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)。あらゆるモーション・アニメーションタスクに使用可能。

claude-skills-and-systems とは?

HyperFrames Animation は、HyperFrames フレームワークにおけるアニメーション知識を統合したスキルです。アトミックモーションルール(ルールインデックスから2〜4個選択し合成)、マルチフェーズシーンブループリント(ブランドリビールやソーシャルプルーフなどのテンプレート)、CSS 駆動のシーントランジション、モーションデザインテクニック、そして7つのランタイムアダプター(GSAP、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)をカバーします。各アダプターは専用の API リファレンス(例:GSAP のイージングやスターガー、Lottie プレイヤー、Three.js の AnimationMixer)を提供し、複数ランタイムの共存も可能です。また、既存コンポジションのアニメーションマップを監査するスクリプトや、24の名前付きテキストアニメーションエフェクトも含まれます。HyperFrames ネイティブの制約として、単一の一時停止タイムライン、シーク安全、決定論的実行を前提としています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Zuhair-01/claude-skills-and-systems/tree/HEAD/skills/hyperframes-animation

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

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

ドキュメント

HyperFrames アニメーション

すべてのモーション知識をひとつのスキルに:ルール(アトミックレシピ)、ブループリント(マルチフェーズシーンテンプレート)、トランジション(シーン間遷移)、テクニック(より広範なモーションデザインパターン)、アダプター(ランタイム別 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 シーク)adapters/waapi.md
TypeGPU / WebGPU(navigator.gpu、WGSL、コンピュートパイプライン)adapters/typegpu.md
HTML-as-texture + WebGL/GLSL ポストエフェクト(ライブ DOM を drawElementImage でキャプチャ)adapters/html-in-canvas-patterns.md
名前付きテキストアニメーションエフェクト(外部 animate-text スキル経由で24 ID)adapters/animate-text.md

ランタイムの選択

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

複数のランタイムをひとつのコンポジション内で共存させることができます。各ランタイムはそのインスタンスをランタイム固有のグローバルに登録し、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 9 individual skills — each has its own dedicated page.

Zuhair-01/claude-skills-and-systems

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

Zuhair-01/claude-skills-and-systems

Generate Mandarin and multilingual narration with Volcengine Doubao Speech 2.0. Use when creating Chinese voiceovers, when the user prefers Doubao/Volcengine/火山引擎/豆包 TTS, or when narration needs character-level timestamp metadata for subtitles.

Zuhair-01/claude-skills-and-systems

Edit existing videos using AI — remix style, upscale, remove background, and add audio via fal.ai's hosted video models.

Zuhair-01/claude-skills-and-systems

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

Zuhair-01/claude-skills-and-systems

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Zuhair-01/claude-skills-and-systems

Read-only queue dashboard for workspace-aware ship. (gstack)

Zuhair-01/claude-skills-and-systems

Generate HeyGen presenter videos via the v3 Video Agent pipeline — handles Frame Check (aspect ratio correction), prompt engineering, avatar resolution, and voice selection. Required for any HeyGen video generation. Replaces deprecated endpoints with v3. Use when: (1) generating any HeyGen video (via API or otherwise), (2) sending a personalized video message (outreach, update, announcement, pitch, knowledge), (3) creating a HeyGen presenter-led explainer, tutorial, or product demo with a human face, (4) "make a video of me saying...", "send a video to my leads", "record an update for my team", "create a video pitch", "make a loom-style message", "I want to appear in this video", "generate a HeyGen video", "make a talking head video". Accepts avatar_id from heygen-avatar for identity-first HeyGen videos, or uses a stock presenter. Returns video share URL + HeyGen session URL for iteration. Chain signal: when the user wants to create/design an avatar AND make a video in the same request, run heygen-avatar f...

Zuhair-01/claude-skills-and-systems

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.

Zuhair-01/claude-skills-and-systems

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

関連スキル