Communitygithub.com

akshayDev17/ai-explainer-video

对讲解视频计划中的视频进行重命名和整理——编写 enrichment.json 并合并。这是 explainer-video-from-coursework 的第二阶段;单独运行可对现有计划进行重命名。

ai-explainer-video 是什么?

该技能是 `explainer-video-from-coursework` 流水线的第二阶段(共八阶段),负责对已有的视频计划进行重命名和整理。它读取上一阶段生成的 `plan.json`,输出 `enrichment.json` 文件,其中包含每个视频的新标题和整理决策(如跳过或合并),然后通过工具 `apply-enrichment.mjs` 验证并合并,生成 `plan.enriched.json` 和 `plan.enriched.md`。标题替换必须遵守严格的合同:标题需基于视频的实际内容(而非文件名),具有描述性、唯一性,适合人类在 YouTube 上浏览。此外,该技能允许人工判断并跳过或合并视频条目,所有决策都记录在 `plan.removed` 中,保证可审计性。此技能可独立运行于任何现有的 `plan.json`,也可作为完整流水线的一部分使用。

兼容平台~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 的人类编写——绝不能是目录片段。标题来自内容,而非名称:在命名之前,阅读视频 sectionSpans 对应的源内容。工具会拒绝空标题、Part N 占位符、省略号、片段以及重复标题。

整理。 规划器无法区分总览页面和实际内容,因此它会同时规划两者——由智能体决定。条目可以携带 skip: true 或 mergeInto: <index>,两者都需要 why 字段。每次跳过/合并都会记录在 plan.removed 中,包含原因和章节,因此覆盖范围保持可审计。

维护

如果你修改此文件,或者用户要求更改此阶段,请告知用户必须同步修改主技能 explainer-video-from-coursework 的 “Stage 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.

相关技能