From short-video-director
Translates keyframes.json into image-generation prompt .md files for each keyframe, resolving asset references from the assets directory. Supports full and incremental modes. Uses config for language and style.
How this skill is triggered — by the user, by Claude, or both
Slash command
/short-video-director:creator-keyframe-promptssonnetcreatorThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `story/episodes/$ARGUMENTS[0]/keyframes.json` — 必须读取(关键帧描述源)
story/episodes/$ARGUMENTS[0]/keyframes.json — 必须读取(关键帧描述源)story/episodes/$ARGUMENTS[0]/outline.md — 必须读取(本集资产清单,验证 composition 中 <> 标签)config.md — 必须读取(语言、视频风格、目标图像模型)assets/**/*.md — Glob 列出现有资产文件路径(用于解析 composition 中 <> 标签到 .md 文件路径)skills/creator-keyframe-prompts/rules.md — 必须读取并严格遵循$ARGUMENTS[0] — 当前集数(如 ep01)$ARGUMENTS[1] — 模式(可选,full 或 incremental,缺省为 full)$ARGUMENTS[2] — 仅 incremental 模式:dirty 列表(空格分隔的 KF id,如 KF-EP01-003 KF-EP01-005)把 keyframes.json 中每张关键帧的结构化描述(composition / scene / characters / props / shot_size / camera_position / lighting_tone / action / emotion)翻译成图像模型可消费的提示词,并落盘为独立 .md 文件到 assets/keyframes/{集数}/{KF-id}.md。下游消费者是 creator-generate-images(按集扫 .md 出图)和 creator-image-dreamina(吃 .md 直接出图)。不修改 keyframes.json——keyframes.json 是 director 的产物,本 skill 只读不写。
assets/**/*.md 建立"资产名 → .md 路径"映射表(用于把 composition 中 <张三> 解析到 assets/characters/张三.md)$ARGUMENTS[2] 列出的 KF id;全量模式:处理全部<资产名> 标签
b. 校验每个资产名能在 Glob 出的资产清单中找到(找不到则报错——说明 director-keyframes 没正确登记资产清单)
c. 整理 ## 引用资产 区块:按 composition 中 <> 标签首次出现顺序枚举、去重,每条写 - [资产名](从 keyframe .md 到资产 .md 的相对路径)
d. 写 .md 文件:拼接 composition + 镜头语言(shot_size + camera_position)+ lighting_tone + 视频风格 suffix → 形成 prompt(资产名以裸名字出现,不带 markdown 链接)
e. 落盘到 assets/keyframes/{集数}/{KF-id}.mdassets/keyframes/{集数}/ 中所有 .md,删除不在 keyframes.json 的;incremental 模式仅在 dirty 列表中的 id 不在 keyframes.json 时删对应 .md<某资产> 但 assets/ 中找不到对应 .md — 报错并停止处理本帧(不影响其他帧),不要"自动创建"或"忽略"[张三](../../characters/张三.md)站在...❌ — 引用关系只在 ## 引用资产 区块声明;正文写裸名字 张三站在...✅## 引用资产 区块漏写或顺序乱 — composition 写了 <硬币> 但 ## 引用资产 没列;或顺序不是 composition 中首次出现顺序 — 按 composition 标签首次出现顺序枚举、去重,每个 <资产名> 都必须在区块里skills/creator-keyframe-prompts/rules.md — 必须读取并严格遵循assets/keyframes/{集数}/{KF-id}.md(每张关键帧一个文件)assets/keyframes/{集数}/{KF-id}.md(按上述清理规则)npx claudepluginhub wddxh/shortvideodirectorPlans all keyframes and asset inventory for a story episode. Reads outline, novel, config, and existing assets, then produces keyframes.json and updates outline.md with asset list. Useful for narrative production workflow.
Orchestrates story-to-video pipeline: breaks text into scenes, generates consistent Z-Image hero/refs + Qwen Edit frames, WAN FLF clips, ffmpeg concatenation.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.