Communitygithub.com

akshayDev17/ai-explainer-video

将课程笔记目录分解为讲解视频计划,并证明没有内容承载部分被遗漏。这是讲解视频从课程笔记生成流程的第一阶段;可单独运行以(重新)规划目录。

ai-explainer-video 是什么?

此技能是 `explainer-video-from-coursework` 流水线的第一部分(共8阶段),负责将 Markdown 笔记目录分解为结构化的视频制作计划,并严格证明所有内容承载章节均已被分配或标记为导航。它生成 `plan.json` 和 `plan.md` 文件,其中 `plan.md` 的覆盖率行(如 `N assigned · M excluded as navigation · 0 orphaned`)必须显示零孤立章节,否则计划不完整。技能无需网络或 API 密钥,可安全重复运行。核心价值在于通过精确的章节跨度追踪(包含来源、标题、行号)和基于语速与膨胀系数的分钟估算,为后续视频制作提供可靠的蓝图。支持 Claude Code、Cursor 等 AI 代理环境,强调只有 `.md` 文件会被解析,非 Markdown 内容对规划器不可见。

兼容平台~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 流水线 — 第1阶段(共8阶段),是每个系列只需执行两次的阶段中的第一个。此技能是自包含的:它从零开始规划目录。如需完整运行,请使用主技能。

流水线的工具和场景宿主位于同级的 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 技能的 “第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.

相关技能