teaching-video-generator
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "teaching-video-generator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-807d8781cd5beda1e6dd0376e0170a21eb6c5d01ae44ed2bc3dc20c0c57d9c3a. Verify the upstream source and version against https://skillhub.cn/skills/user_b042b73b/teaching-video-generator before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
teaching-video-generator: Generates a teaching-intro short video for a single topic, producing segmented scripts, per-segment AI video-generation prompts, voice-over copy, and SRT subtitles for editing tools. Suitable for classroom intros, flipped-classroom previews, and teaching-research demonstrations.
Introduction source: third_party · user_b042b73b · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: teaching-video-generator
description: 为一个课题生成教学导入视频(引起重视、制造兴趣的"钩子"短片)——产出分段脚本、逐段 AI 视频生成提示词、配音文案与 SRT 字幕,供剪映合成成片。适用于课堂导入、翻转课堂预习、教研展示。
x-astron-category: content-generation
x-astron-runtime: claude-code
x-astron-min-version: "1.0"教学导入视频生成器
教学导入视频 = 一节课开场用的钩子短片:引起重视、制造兴趣、抛出问题,把学生"勾"进课题。典型 60–120 秒。这个 skill 把一个课题变成一整套导入视频素材:分段脚本 + 逐段 AI 视频提示词 + 配音文案 + SRT 字幕,最后在剪映里合成。
何时使用
- 老师要一段课堂开场/导入短片,用冲击/悬念/好奇/共情把学生带进本节主题。
- 用于翻转课堂预习钩子、教研展示、公开课开场。
- 不面向竞赛/评比/参赛作品代做;只做日常教学导入。
关键定位:导入 ≠ 教学演示
导入视频只负责"勾兴趣、抛问题",不含操作演示或知识讲解(那是课堂正文内容)。判断标准:
- ✅ 冲击画面、贴近学生的本地/校园场景、触目惊心的数据、结尾一个问题。
- ❌ 手把手教操作、讲原理、给答案——这些留到课堂。
输入清单(先向用户确认)
- 课题:本节课主题(如"蛇咬伤急救")。
- 目标情绪:危机感 / 好奇 / 共情 / 悬念。
- 本地化锚点:学生所在城市/校园/专业,用来拉近距离("湛江地处亚热带……""你每天走过的校园草坪边")。
- 权威数据源:可引用的统计/指南(增强可信度与冲击力)。
- 时长:默认 90 秒左右。
工作流程
1. 选钩子型 + 写分段脚本
先按课题选一种钩子(references/script-structure.md 给出钩子型菜单,安全/健康类未必是唯一):
- 危机/警示型(安全、健康、法治):冲击画面 → 场景铺垫 → 数据警示 → 抛出问题。
- 认知冲突型(科学、数学、常识):抛反直觉现象 → "你以为…其实…" → 制造疑问。
- 悬念/故事型(历史、语文、地理):讲一个未完的故事/谜题,停在最吊胃口处。
- 共情/代入型(人文、德育、职业素养):一个贴近学生的人物处境,引发"如果是我"。
- 好奇/惊奇型(艺术、自然、工程):展示惊艳成果/奇观,引出"这是怎么做到的"。
选定后写分段脚本,每段写清:画面内容、配音词、时长。
2. 逐段生成视频素材
把每段画面拆成若干镜头,为每个镜头写 AI 视频生成提示词,交即梦/可灵等文生视频工具出片段。提示词要点:画面主体 + 场景 + 镜头感 + 情绪基调。宁可多出几条备选镜头,剪辑时挑最冲击的。
3. 剪辑拼接
在剪映里按脚本顺序拼接片段,导出纯画面版(无配音)。控制节奏:开场快切制造冲击,数据段放慢强调数字。
4. 配音文案 + 字幕
- 把各段配音词汇成连贯口播稿
导入视频_配音文案.txt,标好语气(开场冷静克制→数据严肃→结尾亲切留悬念)、语速(约 180 字/分)、段间停顿。 - 用
scripts/make_srt.py把分段计时的配音稿转成 SRT 字幕:python scripts/make_srt.py --input segments.txt --out 导入视频_字幕.srt(
segments.txt格式见脚本头注释:每行起始秒,结束秒,字幕文本。)
5. 剪映合成成片
导入纯画面版 → AI 配音(贴配音文案)→ 导入 SRT 字幕 → 加背景音乐(紧张悬疑风,音量 20–30%)→ 导出成片。
6. 交付
<课题>_视频脚本.md(分段:画面/配音/时长)- 各段 AI 视频提示词清单
导入视频_配音文案.txt导入视频_字幕.srt- 成片 mp4(剪映导出)
常见坑
- 越界成教学:导入片塞操作演示会又长又散,钩子失效。守住"勾兴趣、抛问题"。
- 数据无出处:冲击数据必须标权威来源(指南/统计),否则可信度崩,也有误导风险。
- AI 视频不连贯:文生视频片段之间跳跃感强,靠快切节奏和统一配乐掩盖,别追求长镜头连贯。
- 音画不同步:配音稿字数要匹配画面时长(180 字/分反推),否则字幕对不上。
适用学科
钩子型菜单覆盖各学科:安全/健康(危机型)、科学/数学(认知冲突型)、历史/语文/地理(悬念故事型)、人文/德育(共情型)、艺术/工程(好奇惊奇型)。见 references/script-structure.md。
已验证案例
"蛇咬伤急救"导入视频(危机/警示型,约 1 分 35 秒):冲击开场(城市/野外蛇突然出现)→ 场景铺垫(湛江/校园/绿化带,蛇活跃季节)→ 数据警示(《中国蛇伤救治指南》:我国每年 25–28 万人被咬,全球每年超 50 万人被咬约 12 万丧命)→ 抛出问题("你或你的同学、家人被蛇咬了,你知道该怎么做吗?")。素材用即梦生成 + B 站冲击画面,剪映配音合成,make_srt.py 已实测分段计时转 SRT 正确。references/script-structure.md 另给出其他钩子型的适配要点。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向教师群体,解决课堂导入视频制作的实际需求,实用性强
- 提供完整工作流,覆盖脚本、AI 视频提示词、配音文案、SRT 字幕等环节
- 适用于多种学科和场景,功能闭环
Highlights
- description 清晰描述了 Skill 的核心功能和适用场景
- 触发词完整,边界清晰,用户能准确理解 Skill 的用途
Highlights
- 文档结构完整,包含何时使用、关键定位、输入清单、工作流程等必要章节
- 步骤清晰,有出口条件和示例,frontmatter 完整
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 scripts/make_srt.py 脚本文件,但该文件未传入
Recommendation: 请补充 scripts/make_srt.py 文件,确保用户能完整执行 SRT 字幕生成流程
Highlights
- 工作流程详细,工具来源明确,参数正确
- 覆盖了常见坑并提供应对建议,提升了执行可靠性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.