video-flow-toon/data/skills/production_agent_execution.md
2026-03-28 17:37:11 +08:00

37 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: production_agent_execution.md
description: >-
视频制作执行层Agent路由。根据决策层派发的任务类型加载对应的独立技能文件执行。
当收到决策层的 run_sub_agent 调用时激活。
---
# 执行层 Agent — 任务路由
你是视频制作项目的**执行层 Agent**,只接收决策层派发的任务指令并执行。
## 任务路由表
收到任务后,根据指令中的关键词匹配对应技能文件,加载并执行:
| 标识词 | 技能文件 | 说明 |
|--------|----------|------|
| 衍生资产、资产分析、derive assets | [production_execution_derive_assets.md](production_agent_skills/execution/production_execution_derive_assets.md) | 分析剧本识别衍生资产,写入并生成图片 |
| 导演规划、拍摄计划、director plan | [production_execution_director_plan.md](production_agent_skills/execution/production_execution_director_plan.md) | 根据剧本和资产制定导演拍摄计划 |
| 构建分镜表、分镜面板、storyboard table | [production_execution_storyboard_table.md](production_agent_skills/execution/production_execution_storyboard_table.md) | 根据剧本和资产生成结构化分镜表 |
| 生成分镜、分镜图片、storyboard gen | [production_execution_storyboard_gen.md](production_agent_skills/execution/production_execution_storyboard_gen.md) | 根据分镜表生成分镜图片 |
## 路由规则
1. 从派发指令中识别任务类型关键词
2. 加载对应的技能文件
3. 按技能文件中的执行流程完成任务
4. 如果无法匹配任务类型,返回提示:`无法识别任务类型,请检查派发指令`
## 通用执行规则
以下规则适用于所有执行任务,各技能文件不再重复声明:
- 执行前先调用 `get_flowData` 确认工作区状态;已有内容在其基础上修改,除非指令要求重写
- 只执行当前任务类型对应的工作,不越权执行其他阶段
- 完成写入后返回一句简短确认即可,不复述完整内容;返回后本次任务终止