Communitygithub.com

akshayDev17/ai-explainer-video

重新命名和策劃解釋型影片計畫中的影片——撰寫 enrichment.json 並合併。這是 explainer-video-from-coursework 的第二階段;單獨執行時可用於重新命名現有計畫。

ai-explainer-video 是什麼?

這個技能是 `explainer-video-from-coursework` 管線的第二階段(共八階段),專注於為現有的影片計畫(plan.json)重新命名和進行策劃。它的核心功能是讓 AI 代理(如 Claude Code)自動為每個影片產生描述性且獨特的標題,取代規劃階段留下的佔位符,並由代理決定哪些內容應被跳過、合併或保留。技能會產生一個 `enrichment.json` 檔案,然後透過 `apply-enrichment.mjs` 工具進行驗證並合併,最終輸出 `plan.enriched.json` 和 `plan.enriched.md`。此階段支援在支援 Node.js 的開發環境中執行,可作為獨立技能運行,也能作為較大管線的一部分。對於開發者而言,它能大幅減少手動重新命名和調整影片清單的工作,尤其適合從課程材料自動生成 YouTube 影片系列的情境。

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

在你喜歡的 AI 中提問

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

說明文件

製作影片策劃 — 重新命名與策劃

屬於 explainer-video-from-coursework 管線的一部份 — 第 2 階段(共 8 階段),這是在每個系列中只執行一次的第二階段。可獨立執行:它會操作現有的 plan.json。若要完整執行,請改為主技能。

管線的工具和場景主機存放在同級的 explainer-video-from-coursework 技能中:以 node ../explainer-video-from-coursework/tools/<tool>.mjs (相對於此技能資料夾解析)來執行它們。請從專案目錄執行,這樣 out/ 暫存區就會放在你的筆記旁邊。

先決條件: out/<name>/plan.json (來自規劃階段)。

代理會寫出 out/<name>/enrichment.json — 每個影片一個條目 — 然後驗證並合併:

node ../explainer-video-from-coursework/tools/apply-enrichment.mjs --plan out/<name>/plan.json \
                                --enrichment out/<name>/enrichment.json

寫入 plan.enriched.json 和 plan.enriched.md。

完成條件: 執行結束碼為 0(沒有驗證問題),且 plan.enriched.md 顯示出最終的影片清單。

標題規定。 規劃器給的標題是佔位符。請將每個標題替換成真正的標題:描述性、獨一無二,為在 YouTube 上瀏覽的人類所寫——絕不能是目錄 slug。標題應來自內容,而非名稱:在命名之前,先閱讀影片 sectionSpans 所指的來源。此工具會拒絕空標題、Part N 佔位符、省略號、slug 以及重複的標題。

策劃。 規劃器無法區分概覽頁面和真正的內容,因此它會兩者都規劃——由代理決定。一個條目可以帶有 skip: true 或 mergeInto: <index>,兩者都需要 why 欄位。每個跳過/合併都會記錄在 plan.removed 中,附帶原因和章節,因此覆蓋範圍保持可稽核。

維護

如果你修改此檔案,或使用者要求更改此階段,請告知使用者必須同步調整主要 explainer-video-from-coursework 技能中**「第 2 階段 — /enrich」** 的內容,並在你的回覆中具體指出該部分。

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

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

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.

相關技能