Communitygithub.com

akshayDev17/ai-explainer-video

動画の各セグメントにおけるアニメーションビジュアルを執筆・反復改善するスキル。コース教材からの説明ビデオ生成パイプラインのステージ5であり、ビートが収まらない場合に音声ステージを再呼び出しします。

ai-explainer-video とは?

このスキルは、コース教材から説明ビデオを生成する8ステージのパイプラインのうち、第5ステージ「ビジュアルの執筆」を担当するオーケストレーターです。各セグメント(ビート)に対して、ナレーションに合わせたアニメーションビジュアルを作成・反復改善します。サポートするホストは3種類あります。1つ目は`svg`(`src/scene-svg.html`)で、自由なSVGレンダリングが可能なオープンレーンです。2つ目は`code`(`src/scene-code.html`)で、コードウォークスルーを表示します。3つ目は`diagram`(`src/scene-diagram.html`)で、`nodes`/`edges`/`reveal`/`banners`の宣言的設定により図解を生成します。ビートはそれぞれ`id`、`at`(ナレーション開始からの秒数)、`min`(最小滞在時間)、`hold`(ナレーション終了後も表示継続可)を持ちます。このスキルは音声ステージをループで再呼び出しする点が特徴で、`pacing-check`ツールがビートのタイミング不足を検出すると、該当箇所に`pad`(余白)と`hold: true`を追加し、`build-audio`を再実行してタイムラインを拡張します。レンダリング後は静止画を目視確認し、視覚的な欠陥(チップ欠け、配線の浮き、色違いなど)を修正します。パイプラインのツール類は`explainer-video-from-coursework`スキル内にあり、`node ../explainer-video-from-coursework/tools/<tool>.mjs`の形式で実行します。完了条件は`pacing-check`が終了コード0で成功し、かつ全静止画が目視確認済みであることです。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-scene

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

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

ドキュメント

craft-video-scene — ビジュアルを執筆する

explainer-video-from-courseworkパイプラインの一部 — 8段階中5段階目。これは 音声ステージに対するオーケストレーターであり、ループしてビートが収まらない場合に build-audioを再呼び出しします。音声ステージ自体はワンショットで、決してループバックしません。

パイプラインのツールとシーンホストは、兄弟スキルexplainer-video-from-courseworkにあります。 このスキルのフォルダを基準に、node ../explainer-video-from-coursework/tools/<tool>.mjs として実行します。 プロジェクトから実行するため、out/スクラッチはノートの隣に配置されます。

前提条件: out/<name>/<NN>/timeline.json(音声ステージからの出力)とビデオ用のスクリプト、 および--shotsのルック用のヘッドレスChromium(SETUP.md参照)。

--shotsレンダリングでPlaywright cache not foundエラーが発生した場合はChromiumが 存在しないことを意味します。SETUP.mdの手順をユーザーに伝えて再実行してください。

各セグメントはビートです。ナレーションとそれを説明するビジュアルからなります。 ビジュアルをビジュアルビート(各ステップに最小滞在時間とナレーションへのアライメントを持つ)として執筆し、 生の秒数で指定しないでください。

セグメントごとのホスト(out/<name>/<NN>/manifest.json、key → {host, scene}):

  • svg(src/scene-svg.html)— オープンレーン。renderAt(t, svg, timeline)とSCENE_BEATSを公開。
  • code(src/scene-code.html)— コードウォークスルー。
  • diagram(src/scene-diagram.html)— scene-core.js上に構築された宣言的nodes/edges/reveal/banners設定。

ビートがタイミングを所有する — セグメントごとにSCENE_BEATSを宣言: { id, at, min, hold }。atはナレーション開始からの秒数、minは最小滞在時間、 hold: trueはナレーションを超えて実行を許可するビートを示します。

ループ(ツール呼び出しとして表現)

シーンを執筆/編集
  → node ../explainer-video-from-coursework/tools/pacing-check.mjs --scene out/<name>/<NN>/scenes/<name>.js \
        --timeline out/<name>/<NN>/timeline.json --segment <key>
        (不足がある場合 =

Individual skills in this repo

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

akshayDev17/ai-explainer-video

Assemble one video from its segments — render each window silent, concatenate, mux the narration once, and verify. Stage 8 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Synthesize narration and build the measured timeline for one video. Stage 4 of explainer-video-from-coursework — the one-shot TTS primitive.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Render one scene config over one time window to an MP4 (or a handful of QA stills). Stage 7 of explainer-video-from-coursework — the render primitive.

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

関連スキル