video-creator
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVideo Creator Skill
Video Creator Skill
Manages the complete video creation pipeline from script input to final video components.
管理从脚本输入到最终视频组件的完整视频创建流程。
Execution Modes
执行模式
Determine which workflow to follow based on user input:
根据用户输入确定要遵循的工作流:
Mode 1: Execute Video Step
模式1:执行视频步骤
When: Immediately read when user wants to execute a specific workflow step (audio, direction, assets, design, or coding).
Workflow: execute-video-step.md
触发条件: 当用户希望执行特定工作流步骤(音频、导演、资产、设计或编码)时立即调用。
工作流: execute-video-step.md
Mode 2: Execute Regenerate Scenes Step
模式2:执行场景重生成步骤
When: Immediately read when user wants to regenerate specific scenes for a step (design or coding) with scenes parameter.
Workflow: execute-regen-scenes-step.md
触发条件: 当用户希望针对某一步骤(设计或编码),通过scenes参数重生成特定场景时立即调用。
工作流: execute-regen-scenes-step.md
Mode 3: Resume Video
模式3:恢复视频生成
When: Immediatly read when user wants to continue an existing video workflow from where it left off or check the status of an in-progress video
Workflow: resume-video.md
触发条件: 当用户希望从暂停处继续现有视频工作流,或查看正在进行的视频生成状态时立即调用。
工作流: resume-video.md
Mode 4: Create Video
模式4:创建视频
When: User wants to create a completely new video from scratch, starting with script input and style selection
Workflow: create-video.md
触发条件: 用户希望从无到有创建全新视频,从脚本输入和风格选择开始。
工作流: create-video.md
Step References
步骤参考
Individual step implementations (referenced by execution modes):
- user-input-step.md - Gather script and video style
- audio-step.md - Generate audio from script
- direction-step.md - Create video direction
- assets-step.md - Generate SVG assets
- design-step.md - Generate design specifications
- code-step.md - Create video components
- regenerate-design-step.md - Regenerate design for specific scenes
- regenerate-code-step.md - Regenerate code for specific scenes
各步骤的具体实现(由执行模式调用):
- user-input-step.md - 收集脚本与视频风格
- audio-step.md - 从脚本生成音频
- direction-step.md - 生成视频导演方案
- assets-step.md - 生成SVG资产
- design-step.md - 生成设计规范
- code-step.md - 创建视频组件
- regenerate-design-step.md - 重生成特定场景设计
- regenerate-code-step.md - 重生成特定场景代码
Utility Scripts
实用脚本
video-status.py: Manages workflow state and step progression
Available actions:
- : Initialize new video workflow and return first step
create-video-status-file - : Get current pending step
get-incomplete-step - : Mark step done and advance to next
complete-step
Output Format:
All actions output a single line
list-topics.py: Get all topics with video workflows
Usage:
bash
python .claude/skills/video-creator/scripts/list-topics.pyWhen user doesn't specify a topic, use this script to get all available topics, display them to the user, and ask them to specify which topic they want to work with
video-status.py:管理工作流状态与步骤推进
可用操作:
- :初始化新的视频工作流并返回第一步
create-video-status-file - :获取当前待处理步骤
get-incomplete-step - :标记步骤完成并推进到下一步
complete-step
输出格式:
所有操作均输出单行内容
list-topics.py:获取所有包含视频工作流的主题
使用方法:
bash
python .claude/skills/video-creator/scripts/list-topics.py当用户未指定主题时,使用此脚本获取所有可用主题,展示给用户并请他们指定要处理的主题