Communitygithub.com

SingleGrain-Team/video-skills

UIのモーメント(エントリー画面、1つのカウント指標、ナビゲーションリスト、メニューを開くクリック、エンドカード)の短い連続から、10〜14秒のプロダクトスティングを構築します。すべてのカットで前の動きを引き継ぎ、1つの連続したカメラ移動として読めるように編集します。1920×1080 H.264 MP4と編集可能なシングルファイルHyperFramesプロジェクトで納品します。

video-skills とは?

このスキルは、製品のUIモーメント(エントリー画面、単一のカウント指標、ナビゲーションリスト、メニューを開くクリック操作、エンドカード)から、10〜14秒の短いプロダクトスティング(商品紹介動画)を生成します。すべてのカットが前の動きを引き継ぎ、1つの連続したカメラ移動として視聴者に認識されるよう編集されます。出力は1920×1080 H.264のMP4ファイルと、編集可能な単一ファイルのHyperFramesプロジェクトとして提供されます。アプリアップデート、フィーチャー紹介、ソーシャルバンパー、サイトイントロなど、プロダクトのロゴ、いくつかのスクリーンショット、1つの指標、実際のナビゲーションラベルがあれば、洗練されたUIモーションをナレーションなしで実現できます。技術的には、1つのイージングファミリー(expo.out/inの代わりに独自のEase関数を使用)と、すべてのカットで一致するモーションベクトルに基づいて動作します。音楽はオプションで、商用ライセンスが確認されていれば使用できますが、無音でも問題なく機能します。

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/SingleGrain-Team/video-skills/tree/HEAD/skills/ui-sting

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

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

ドキュメント

ui-sting

UIのビートからなる、短く、デフォルトでは無音の映像です。見た目は2つの要素だけから決まります。1つのイージングファミリーと、すべてのカットで一致するモーションベクトルです。アイドルモーションや装飾は追加しないでください。

収集する入力

  • ブランド: 名前、ロゴ(アルファ付きPNGまたはSVG)、2〜3色(ベース、テキスト、アクセント1つ)、レンダリングが法的に許容されるフォント(オープンフェイスで可。デフォルトはInter)。
  • 実際の製品画面のスクリーンショット2枚(1920×1080)(エントリー/ランディング画面と、コマンド、フォーム、またはトリミング可能な見出しを含む詳細画面)。
  • カウントする価値のある1つの指標(例:「662のスキル」)と、ラベルおよびサブライン。
  • 実際のプライマリナビゲーションラベル(5つ)と、ハイライトされるラベル(3番目)。
  • 視聴者が取るべきアクション(ボタンラベル)と、それが開く4つのメニューオプション。
  • エンドカード: 2語のタグライン、URL、オプションでズームカードに入力するコマンド。

自分が所有しているか、使用ライセンスがあるアセットのみを使用してください。サードパーティのロゴやUIを映像に入れないでください。

スロット

スロットフレーム数(30fps)配置内容
A ロックアップ1-35ロゴマーク+ワードマーク。2つのパーツが互いにバウンドし、その後浮かび上がる
B エントリー36-72スクリーンショットカードが下から進入し、ブランドカラーのグロスが横切って左に退出
C ズーム73-1131.5倍のカードが右から進入。詳細スクリーンショットのトリミングと、入力されるコマンド。浮かび上がる
D カウンター114-154メトリックカードが浮かび上がり、数字が0からNまで回転、右に退出
E ナビ155-209行が左から滝のように流れ込み、アクセントピルが行1から行3に移動
F アクション210-304ボタンが大きく現れて縮小、カーソルがクリック、メニューが開き、ハイライトがオプション3に移動
G エンドカード305-325タグライン+ロックアップ+URLが、引き戻し、スプリングセトル、マークにかかる輝きと共に着地

合計325フレーム = 10.83秒。すべては F(n) = (n - 1) / 30 に基づきます。

