LeoYeAI/agent-master-skills / skills/ai-drama-prompt-factory
ai-drama-prompt-factory
VerifiedAI短剧提示词工厂 - 端到端将小说/故事创意转化为结构化提示词包(角色立绘+场景+道具+分镜图片+视频+音频)的完整流水线。一个入口启动全流程,内部自动按阶段推进:策划→设计→剧本→诊断→提示词组装→API JSON输出。支持小说改编和原创短剧两条路径。触发词:AI短剧、短剧制作、小说转短剧、短剧提示词、提示词工厂、短剧全流程、小说改编短剧、生成短剧、AI视频剧本、短剧项目、分镜提示词、视频提示词、prompt factory。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 27.5 KB |
| _meta.json | config | 300 B |
| assets/negative-prompts.json | config | 2.4 KB |
| assets/project-template.json | config | 1.1 KB |
| references/api-schema.md | markdown | 11.0 KB |
| references/assembly-rules.md | markdown | 10.1 KB |
| references/continuity-guide.md | markdown | 1.9 KB |
| references/design-guide.md | markdown | 3.9 KB |
| references/diagnosis-guide.md | markdown | 3.0 KB |
| references/doc-reader-guide.md | markdown | 1.2 KB |
| references/manga-drama-guide.md | markdown | 2.4 KB |
| references/planning-guide.md | markdown | 2.3 KB |
| references/platform-adapters.md | markdown | 4.2 KB |
| references/prompt-examples.md | markdown | 3.7 KB |
| references/script-generation-guide.md | markdown | 3.3 KB |
| scripts/doc_fetch.py | script | 7.7 KB |
| scripts/doc_indexer.py | script | 14.9 KB |
| scripts/doc_search.py | script | 6.3 KB |
| scripts/doc_summarize.py | script | 7.8 KB |
references/script-generation-guide.md
View on GitHub# 剧本生成指南 (Script Generation Guide)
## 分镜剧本表格式
每集剧本输出为结构化的分镜表,每行一个镜头:
| 字段 | 格式 | 示例 |
|------|------|------|
| 镜头号 | ep{NN}_sh{NN} | ep01_sh03 |
| 角色 | 角色名(状态) | 陈易(觉醒前)、张慧芬 |
| 场景 | 场景名/变体 | 医院普通病房/白天 |
| 景别 | 中文 | 近景(胸部以上)、全景、特写 |
| 运镜 | 中文 | 固定、缓推、快拉、左摇、跟拍 |
| 动作描述 | 自然语言 | 张慧芬转身替病床上的陈易整理输液管,轻叹气 |
| 对白 | 引号台词+情绪 | "你的医药费已经拖欠三天了"(无奈叹息) |
| 音效 | 描述 | 输液管碰撞声、脚步远去 |
| BGM | 描述 | 无/紧张鼓点/轻柔钢琴 |
| 原文锚点 | 段落编号 | P-003(改编项目) |
## 剧本写作原则
### 节奏控制
- 每集15-45个镜头(对应1-3分钟)
- 前3秒(前1-2个镜头)必须有视觉冲击或悬念
- 对白场景与动作场景交替,避免连续5个以上纯对话镜头
- 每集结尾必须有钩子(悬念、反转、情绪高点)
### 景别使用
| 景别 | 用途 | 频率 |
|------|------|------|
| 特写 | 情绪爆发、关键道具、表情变化 | 15-20% |
| 近景 | 对话、情绪表达 | 30-40% |
| 中景 | 多人互动、动作 | 25-30% |
| 全景 | 建立场景、群戏 | 10-15% |
| 远景 | 开场/收场、转场 | 5-10% |
### 动作描述要求
- 必须具体到肢体级别:"双手快速结印"而非"做出动作"
- 必须包含表情/情绪:"眼神犀利如电"而非"看着"
- 多角色场景标明位置关系:"画面右侧陈勇背影离去"
### 对白写作
- 每句台词 ≤ 25字(短剧节奏要求)
- 标注说话者和情绪标签
- 金句/名台词从原著保留(改编项目)
- 避免大段独白,用动作打断
## 小说改编特殊规则
### 原文锚点系统
- 对每个镜头标注对应原著段落编号(P-001格式)
- 用于诊断阶段校验忠实度
- 无对应原文的原创镜头标注为"原创"
### 删减与合并原则
- 内心独白 → 转化为面部特写+画外音 或 转化为动作表达
- 大段描写 → 提炼为1-2个关键视觉镜头
- 重复场景 → 合并为节奏更快的蒙太奇
- 次要支线 → 压缩或删除,集中主线
### 保留优先级
1. 核心冲突和转折点(必须保留)
2. 角色金句和名场面(优先保留)
3. 情感高潮和关键对话(优先保留)
4. 环境描写和氛围铺垫(适度保留)
5. 过渡段落和日常场景(可大幅压缩)
## 长篇持续生成
### 每集生成后输出连贯性状态
```json
{
"episode": 3,
"character_states": {
"陈易": { "variant": "觉醒后", "location": "体育馆", "emotion": "自信", "injuries": "无" },
"林峰": { "variant": "日常", "location": "教练室", "emotion": "震惊" }
},
"planted_threads": ["天机古卷的第二个秘密", "王局长的阴谋"],
"resolved_threads": ["陈易的医药费问题"],
"props_status": { "天机古卷": "陈易随身携带" },
"next_hook": "陈易发现古卷中隐藏的第二层文字..."
}
```
### 续写规则
- 开始新一集前先读取上一集的连贯性状态
- 角色服装/位置/情绪必须与上集末尾一致
- 上集钩子必须在本集前3个镜头内有回应
- 已埋伏笔需在合适时机回收(不超过5集)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |