skill存档

Relationship To Current RemotionSkill.ts

Current prototype module:

D:\AIGC工作站\知识库\07_skill存档\remotion\src\skills\RemotionSkill.ts

Productized Skill:

D:\AIGC工作站\知识库\07_skill存档\remotion-skill\SKILL.md

Relationship

SKILL.md is the agent-facing workflow instruction. It tells Codex how to plan and coordinate a Remotion explainer project.

RemotionSkill.ts is the engineering prototype. It can later become the runtime/orchestration module that validates sceneSpecs, stores sceneAssets, and calls render or external skill adapters.

Keep Them Aligned

SKILL.md conceptRemotionSkill.ts implementation target
createVideo(skillParams)exported createVideo() function
sceneSpecs inputCreateVideoParams.sceneSpecs
sceneAssetsadd sceneAssets?: SceneAsset[]
skillCallsadd SkillCallRequest[] and SkillCallResult[]
status semanticskeep dryRun / planned / rendering / done / error aligned
external Skill coordinationkeep registry only until execution is approved

Suggested Next Patch

When moving from design to implementation, update RemotionSkill.ts to:

  1. Add SceneAsset types from references/scene-assets.md.
  2. Replace the current loose ExistingSkillResult with SkillCallRequest and SkillCallResult.
  3. Return skillCalls separately from skillResults.
  4. Keep all external Skill calls in dry-run mode by default.
  5. Add an explicit allowExternalSkillExecution?: boolean flag before any real Read/execution is possible.

Boundary

Do not let the TypeScript module become the source of product rules. Product rules live in SKILL.md and references. The TypeScript module should implement those rules.