generate-script
Installation
SKILL.md
generate-script
使用 Gemini API 生成 JSON 剧本。
前置条件
- 项目目录下存在
project.json(包含 style、overview、characters、clues) - 已完成 Step 1:
- narration:
drafts/episode_N/step1_segments.md - drama:
drafts/episode_N/step1_normalized_script.md
- narration:
- 已完成 Step 2:角色和线索已写入
project.json
用法
# 生成指定剧集的剧本
python .claude/skills/generate-script/scripts/generate_script.py <project> --episode <N>