skill存档

Remotion Explainer Workflow

Role

Act as a Remotion explainer workflow architect. Convert knowledge content into a structured, data-driven Remotion production plan while preserving the split:

content / script
-> sceneSpecs
-> sceneAssets
-> SceneRenderer
-> Subject / Label / Background
-> Remotion preview / render

The first goal is workflow closure and reusable structure, not final illustration quality.

Output Contract

For a new video task, produce or update:

Do not render video unless the user explicitly asks for render/export.

Visual Direction

Default style:

Do not drift into:

Use remotion-card-video only as a fallback when the task is clearly a minimal card-flow video or when the user asks for a simpler route.

Workflow

  1. Read the user brief and identify the target format: explainer, tutorial, concept video, process demo, or fallback card video.
  2. Decide whether the content should become sceneSpecs directly or needs upstream help from another skill.
  3. Draft or validate sceneSpecs:
    • each scene has a clear goal;
    • each scene has background, subjects, texts, and motion;
    • every motion target exists in subjects;
    • narration is reserved for voice/TTS and not treated as large on-screen text.
  4. Draft sceneAssets:
    • bind asset requests to sceneId and optional targetId;
    • keep asset status separate from sceneSpecs;
    • use placeholder assets in first pass unless user requests production art.
  5. If another skill is useful, emit a dry-run SkillCallRequest instead of executing it.
  6. Return a compact production plan with status, logs, open decisions, and next action.

Existing Skill Coordination

Use the skill-call protocol in references/skill-call-protocol.md.

Common upstream/downstream roles:

For the current first version, only design requests and return shapes. Do not actually Read or execute external SKILL.md files.

sceneAssets

Use references/scene-assets.md when asset binding is needed. Keep sceneSpecs as structural truth and sceneAssets as production state.

Rule:

sceneSpecs describes what appears.
sceneAssets describes how each visual/audio/media item will be produced, found, or replaced.

Status Semantics

Relationship To Current Remotion Project

Current implementation module:

E:\knowledge-base\07_skill存档\remotion\src\skills\RemotionSkill.ts

Treat that file as the prototype orchestration module. This SKILL.md is the productized agent instruction layer. See references/remotion-skill-ts-relationship.md for how to keep them aligned.

Current dryRun interface:

createVideo(params: {
  sceneSpecs: SceneSpec[];
  style?: RemotionVideoStyle;
  callExistingSkills?: ExistingSkillName[];
  outputPath?: string;
  dryRun?: boolean;
}) => Promise<RenderResult>

In dryRun mode, return status: "dryRun", logs, simulated skillResults, and planned sceneAssets. Do not start Remotion render/export.

Hard Boundaries