Communitygithub.com

DansiDanutz/Video-Editor

HyperFrames アニメーションのすべて——原子モーションルール、マルチフェーズシーンブループリント、シーン間トランジション、モーションデザイン技法、そして7つのランタイムアダプター(GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)をカバーします。モーションやアニメーションタスク全般に利用可能:2〜4個のルールを選んで合成するか、ブループリントをロードするか、ランタイム固有のAPI(GSAP イージング/Lottie プレイヤー/Three.js ミキサーなど)を参照してください。既存コンポジションの振付(アニメーションマップ)監査や24種類のテキストアニメーションエフェクトにも対応。HyperFrames ネイティブ:単一ポーズタイムライン、シーク安全、決定論的。

Video-Editor とは?

このスキルは、HyperFrames プラットフォーム向けのアニメーション知識を一元的に提供します。原子モーションルール、マルチフェーズシーンブループリント、シーン間トランジション、広範なモーションデザイン技法、そして7つのランタイムアダプター(GSAP、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)をカバーします。開発者は、2〜4個のルールを選択して素早くアニメーションを合成するか、事前定義されたブループリントをロードして複雑な振付を再利用できます。各ランタイムへのルーティングテーブルが用意されており、特定のAPIやエフェクトを簡単に参照できます。HyperFrames の核心的な制約(単一ポーズタイムライン、決定論的動作、シーク安全性)に従い、モーション設計のベストプラクティスを強制します。また、`animation-map.mjs` スクリプトを使用してコンポジションの振付を監査し、デッドゾーンやスタッガーの整合性を確認できます。このスキルは、HyperFrames エコシステム内で一貫性と効率性を確保しながら、プロフェッショナルなアニメーション制作を可能にします。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DansiDanutz/Video-Editor/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
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 ポストエフェクト(drawElementImage によるライブDOMキャプチャ)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 レンダリングキャンバス(パーティクル、リキッドガラス、カスタムシェーダー)に使用します。

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

重要な制約

前提条件: 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 13 individual skills — each has its own dedicated page.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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`.

DansiDanutz/Video-Editor

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, 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.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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`.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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).

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: 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`.

DansiDanutz/Video-Editor

Agent Media OS, the single skill for every media need in 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.

DansiDanutz/Video-Editor

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

DansiDanutz/Video-Editor

Divide a finished story/script into filmable scenes with per-scene image and animation prompts. Use when building a scene outline or shot list, deciding scene boundaries, durations, or what each visual must show.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

関連スキル