Communitygithub.com

akshayDev17/ai-explainer-video

將課程筆記目錄分解為解說影片計劃,並證明沒有內容承載章節被遺漏。這是 explainer-video-from-coursework 的第一階段;可以單獨執行來(重新)規劃一個目錄。

ai-explainer-video 是什麼?

此技能為 `explainer-video-from-coursework` 管線的第一階段(共八階段),負責將 Markdown 筆記目錄分解為結構化的解說影片計劃。它會掃描目錄中的所有 `.md` 檔案,將每個章節指派給影片或標記為導航標題,並輸出一個涵蓋所有內容的證明,確保沒有內容承載章節被遺漏(零孤兒)。該計劃會輸出為 `plan.json` 和 `plan.md`,其中 `plan.md` 包含易於閱讀的摘要,而 `plan.json` 則包含下一階段所需的原始 `sectionSpans` 資料。此技能完全離線執行,無需網路或 API 金鑰,且可安全重複執行。它特別適合希望將現有筆記轉化為影片系列的開發者或教育者,並可用於從頭開始規劃新目錄,無需管線的其他部分。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-plan

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

craft-video-plan — 分解與驗證涵蓋率

屬於 explainer-video-from-coursework 管線的一部分 — 第一階段(共八階段), 是每個系列中兩個一次性階段的第一個。此技能是自包含的:它可以從頭開始規劃一個目錄。 如需完整執行,請改用主要技能。

管線的工具與場景託管工具位於同級 explainer-video-from-coursework 技能中:請以 node ../explainer-video-from-coursework/tools/<tool>.mjs 執行(相對於此技能資料夾解析)。從專案根目錄執行,因此 out/ 暫存區會放在筆記旁。

先決條件: 一個 Markdown 筆記目錄(<notesDir>)。

node ../explainer-video-from-coursework/tools/planner.mjs <notesDir> --out out/<name> --max-min 14

寫入 out/<name>/plan.json 與 out/<name>/plan.md。無需網路、無需金鑰,可安全重複執行。請閱讀 plan.md,而非 plan.json。

完成條件: 執行結束代碼為 0,且 plan.md 的涵蓋行顯示 N assigned · M excluded as navigation · 0 orphaned。非零結束代碼或任何孤兒表示計劃不完整 — 請停止並修正。永不擴充不完整的計劃。

兩個影響計劃解讀的事實:

  • 涵蓋率證明是關鍵。 規劃器會證明每個內容承載章節都已被指派給影片,或是導航標題。plan.json 也包含 sectionSpans(每個章節的 src、title,以及基於 1 的行號 line/endLine)— 為下一階段提供原始資料。
  • Min 欄位是護欄,而非持續時間 — 這是一個規劃估計(wpm 153 × expansion 1.10),而非實際測量的音訊時間。請用它來判斷邊界。

僅解析 .md 檔案;非 Markdown 內容對規劃器不可見。

維護

如果您修改此檔案,或使用者要求變更此階段,請告知使用者主要 explainer-video-from-coursework 技能的 「Stage 1 — /plan」 部分必須同步更新以符合,並在回覆中指名該部分。

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

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

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.

相關技能