ワークフロー

  1. スキャフォールド: npx --yes hyperframes init <dir> --non-interactive --resolution landscape。これによりプロジェクトファイルが作成されます。その後、index.htmlを置き換え、assets/を追加します。
  2. このスキルから template/index.html と template/assets/ をプロジェクトにコピーします。3つのプレースホルダー画像を実際のロゴとスクリーンショットに置き換えます(ファイル名はそのままにするか、src/url()参照を更新)。
  3. ブランドレイヤーのみを再ブランドします: :rootカラートークン、コピー文字列、NAV、MENU配列、ICOパスデータ(24x24 viewBox、1.7ストローク、ラウンドキャップ。汎用グリフを描画し、他社のマークは使用しない)、コマンド文字列 CMD、カウンターターゲット(AMT 内の 662)、およびクロップ(#c-cropの background 位置/サイズ。詳細スクリーンショットの表示したい領域を選択。サイズ = スクリーンショット幅 x スケール、位置 = スケールされたピクセルでのクロップの負のオフセット)。
  4. 2つのナビ番号を再測定します。ラベルを変更した後、1度レンダリングし、静止したナビフレーム(約 t = 6.5 秒)を開き、各ラベルの右端を読み取ります。NAV[i].w を行の幅(アイコン+ラベル)に設定し、最初の3行は pw = w + 46 とします。ハイライトは行3に着地し、それに収まる必要があります。
  5. npx --yes hyperframes check を実行。シングルファイルレイアウトは nested_structure_needs_subcomposition 警告を生成しますが、このフォーマットでは想定内です。エラーとコントラストセクションはクリーンである必要があります。
  6. レンダリング: npx --yes hyperframes render --quality looks --workers 2 --output final.mp4。
  7. フレームを確認(「検証」を参照)、修正、再レンダリング。final.mp4 とプロジェクトフォルダを納品します。

音楽はオプションです。使用する場合は、メディア使用カタログまたは生成によって解決し、ライセンスが商用利用を許可していることを確認し、独自のトラックに <audio id="bed" class="clip" ...> クリップとして追加し(id が必要)、音量を低く保ちます。映像は無音でも機能します。

モーションルール(厳守)

  1. 1つのイージングファミリー: 到着には EO = 1 - 2^(-10p) を使用し、退出にはそのミラー EI = 2^(10(p-1)) を使用します。これらを関数として渡します。文字列 "expo.out"/"expo.in" は異なる曲線であり、すべての退出を数ピクセルずらします。オーバーシュートなし、リニアなし、ストックのエラスティックやバックなし。
  2. すべてのカットで一致するベクトル(references/seams.md を参照)。カットの前に何も静止せず、カットの後で静止状態から始まるものもありません。軸と方向は両側で一致する必要があります。
  3. カーブはトゥイーン(補間)ですが、決定はスタンプ(固定値)です。タイピングのリズム、走行距離計の値、ハイライトのパスは、tl.set でフレームごとにスタンプされます。これにより、正確でシークセーフな状態が保たれます。
  4. 意図的に不均一: ナビ行は均等にピッチングされておらず、タイピングには3つのダブルフレームがあります。
  5. 速い動きは同じイージングでランプアップするブラーを伴い、速度がピークのときにピークになります。
  6. 2パーツマークは対向バウンス: 減衰スプリング A * e^(-t/0.279) * sin(2*pi*t/0.5)、一方のパーツには +A、他方には -A。エンドカードは同じスプリングで単語を2フレームずつずらします。
  7. カウンターの最後の桁は垂直方向のみのブラー(SVG feGaussianBlur stdDeviation="0 4")を持ちます。
  8. アイドルモーションなし。ビートが空に感じられる場合は、揺れではなく情報を追加します。
  9. フレーム番号、時間、クリップの data-start/data-duration、EO/EI、スタンプされた配列の長さ、またはシーンラッパートゥイーンを変更しないでください。ただし、両側の継ぎ目を再計画する場合は除きます。

技術ノート

  • オーサリングは720x720の正方形(「ワールド」)で行われ、各 .scene が1.5倍で1920x1080にスケーリングされ、正方形は .w ラッパーによって中央に配置されます(オフセット280)。そのため、画面外への退出は大きなピクセル値を使用します。
  • クリップ境界はフレーム時間のすぐ下(1.1667 ではなく 1.166)にあります。
  • ダークテーマでは2番目のナビレイヤーが必要です。明るいピルの上では明るいタイプが消えます。代わりにアクセントピルにはダークテキストを使用し、明るい背景のアクセントカラー付き小さなテキストにはテキスト(インク)色を使用し、アクセント色は使用しません。オレンジ色とクリーム色の組み合わせは3:1のコントラストゲートに失敗します。
  • 実行時にテキストを測定しないでください。フォントの読み込みと競合します。レンダリングから数値を焼き付けます。
  • システムフェースでない場合は、自分で制御するファミリーの下にフォントを登録します。

検証

  1. npx --yes hyperframes check がパスする(ランタイム、レイアウト、モーション、コントラスト)。
  2. 6〜8フレームを抽出して確認する: ffmpeg -ss <t> -i final.mp4 -frames:v 1 f.png を約0.5、1.8、3.1、4.4、6.5、8.5、9.4、10.7秒で実行。hstack/vstack でタイル表示して一度に確認。
  3. 確認: ロゴが中央に配置されている。エントリースクリーンショットが読み取れる。タイプされたコマンドがクリップされていない。カウンターがターゲットで停止している。ピルが目的の行にあり、十分な幅がある。メニューがボタンの角から開き、ハイライトがオプション3に移動している。エンドカードのテキストが中央揃えで読み取れる。
  4. references/seams.md に従って、2つの継ぎ目をスポットチェックする。
  5. ffprobe で出力を確認: 1920x1080、h264、30 fps、時間約10.83秒。

納品物

final.mp4(1920x1080 H.264)とプロジェクトフォルダ(index.html、assets/)。プロジェクトは編集可能です。データを変更して再ブランドでき、モーションは変更しません。

Individual skills in this repo

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

SingleGrain-Team/video-skills

Make a 30-45 second launch film for a product by staging it inside one persistent, neutral chat window. A user types a request, the assistant answers and calls the product as a connected tool, a progress card runs, a follow-up triggers a second tool action, and the result lands as a count-up headline number before closing on the logo, tagline and call to action. Use when you need a launch, feature or integration announcement video for something that plugs into AI assistants (a skill, MCP server, plugin, connector, CLI). Delivers a rendered 1920x1080 MP4 plus an editable single-file HyperFrames project.

SingleGrain-Team/video-skills

Build a motion graphic where a screen recording plays in a large frame beside a checklist, and each checklist item ticks off at the exact moment that step happens in the recording, ending with every item checked and a short hold. Use when someone has a screen recording (product walkthrough, tutorial, onboarding, install demo) plus a list of steps with timestamps and wants a "watch the steps get done" film. Input is a recording, step labels with timestamps, a title and an optional palette; output is a 1920x1080 H.264 MP4 and the editable HyperFrames project.

SingleGrain-Team/video-skills

Build a 15-20 second product launch film that shows the product's real screen on a laptop built from plain CSS (no 3D model, no generation model) in a dark studio, scrolls the page, zooms into the interface for one key action such as typing a search, and resolves to the logo lockup. Use when someone has a full-page screenshot or screen recording of their product, one action worth showing, and a logo, and wants a short silent-friendly launch teaser rendered as a 1920x1080 MP4 with an editable HyperFrames project.

SingleGrain-Team/video-skills

Builds a 6-8 second logo sting in which the brand mark rides inside a refracting liquid bead (distorted past legibility), the bead swells, holds still for a beat, then ruptures into droplets and leaves the logo lockup (mark plus wordmark) crisp and upright on screen. Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project, with no 3D model, stock footage or generation model. Use it for brand intros and outros, product-launch openers, channel stings and any "reveal our logo" moment, from an SVG or PNG logo (including raster-only logos), a wordmark string and a palette.

SingleGrain-Team/video-skills

Make a 20-30 second launch film for a product that is not tied to one interface, such as a CLI, package, plugin or agent skill. The identical prompt or command is typed into four visually different surfaces in turn (a wide terminal, a tall chat card, a floating palette, an editor cell), the film then hard-cuts into a fast reel of real outputs on a beat or fixed tempo grid, and it closes on the command in a large pill. Delivered as a rendered 1920x1080 MP4 plus the editable HyperFrames project. Music is optional - with a track the cuts land on detected beats, without one they land on a 120 bpm grid.

SingleGrain-Team/video-skills

Make a roughly 30-second film that explains a code change (a pull request, release or uncommitted diff) to people who will never read the diff. It opens by showing the real diff scrolling past too fast to follow, cuts to a plain-language summary, fires four capability beats each pinned to a real code snippet, and closes on how to get it (install command and URL). Delivered as a 1920x1080 H.264 MP4 plus the editable HyperFrames project. Use when asked to turn a PR, changelog or release into a launch or explainer video.

SingleGrain-Team/video-skills

Render a 5-6 second motion graphic in which an oversized condensed headline (2-4 words) punches in behind a presenter, using a background-removed cutout of the presenter layered on top of the lettering. A hard cut then removes the presenter while the same headline holds the exact same size and position, and a short supporting line appears for a reading hold. Use it for talking-head intros, chapter openers, launch announcements and social hooks when you have one presenter clip, a headline, a supporting line and a palette. Built on HyperFrames; delivers a 1920x1080 H.264 MP4 plus the editable project.

関連スキル