Communitygithub.com

akshayDev17/ai-explainer-video

説明動画のナレーションを書き、検証します。explainer-video-from-courseworkの第3ステージであり、単独で実行してビデオのスクリプトを(再)作成することもできます。

ai-explainer-video とは?

このスキルは、説明動画制作パイプライン `explainer-video-from-coursework` の第3ステージであり、コース教材から各動画のナレーションスクリプトを生成・検証する役割を担います。単一の動画に特化した最初のステージであり、事前に生成された拡張計画ファイル `plan.enriched.json` を入力として必要とします。エージェントは、`tools/script-check.mjs` ツールを使用してスクリプトの構文やカバレッジを自動検証し、すべてのセクションが漏れなくスクリプトに含まれていることを確認します。ターゲット時間の55%~125%の範囲内に収まるよう設計されており、一貫性のある教育的なナレーションを生成します。このスキルは主に Claude Code, Cursor, Codex などの AI エージェント向けに設計されており、Node.js 環境で動作します。

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

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

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

ドキュメント

craft-video-script — ナレーションを書く

explainer-video-from-coursework パイプラインの一部 — 8段階中3番目、最初の 動画ごとの段階です。単独で機能しますが、拡張された計画が必要であり、パイプライン全体の実行は不要です。

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

前提条件: 拡張段階からの out/<name>/plan.enriched.json。

エージェントは out/<name>/scripts/<NN>-<slug>.json を作成し、その後検証します:

node ../explainer-video-from-coursework/tools/script-check.mjs --script out/<name>/scripts/<NN>-*.json \
                            --plan out/<name>/plan.enriched.json

完了条件: 実行が 0 で終了した場合(✓ スクリプトは有効です)。UNCOVERED source section エラー — またはその他のエラー — はスクリプトが不完全であることを意味します。

スクリプトの契約。

  • 語り口 — 落ち着いていて、手法に従った教師のようであり、ストーリーを通じて説明します。各概念は具体的なシナリオとして始まり、段階的に展開されます。エッジの効いた表現や過激な意見は避け、比喩を歓迎します。
  • 粒度 — 視覚的なビートごとに 1 セグメント。おおよそ 40~80 語、上限 130 語厳守。
  • セグメントごとに — key(一意で短い)、text(逐語的に話す文字列。URL、マークダウン、コードは含めない)、style(配信の指示)、visual(シーン段階へのヒント)、covers(このセグメントがナレーションする計画セクション)、およびオプションの pad(無音の秒数)。
  • covers — plan.enriched.json から正確なセクション識別子をコピーします("src :: title @L<行>")。割り当てられたすべてのセクションが、いずれかのセグメントの covers に現れなければなりません。
  • 予算 — planTargetMinutes を目標とし、その 55% ~ 125% の範囲内に収めます。

videoIndex、title、form、planTargetMinutes、sources、artefacts は拡張計画のビデオからコピーされます。text、style、visual、covers のみが作成されます。

メンテナンス

このファイルを変更した場合、またはユーザーがこの段階の変更を依頼した場合は、メインの explainer-video-from-coursework スキルの 「Stage 3 — /script」 セクションも一致するように調整する必要があることをユーザーに伝え、返答の中でそのセクションを指定してください。

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

Author and iterate the animated visuals for one video's segments. Stage 5 of explainer-video-from-coursework; it re-invokes the audio stage when a beat needs a hold.

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.

関連スキル