makaron-cli 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/.codex-plugin/plugin.json +5 -4
  3. package/README.md +47 -1
  4. package/bin/makaron.mjs +22 -8
  5. package/craft/manifest.json +2877 -0
  6. package/craft/prompts/agent-coding.md +220 -0
  7. package/craft/prompts/agent.md +86 -0
  8. package/craft/prompts/animate.md +448 -0
  9. package/craft/prompts/audio.md +261 -0
  10. package/craft/prompts/captions.md +220 -0
  11. package/craft/prompts/coding-submission.md +31 -0
  12. package/craft/prompts/coding-workflow.md +26 -0
  13. package/craft/prompts/creative.md +108 -0
  14. package/craft/prompts/cutout.md +81 -0
  15. package/craft/prompts/enhance.md +123 -0
  16. package/craft/prompts/generate_image_tool.md +26 -0
  17. package/craft/prompts/image.md +222 -0
  18. package/craft/prompts/legacy/agent.md +123 -0
  19. package/craft/prompts/legacy/coding-tool.md +31 -0
  20. package/craft/prompts/legacy/video-tool.md +38 -0
  21. package/craft/prompts/legacy/workspace-authoring.md +13 -0
  22. package/craft/prompts/niji.md +117 -0
  23. package/craft/prompts/pony_translate.md +42 -0
  24. package/craft/prompts/remotion-composition.md +405 -0
  25. package/craft/prompts/video-reverse.md +170 -0
  26. package/craft/prompts/video-submission.md +44 -0
  27. package/craft/prompts/video-workflow.md +42 -0
  28. package/craft/prompts/wai_translate.md +28 -0
  29. package/craft/prompts/web-search.md +1 -0
  30. package/craft/prompts/wild.md +119 -0
  31. package/craft/prompts/workspace-authoring.md +13 -0
  32. package/craft/skills/SKILL_README.md +249 -0
  33. package/craft/skills/_shared/aesthetic-lens-contract.md +68 -0
  34. package/craft/skills/_shared/native-audiovisual.md +44 -0
  35. package/craft/skills/_shared/remotion-director-contract.md +133 -0
  36. package/craft/skills/_shared/remotion-video-director/README.md +140 -0
  37. package/craft/skills/_shared/remotion-video-director/SKILL.md +391 -0
  38. package/craft/skills/_shared/remotion-video-director/references/component-library.md +608 -0
  39. package/craft/skills/_shared/remotion-video-director/references/expert-definitions.md +214 -0
  40. package/craft/skills/_shared/remotion-video-director/references/music-and-audio.md +186 -0
  41. package/craft/skills/_shared/remotion-video-director/references/remotion-patterns.md +439 -0
  42. package/craft/skills/_shared/remotion-video-director/references/video-archetypes.md +395 -0
  43. package/craft/skills/_shared/speech-clock.md +63 -0
  44. package/craft/skills/_shared/spoken-caption.md +75 -0
  45. package/craft/skills/_shared/studio-production/audio-direction.md +60 -0
  46. package/craft/skills/_shared/studio-production/production-contract.md +188 -0
  47. package/craft/skills/_shared/studio-production/reference-analysis.md +37 -0
  48. package/craft/skills/_shared/studio-production/review-contract.md +77 -0
  49. package/craft/skills/_shared/studio-production/taste-direction.md +114 -0
  50. package/craft/skills/_shared/visual-asset-bridge/SKILL.md +57 -0
  51. package/craft/skills/_shared/visual-direction/SKILL.md +98 -0
  52. package/craft/skills/_shared/voice-translation.md +55 -0
  53. package/craft/skills/aesthetic-disney-character-motion/SKILL.md +66 -0
  54. package/craft/skills/aesthetic-lottiefiles-motion/SKILL.md +78 -0
  55. package/craft/skills/aesthetic-rampstack-direction/SKILL.md +68 -0
  56. package/craft/skills/ai-video-gen/SKILL.md +48 -0
  57. package/craft/skills/animated-explainer/SKILL.md +53 -0
  58. package/craft/skills/animation/SKILL.md +53 -0
  59. package/craft/skills/avatar-spokesperson/SKILL.md +66 -0
  60. package/craft/skills/canvas-procedural-animation/SKILL.md +48 -0
  61. package/craft/skills/character-animation/SKILL.md +57 -0
  62. package/craft/skills/character-animation-qa/SKILL.md +48 -0
  63. package/craft/skills/character-rigging/SKILL.md +48 -0
  64. package/craft/skills/cinematic/SKILL.md +53 -0
  65. package/craft/skills/cinematic-video/SKILL.md +65 -0
  66. package/craft/skills/clip-factory/SKILL.md +53 -0
  67. package/craft/skills/comfyui/SKILL.md +48 -0
  68. package/craft/skills/content-repurpose/SKILL.md +54 -0
  69. package/craft/skills/create-video/SKILL.md +48 -0
  70. package/craft/skills/documentary-montage/SKILL.md +53 -0
  71. package/craft/skills/doubao-tts/SKILL.md +51 -0
  72. package/craft/skills/explainer-aesthetic-disney/SKILL.md +33 -0
  73. package/craft/skills/explainer-aesthetic-lottiefiles/SKILL.md +33 -0
  74. package/craft/skills/explainer-aesthetic-rampstack/SKILL.md +33 -0
  75. package/craft/skills/explainer-video/SKILL.md +423 -0
  76. package/craft/skills/ffmpeg/SKILL.md +48 -0
  77. package/craft/skills/grok-media/SKILL.md +47 -0
  78. package/craft/skills/hybrid/SKILL.md +53 -0
  79. package/craft/skills/localization-dub/SKILL.md +59 -0
  80. package/craft/skills/long-video-anchor/SKILL.md +111 -0
  81. package/craft/skills/long-video-director/SKILL.md +217 -0
  82. package/craft/skills/long-video-storyboard/SKILL.md +102 -0
  83. package/craft/skills/makaron-mascot/SKILL.md +83 -0
  84. package/craft/skills/makaron-mascot/assets/character-sheet.jpg +0 -0
  85. package/craft/skills/makaron-mascot/assets/makaron-spark-pixel-wizard-concepts.png +0 -0
  86. package/craft/skills/media-use/SKILL.md +47 -0
  87. package/craft/skills/motion-design-video/SKILL.md +64 -0
  88. package/craft/skills/motion-graphics/SKILL.md +48 -0
  89. package/craft/skills/multi-angle-video/SKILL.md +533 -0
  90. package/craft/skills/music/SKILL.md +47 -0
  91. package/craft/skills/music-to-video/SKILL.md +60 -0
  92. package/craft/skills/photo-to-video/SKILL.md +60 -0
  93. package/craft/skills/podcast-repurpose/SKILL.md +53 -0
  94. package/craft/skills/pose-library-design/SKILL.md +48 -0
  95. package/craft/skills/reference-video-studio/SKILL.md +55 -0
  96. package/craft/skills/remotion/SKILL.md +48 -0
  97. package/craft/skills/remotion-best-practices/SKILL.md +48 -0
  98. package/craft/skills/screen-demo/SKILL.md +61 -0
  99. package/craft/skills/seedance-2-0/SKILL.md +48 -0
  100. package/craft/skills/seedance-2-5/SKILL.md +48 -0
  101. package/craft/skills/sound-effects/SKILL.md +47 -0
  102. package/craft/skills/source-video-studio/SKILL.md +68 -0
  103. package/craft/skills/speech-to-text/SKILL.md +47 -0
  104. package/craft/skills/sticker-maker/SKILL.md +178 -0
  105. package/craft/skills/svg-character-animation/SKILL.md +48 -0
  106. package/craft/skills/synthetic-screen-recording/SKILL.md +48 -0
  107. package/craft/skills/talking-head/SKILL.md +106 -0
  108. package/craft/skills/text-to-speech/SKILL.md +50 -0
  109. package/craft/skills/threejs-animation/SKILL.md +48 -0
  110. package/craft/skills/threejs-fundamentals/SKILL.md +48 -0
  111. package/craft/skills/threejs-geometry/SKILL.md +48 -0
  112. package/craft/skills/threejs-lighting/SKILL.md +48 -0
  113. package/craft/skills/threejs-materials/SKILL.md +48 -0
  114. package/craft/skills/threejs-shaders/SKILL.md +48 -0
  115. package/craft/skills/threejs-textures/SKILL.md +48 -0
  116. package/craft/skills/tiktok-video/SKILL.md +188 -0
  117. package/craft/skills/tiktok-video/references/audio-sync.md +58 -0
  118. package/craft/skills/tiktok-video/references/caption-direction.md +36 -0
  119. package/craft/skills/tiktok-video/references/delivery-qa.md +84 -0
  120. package/craft/skills/tiktok-video/references/platform-layout.md +62 -0
  121. package/craft/skills/video-edit/SKILL.md +144 -0
  122. package/craft/skills/video-edit/references/direct-reference-route.md +141 -0
  123. package/craft/skills/video-edit/references/editing-protocol.md +79 -0
  124. package/craft/skills/video-edit/references/frame-location.md +85 -0
  125. package/craft/skills/video-edit/references/replication-protocol.md +67 -0
  126. package/craft/skills/video-edit/references/shot-blueprint.md +116 -0
  127. package/craft/skills/video-edit/references/shot-blueprint.schema.json +143 -0
  128. package/craft/skills/video-edit/references/similarity-qa.md +47 -0
  129. package/craft/skills/video-edit/scripts/extract-shot-blueprint.mjs +313 -0
  130. package/craft/skills/video-ffmpeg-lab/SKILL.md +220 -0
  131. package/craft/skills/video-mature-themes/SKILL.md +175 -0
  132. package/craft/skills/video-segment-edit/SKILL.md +16 -0
  133. package/craft/skills/video-translate/SKILL.md +148 -0
  134. package/craft/skills/video-understand/SKILL.md +48 -0
  135. package/craft/skills/visual-style/SKILL.md +47 -0
  136. package/craft/skills/wan-3-0/SKILL.md +59 -0
  137. package/craft/skills/web-design-guidelines/SKILL.md +47 -0
  138. package/craft/skills/website-to-video/SKILL.md +61 -0
  139. package/craft-source.json +7 -0
  140. package/package.json +12 -5
  141. package/runtime/adapter.mjs +615 -0
  142. package/runtime/configure.mjs +28 -0
  143. package/runtime/tool-catalog.json +807 -0
  144. package/runtime/tool-cli.mjs +98 -0
  145. package/skills/makaron/SKILL.md +12 -0
  146. package/skills/makaron-native/SKILL.md +89 -0
@@ -0,0 +1,133 @@
1
+ # Remotion Director Contract
2
+
3
+ Use this contract for every editable Remotion composition, including motion
4
+ graphics, social-video packaging, explainer videos, product demos, timeline
5
+ splices, subtitles, overlays, title cards, and patchable composition drafts.
6
+
7
+ ## Director Layer vs Composition Layer
8
+
9
+ The director layer decides what the viewer experiences over time. It defines:
10
+
11
+ - purpose, audience, core message, and desired action
12
+ - emotional arc and pacing
13
+ - scene order, scene duration, and transition language
14
+ - the focal subject in each scene
15
+ - how text, footage, generated assets, subtitles, and audio relate to each other
16
+ - what should be verified before publishing
17
+
18
+ The Remotion composition layer implements that direction. It defines:
19
+
20
+ - `function Composition(props)` and helper components
21
+ - `width`, `height`, `fps`, and `animation.durationInSeconds`
22
+ - `<Sequence>` timing, `<Video>` / `<OffthreadVideo>` / `<Img>` / `<Audio>` usage
23
+ - top-level user-facing props and natural helper parameters
24
+ - frame-driven animation with `useCurrentFrame()`, `interpolate()`, `spring()`, and `Easing`
25
+ - preview/publish behavior through `preview_frame` and `write_file`
26
+
27
+ Editable ownership instrumentation is runtime-owned. The implementation contract
28
+ lives in `prompts/remotion-composition.md`; new work must not invent editor ids
29
+ or metadata arrays in the director layer.
30
+
31
+ Do not let the implementation layer invent the creative structure by accident.
32
+ Plan the video experience first, then write the composition.
33
+
34
+ ## Core And Optional References
35
+
36
+ For a complete theme-driven video, read `skills/_shared/visual-direction/SKILL.md`
37
+ and `skills/_shared/studio-production/taste-direction.md`. The first connects
38
+ visual intent to media preparation; the second is a soft Visual Invention Pass
39
+ for subject-specific relationships, transformations, keyframes, and scene
40
+ handoffs. For a mechanical trim, splice, or tiny patch, skip them.
41
+
42
+ The files under `skills/_shared/remotion-video-director/references/` are optional
43
+ libraries, not universal rules. Read a relevant archetype, pattern, or component
44
+ only after the chosen direction creates a concrete need for it. Do not inherit a
45
+ preset's scene count, density, transition family, component set, or visual style
46
+ merely because the example exists.
47
+
48
+ For tiny text-only patches, prop changes, typo fixes, or mechanical trim
49
+ adjustments, do not re-read the references if this contract is already present
50
+ in the recent tool history.
51
+
52
+ ## Video-First Planning Checklist
53
+
54
+ Before writing or patching composition code, create a compact internal plan:
55
+
56
+ - **Creative brief**: purpose, audience, core message, desired action.
57
+ - **Emotional arc**: what changes from the first frame to the final frame.
58
+ - **Scene map**: scene names, exact frame/time ranges, and what develops in each scene.
59
+ - **Frame relationships**: how subjects, environment, text, media, and depth work together.
60
+ - **Media role**: decide whether source footage, generated images, stickers, text, or diagrams carry the scene.
61
+ - **Visual carrier**: for substantial scenes, use the `visualPlan` to record the
62
+ dominant technical media path: native, plate, cutout, or edge-video. This is
63
+ asset routing metadata, not a limit on supporting layers or visual invention.
64
+ - **Audio/subtitle relation**: when narration exists, the final generated audio
65
+ master containing the approved VO is the clock. Generate it after Script,
66
+ align it with
67
+ `transcribe_audio(expected_sections, fps)`, and lock the measured narration
68
+ cue sheet before Storyboard or Composition. Storyboard scenes, Remotion
69
+ Sequences, subtitles, visual emphasis, and music ducking must all derive from
70
+ that same seconds/frame timebase. Never replace measured cues with estimated
71
+ reading speed or equal scene lengths. When there is no narration, decide
72
+ whether music, captions, or original sound drives timing. For the TikTok
73
+ default route, that master is one mixed VO+BGM soundtrack and source clips are
74
+ explicitly muted.
75
+ - **Verification plan**: choose stable hook, middle, and ending frames to preview before publishing.
76
+
77
+ ## Platform Guideline Gate
78
+
79
+ When the destination platform is named, its interface zones are part of the
80
+ composition contract rather than an optional styling suggestion. For TikTok,
81
+ read `skills/tiktok-video/SKILL.md` and keep essential content out of its
82
+ placement-specific exclusion zones. Do not collapse several UI zones into one
83
+ small central rectangle: titles in the clear upper lane may be substantially
84
+ wider than subtitles beside the lower-right interaction rail. Full-bleed
85
+ footage may extend beneath UI; subtitles, titles, logos, prices, disclaimers,
86
+ and CTA must pass exclusion-zone collision review. Preview the densest text
87
+ frame and the closing frame at the final aspect ratio before publishing.
88
+
89
+ If a requested edit is purely mechanical, such as "trim the first two seconds"
90
+ or "put these two clips back to back", the plan may be one sentence. If the
91
+ request asks for style, packaging, storytelling, explanation, or a complete
92
+ video, the plan must include scene timing and a visual direction.
93
+
94
+ ## Anti-Web Rules
95
+
96
+ Makaron's Remotion output should not look like a webpage unless the user asks
97
+ for a web UI demo.
98
+
99
+ - Do not default to hero sections, card grids, pricing panels, dashboard widgets,
100
+ pill collections, dense side-by-side blocks, or tiny labels.
101
+ - Do not solve a crowded frame merely by shrinking text. Use framing, depth,
102
+ timing, movement, and hierarchy to make the intended reading clear.
103
+ - Allow ensembles, layered action, and multiple related points of attention when
104
+ the subject benefits from them.
105
+ - Use large readable text, strong hierarchy, and generous safe areas.
106
+ - Treat cards, badges, borders, and labels as supporting elements, not the
107
+ composition's default structure.
108
+ - If source footage exists, it is usually the subject. Build overlays around
109
+ its rhythm instead of covering it with generic UI.
110
+
111
+ ## Composition Handoff
112
+
113
+ When moving from direction to code:
114
+
115
+ - The final plan must map cleanly to `<Sequence>` ranges.
116
+ - The canvas aspect must come from the target platform or selected timeline
117
+ media, not from a default template.
118
+ - The returned `animation.durationInSeconds` must match the planned timeline.
119
+ - User-facing text must live in top-level `props`; helper components receive it
120
+ through ordinary parameters.
121
+ - Media URLs belong in `props` or code as real URLs; never leave the supplied reference
122
+ or `explicit file references inside composition code.
123
+ - For video sources, use `<Video>` or `<OffthreadVideo>`, not image handling.
124
+ - Use `preview_frame` on stable representative frames before publishing visible
125
+ timeline work.
126
+
127
+ ## Completion Standard
128
+
129
+ A composition is ready only when it works as both:
130
+
131
+ - a directed video: hook, pacing, hierarchy, rhythm, and ending are intentional
132
+ - a Remotion composition: correct runtime shape, aspect, duration, props,
133
+ media references, prop ownership, and verification path
@@ -0,0 +1,140 @@
1
+ # Remotion Video Director
2
+
3
+ An interactive Claude Code skill that guides you from "I need a video" to a rendered MP4 with music, through expert deliberation, scenario design, and battle-tested Remotion patterns.
4
+
5
+ ![Video Director Promo](promo.gif)
6
+
7
+ *[Watch with audio (MP4)](https://github.com/BayramAnnakov/remotion-video-director/releases/download/v2.1.0/promo.mp4)*
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ npx skills add BayramAnnakov/remotion-video-director
13
+ ```
14
+
15
+ ## What It Does
16
+
17
+ Unlike the official `remotion-dev/skills` (which teaches Claude the Remotion API), Video Director handles the **creative and strategic layer**:
18
+
19
+ | | Official Remotion Skill | Video Director |
20
+ |---|---|---|
21
+ | Focus | API reference (37 rule files) | Creative strategy + guided build |
22
+ | Answers | "How do I use `interpolate()`?" | "What video should I make?" |
23
+ | Experts | None | 3-4 experts per video type |
24
+ | Narrative | None | Scene structure + emotional arc |
25
+ | Data design | None | Reusable template architecture |
26
+ | Audio | Basic API docs | Music sourcing, integration, voice-over |
27
+ | Style presets | None | 4 creative directions (Jobs, Bloomberg, Narrative, Hacker) |
28
+
29
+ They're complementary - install both for the best experience.
30
+
31
+ ## Four-Phase Workflow
32
+
33
+ ```
34
+ Think ──► Design ──► Build ──► Review
35
+ ```
36
+
37
+ **Phase 1 - Think**: Interactive discovery (one question at a time), creative direction choice, expert panel deliberation, creative brief
38
+
39
+ **Phase 2 - Design**: Scene-by-scene scenario with timing, data model, visual style
40
+
41
+ **Phase 3 - Build**: Scaffold Remotion project, create scene components, add music, render MP4
42
+
43
+ **Phase 4 - Review**: Multi-expert scorecard, user feedback loop, iterate until polished
44
+
45
+ ## Creative Direction Presets
46
+
47
+ | Style | Feel | Best For |
48
+ |-------|------|----------|
49
+ | **Minimal/Jobs** | Black bg, dramatic pauses, one idea per frame | Product launches, big ideas |
50
+ | **Data-Rich/Bloomberg** | Dark navy, animated charts, dense but organized | Meeting recaps, reports |
51
+ | **Warm/Narrative** | Warm tones, personal quotes, serif accents | Course intros, community |
52
+ | **Terminal/Hacker** | Code theme, typewriter, monospace | Technical demos, dev tools |
53
+
54
+ ## Five Video Archetypes
55
+
56
+ | Type | Use Case | Expert Panel |
57
+ |---|---|---|
58
+ | **Product Launch** | SaaS launches, feature announcements | Brand Strategist, Video Director, UX Designer, Growth Marketer |
59
+ | **Recurring Data Report** | Weekly teasers, meeting summaries | Data Architect, Content Strategist, Viz Designer |
60
+ | **Narrative Intro** | Course/workshop intros, event openers | Narrative Designer, Instructional Designer, Social Proof Curator, Cinematographer |
61
+ | **Technical Demo** | Product demos, engineering walkthroughs | Developer Advocate, UX Designer, Motion Designer, Copywriter |
62
+ | **Growth Marketing** | A/B test variants, social campaigns | Growth Marketer, Copywriter, Data Analyst, Brand Guardian |
63
+
64
+ ## Audio Integration
65
+
66
+ - **Music sourcing**: Guided selection from Pixabay (free, royalty-free)
67
+ - **Scene-adaptive volume**: Music lowers during data-heavy scenes
68
+ - **Voice-over pipeline**: Script generation + ElevenLabs integration
69
+ - **Music style matching**: Each creative direction has recommended music genres
70
+
71
+ ## What's New in v2.0
72
+
73
+ - **Four-phase workflow**: Think, Design, Build, Review (Review is now its own phase)
74
+ - **Interactive Phase 1**: Questions asked one at a time with wait-for-answer, not a form dump
75
+ - **4 Creative Direction presets**: Minimal/Jobs, Bloomberg, Warm/Narrative, Terminal/Hacker
76
+ - **Style inspirations**: Each creative direction includes reference creators and aesthetics
77
+ - **Reference input**: Share screenshots or videos you like as style references
78
+ - **Music as first-class step**: Guided music sourcing, integration, and scene-adaptive volume
79
+ - **Voice-over pipeline**: Script generation + ElevenLabs + music ducking
80
+ - **Premium styling patterns**: Font variety, extreme size contrast, negative space, dramatic pauses
81
+ - **2 new expert roles**: Cinematographer (visual composition) + Music Director (audio harmony)
82
+ - **Scene focus rule**: Each scene = ONE idea. Tangential content gets cut.
83
+ - **"Make it premium" shortcut**: Switches to Minimal/Jobs direction automatically
84
+
85
+ ## Example
86
+
87
+ ```
88
+ You: "I need a 30-second launch video for my SaaS product"
89
+
90
+ Video Director:
91
+ Phase 1 - Think:
92
+ 1. "What is this video for?" (waits for your answer)
93
+ 2. Offers creative direction: Minimal/Jobs, Bloomberg, Warm, Terminal
94
+ 3. "Any reference videos you like?" (optional)
95
+ 4. Assembles expert panel, generates creative brief
96
+ 5. You confirm or adjust the brief
97
+
98
+ Phase 2 - Design:
99
+ 6. Designs 6-scene scenario with timing and data model
100
+
101
+ Phase 3 - Build:
102
+ 7. Scaffolds Remotion project, builds scene components
103
+ 8. Adds background music with scene-adaptive volume
104
+ 9. Renders MP4
105
+
106
+ Phase 4 - Review:
107
+ 10. Multi-expert review with scorecard
108
+ 11. You review, give feedback, iterate until satisfied
109
+ ```
110
+
111
+ ## Troubleshooting
112
+
113
+ ### macOS: "Killed: 9" when rendering
114
+
115
+ Remotion downloads native binaries (Chrome Headless Shell, ffprobe, ffmpeg) that macOS quarantines. Clear the quarantine:
116
+
117
+ ```bash
118
+ xattr -cr node_modules/.remotion/ 2>/dev/null
119
+ xattr -cr node_modules/.pnpm/@remotion+compositor-darwin-arm64*/node_modules/@remotion/compositor-darwin-arm64/ 2>/dev/null
120
+ ```
121
+
122
+ ### "this file does not contain registerRoot"
123
+
124
+ Your `Root.tsx` must call `registerRoot()`. Exporting a component alone is not enough:
125
+
126
+ ```tsx
127
+ import { registerRoot, Composition } from "remotion";
128
+ const Root = () => <Composition ... />;
129
+ registerRoot(Root);
130
+ ```
131
+
132
+ ## Requirements
133
+
134
+ - Claude Code (or any agent that supports the Skills standard)
135
+ - Node.js 18+
136
+ - Works with or without the official `remotion-dev/skills` package
137
+
138
+ ## License
139
+
140
+ MIT
@@ -0,0 +1,391 @@
1
+ ---
2
+ name: remotion-video-director
3
+ description: |
4
+ Interactive guide for creating Remotion videos - from strategic concept to rendered MP4.
5
+ Use when the user wants to create a video, make a Remotion project, build a product demo video,
6
+ generate a launch video, make a recurring content template, create a marketing video,
7
+ or says "I need a video for...", "help me make a video", "video for my product", "remotion video".
8
+ Covers the full creative process: expert deliberation, scenario design, build, and review.
9
+ Works alongside the official remotion-dev/skills for API-level guidance.
10
+ version: 2.0.0
11
+ allowed-tools:
12
+ - Read
13
+ - Write
14
+ - Edit
15
+ - Bash
16
+ - Glob
17
+ - Grep
18
+ - Agent
19
+ - AskUserQuestion
20
+ - WebSearch
21
+ - WebFetch
22
+ - mcp__nanobanana__generate_image
23
+ ---
24
+
25
+ # Remotion Video Director
26
+
27
+ An interactive skill that guides users from "I need a video" to a rendered MP4 with music, through expert deliberation, scenario design, and battle-tested Remotion patterns.
28
+
29
+ ## When to Use
30
+
31
+ Trigger this skill when the user:
32
+ - Wants to create a video using Remotion
33
+ - Needs a product demo, launch video, recurring content template, marketing video, or narrative intro
34
+ - Says "I need a video", "make a video for...", "create a Remotion video", "video as code"
35
+ - Wants help thinking through what video to make or how to structure it
36
+ - Has a Remotion project and wants expert review
37
+
38
+ ## Relationship to Official Remotion Skill
39
+
40
+ The official `remotion-dev/skills` package teaches Claude the Remotion API (37 rule files covering animations, audio, captions, transitions, etc.). This skill handles the **creative and strategic layer** on top:
41
+
42
+ - Official skill: "How do I use `interpolate()`?" (technical reference)
43
+ - Video Director: "What video should I make and how should it flow?" (creative process)
44
+
45
+ If the official Remotion skill is installed, leverage it for API-specific details. If not, the `references/remotion-patterns.md` and `references/component-library.md` in this skill provide sufficient Remotion knowledge to build production videos.
46
+
47
+ ---
48
+
49
+ ## Four-Phase Workflow
50
+
51
+ ### Phase 1: Strategic Framing
52
+
53
+ **Goal**: Understand what the user needs through conversation, then assemble expert perspectives.
54
+
55
+ **CRITICAL**: This phase is INTERACTIVE. Ask questions one at a time and WAIT for answers. Do NOT dump all questions at once or auto-proceed without user input.
56
+
57
+ #### Step 1 - Discovery (Conversational)
58
+
59
+ Start with a single open question:
60
+
61
+ > "What is this video for? Tell me about the idea, who will watch it, and what you want them to do after."
62
+
63
+ **WAIT** for the user's answer. Then ask targeted follow-ups based on what's missing:
64
+
65
+ - If audience is unclear: "Who specifically will watch this? (customers, team, investors, social media?)"
66
+ - If desired action is unclear: "After watching, what should viewers DO? (sign up, understand something, share?)"
67
+ - If no constraints mentioned: "Any constraints I should know? Duration, brand colors, existing assets, deadline?"
68
+ - If they mention a product: "Can you share screenshots of the product/interface?"
69
+
70
+ Do NOT proceed until you understand: purpose, audience, desired action, and constraints.
71
+
72
+ #### Step 2 - Creative Direction
73
+
74
+ Present the creative direction options and ask the user to pick:
75
+
76
+ | Style | Feel | Best For |
77
+ |-------|------|----------|
78
+ | **Minimal/Jobs** | Black bg, dramatic pauses, one idea per frame, Impact font | Product launches, big ideas, keynotes |
79
+ | **Data-Rich/Bloomberg** | Dark navy bg, animated charts, dense but organized | Meeting recaps, reports, dashboards |
80
+ | **Warm/Narrative** | Warm tones, personal quotes, serif accents | Course intros, team stories, community |
81
+ | **Terminal/Hacker** | Dark code theme, typewriter, monospace everywhere | Technical demos, dev tools, engineering |
82
+ | **Custom** | User describes or provides reference screenshots/videos | Anything specific |
83
+
84
+ > "Which style direction fits your video? Or share screenshots of videos you've seen that you liked."
85
+
86
+ **WAIT** for answer.
87
+
88
+ Read `references/video-archetypes.md` for the full spec of the chosen direction (colors, fonts, animation style, timing rules).
89
+
90
+ #### Step 3 - Reference Input (Optional)
91
+
92
+ > "Do you have any reference videos, screenshots, or visual styles you'd like me to emulate? (Skip if none)"
93
+
94
+ If the user provides references, analyze them for: color palette, typography, animation speed, layout density, overall mood. Incorporate these into the creative brief.
95
+
96
+ **WAIT** for answer or skip confirmation.
97
+
98
+ #### Step 4 - Expert Panel Assembly
99
+
100
+ Based on the selected archetype (from `references/video-archetypes.md`) and creative direction, assemble a panel of 3-4 experts from `references/expert-definitions.md`.
101
+
102
+ **Generate expert perspectives** - for each expert, generate 2-3 sentences:
103
+ - One specific recommendation
104
+ - One risk to watch for
105
+
106
+ Keep this concise. Present as a brief roundtable. Highlight only where experts **disagree** (flags a decision the user needs to make).
107
+
108
+ #### Step 5 - Creative Brief
109
+
110
+ Synthesize into a structured brief:
111
+
112
+ ```
113
+ ## Creative Brief
114
+
115
+ **Purpose**: [one sentence]
116
+ **Audience**: [who, what they care about]
117
+ **Core Message**: [the ONE thing viewers should remember]
118
+ **Desired Action**: [what viewers should do next]
119
+ **Duration**: [seconds] ([frames] frames at 30fps)
120
+ **Creative Direction**: [selected style - Minimal/Jobs, Bloomberg, etc.]
121
+ **Emotional Arc**: [e.g., curiosity -> proof -> confidence -> action]
122
+
123
+ ## Audio Strategy
124
+ - Music: [ambient/upbeat/dramatic/sparse] from Pixabay
125
+ - Voice-over: [yes/no]
126
+ - Music mood: [description matching creative direction]
127
+
128
+ ## Scene Sequence
129
+ | # | Scene | Duration | Purpose |
130
+ |---|-------|----------|---------|
131
+ | 1 | ... | Xs | ... |
132
+
133
+ ## Data Model (if applicable)
134
+ [What's parameterized vs hardcoded - the reusable template structure]
135
+
136
+ ## Visual Style
137
+ - Theme: [creative direction name]
138
+ - Background: [color]
139
+ - Colors: [primary, accent, secondary]
140
+ - Typography: [heading font, body font, mono font]
141
+ - Animation feel: [snappy/gentle/dramatic/typewriter]
142
+ ```
143
+
144
+ > "Here's the creative brief. Want to adjust anything before we design scenes?"
145
+
146
+ **WAIT** for confirmation or adjustments.
147
+
148
+ ---
149
+
150
+ ### Phase 2: Scenario Design
151
+
152
+ **Goal**: Turn the brief into a detailed scene-by-scene scenario.
153
+
154
+ #### Step 6 - Scene Design
155
+
156
+ For each scene in the sequence, specify:
157
+ - **Content**: Exact text, data, visuals
158
+ - **Components**: Which reusable components to use (from `references/component-library.md`)
159
+ - **Animation**: Entry/exit animations, timing in frames
160
+ - **Transitions**: Cross-dissolve between all scenes (8-12 frames)
161
+
162
+ Read `references/remotion-patterns.md` for critical Remotion constraints and premium styling patterns.
163
+
164
+ **Scene Focus Rule**: Each scene must serve ONE idea that connects to the core message. If a scene is tangential to the core message, CUT IT. Fewer focused scenes are always better than many scattered ones.
165
+
166
+ **Frame Budget**: Map out the entire timeline:
167
+ ```
168
+ const TIMING = {
169
+ scene1: { start: 0, dur: 6 }, // Hook
170
+ scene2: { start: 6, dur: 10 }, // ...
171
+ // Total must match composition durationInFrames / fps
172
+ };
173
+ ```
174
+
175
+ #### Step 7 - Data Architecture
176
+
177
+ If the video is data-driven (recurring report, multi-variant marketing):
178
+ - Design the config object that changes between renders
179
+ - Identify what stays constant (visual template) vs what varies (content)
180
+ - Show the user the config shape and confirm
181
+
182
+ Example pattern (from WeeklyIntro):
183
+ ```typescript
184
+ const weekData = {
185
+ weekLabel: "Mar 3 - Mar 9",
186
+ heroNumber: 312,
187
+ heroLabel: "new signups",
188
+ // ... fields that change weekly
189
+ };
190
+ ```
191
+
192
+ #### Step 8 - User Confirmation
193
+
194
+ Present the complete scenario.
195
+
196
+ > "Ready to build, or want to adjust anything?"
197
+
198
+ **WAIT** for confirmation.
199
+
200
+ ---
201
+
202
+ ### Phase 3: Build
203
+
204
+ **Goal**: Create the Remotion project and render the first version.
205
+
206
+ **CRITICAL**: Never run any command that launches an interactive CLI wizard or prompts for input. This includes `npx create-video`, `npx remotion init`, `npm init`, or bare `npx remotion render` without arguments. Always create files manually and pass all arguments explicitly to CLI commands.
207
+
208
+ #### Step 9 - Scaffold Project
209
+
210
+ Create the Remotion project structure manually (do NOT use scaffolding wizards - see Phase 3 header):
211
+ ```
212
+ <project>/
213
+ ├── src/
214
+ │ ├── Root.tsx
215
+ │ ├── Video.tsx # or <VideoName>.tsx
216
+ │ ├── theme/
217
+ │ │ ├── colors.ts
218
+ │ │ ├── fonts.ts
219
+ │ │ └── springs.ts
220
+ │ ├── scenes/
221
+ │ │ ├── Scene1Hook.tsx
222
+ │ │ └── ...
223
+ │ ├── components/
224
+ │ │ ├── FadeIn.tsx
225
+ │ │ └── ...
226
+ │ └── data/
227
+ │ └── config.ts # if data-driven
228
+ ├── public/
229
+ │ ├── music.mp3 # background music
230
+ │ └── illustrations/ # if using background images
231
+ ├── package.json
232
+ ├── tsconfig.json
233
+ └── remotion.config.ts
234
+ ```
235
+
236
+ Install dependencies: `pnpm install`
237
+
238
+ #### Step 10 - Build Scenes
239
+
240
+ Build each scene component following the scenario from Phase 2. Use components from `references/component-library.md`.
241
+
242
+ **Critical build rules** (from `references/remotion-patterns.md`):
243
+ - All animation via `useCurrentFrame()` + `interpolate()`/`spring()` - NEVER CSS transitions
244
+ - Always clamp interpolation: `{ extrapolateLeft: "clamp", extrapolateRight: "clamp" }`
245
+ - `useCurrentFrame()` is relative to nearest `<Sequence>`, not global timeline
246
+ - Cross-dissolve between every scene (8-12 frame envelope; exception: Terminal/Hacker style where hard cuts fit)
247
+ - Every element must animate in - never appear static on a cut
248
+
249
+ **Premium styling rules** (from `references/remotion-patterns.md`):
250
+ - Font variety: mix heading font + body font + mono font (not Inter everywhere)
251
+ - Extreme size contrast: headlines 72-96pt, body 20-24pt
252
+ - Center important questions/headlines vertically
253
+ - Max 15-20 words per body slide, 7 words for headline slides (Jobs-style)
254
+ - Keep text in upper 85% of frame
255
+ - Minimum 24px font for readability
256
+ - Padding 80-120px from edges
257
+
258
+ #### Step 11 - Audio Integration
259
+
260
+ Read `references/music-and-audio.md` for the full audio guide.
261
+
262
+ > "Want to add background music? I recommend browsing pixabay.com/music/ for a royalty-free track that matches the [selected creative direction] style. Share the download link or file and I'll integrate it with proper volume curves."
263
+
264
+ **WAIT** for user response.
265
+
266
+ If user provides music:
267
+ 1. Download/save to `public/music.mp3`
268
+ 2. Add `<Audio>` component with fade-in/fade-out volume curve
269
+ 3. Lower music volume during data-heavy scenes (0.30 -> 0.15)
270
+ 4. If track is longer than video, use `startFrom` to play the ending section
271
+
272
+ If user wants voice-over:
273
+ 1. Generate narration script from scene content (~3 words/second)
274
+ 2. User records or uses ElevenLabs
275
+ 3. Integrate with music ducking (music drops to 0.10-0.12 during narration)
276
+
277
+ If user skips audio: render with `--muted` flag.
278
+
279
+ #### Step 12 - Render and Preview
280
+
281
+ **CRITICAL: Always pass the entry point file to avoid interactive prompts.** Never run bare `npx remotion render` - it may launch an interactive composition picker. Always specify the entry file and composition ID explicitly:
282
+
283
+ ```bash
284
+ # Render final MP4 - always specify entry point + composition ID
285
+ npx remotion render src/Root.tsx <CompositionId> out/<name>.mp4 --codec=h264 --crf=18
286
+
287
+ # If no audio:
288
+ npx remotion render src/Root.tsx <CompositionId> out/<name>.mp4 --codec=h264 --crf=18 --muted
289
+ ```
290
+
291
+ Open the video for the user to review.
292
+
293
+ ---
294
+
295
+ ### Phase 4: Review
296
+
297
+ **Goal**: Refine the video through expert review and user feedback until it's ready to ship.
298
+
299
+ #### Step 13 - Multi-Expert Review
300
+
301
+ After the user has seen the video, run the review protocol from `references/expert-definitions.md`.
302
+
303
+ Generate a scorecard (see `references/expert-definitions.md` for the full template):
304
+ ```
305
+ | Dimension | Priority | Score |
306
+ |------------------------|----------|-------|
307
+ | Hook clarity (first 3-5s) | Critical | ?/5 |
308
+ | Core message landed | Critical | ?/5 |
309
+ | Pacing / dynamism | High | ?/5 |
310
+ | Visual readability | High | ?/5 |
311
+ | Target action clear | High | ?/5 |
312
+ | Audience fit | Medium | ?/5 |
313
+ ```
314
+
315
+ Add 2-3 type-specific dimensions (e.g., "Visual premium feel" for Minimal/Jobs, "Audio-visual harmony" if music was added, "Config reusability" for data reports).
316
+
317
+ Each expert reviews from their angle, including the **Cinematographer** on visual composition and the **Music Director** on audio (if music was added). Synthesize into:
318
+ 1. **Strengths** - what works well
319
+ 2. **Improvements** - specific, actionable changes
320
+ 3. **Verdict** - ship as-is, needs one more pass, or needs significant rework
321
+
322
+ Ask the user which improvements to apply.
323
+
324
+ #### Step 14 - User Review & Iteration
325
+
326
+ The expert review catches technical issues, but only the user knows if the video *feels right*.
327
+
328
+ > "Now that you've seen the video and the expert review - what's your take?
329
+ > 1. Which scenes work well?
330
+ > 2. Which scenes need changes? (screenshot specific frames if possible)
331
+ > 3. Any text, timing, or visual issues?
332
+ > 4. Anything missing or that should be cut?"
333
+
334
+ **WAIT** for the user's feedback.
335
+
336
+ When the user provides feedback:
337
+ 1. **Acknowledge** what they liked (reinforces the direction)
338
+ 2. **List** the specific changes you'll make based on their notes
339
+ 3. **Make the changes** - edit scene components, adjust timing, fix text
340
+ 4. **Re-render** and present the updated video
341
+ 5. **Ask again**: "Better? Anything else to adjust?"
342
+
343
+ Repeat this loop until the user is satisfied. Typical videos need 1-3 rounds of refinement.
344
+
345
+ Common feedback patterns and how to handle them:
346
+ - "Too fast" → Increase scene durations by 30-50%, add more dramatic pauses
347
+ - "Too much text" → Split scenes, reduce to 7 words per frame (Jobs-style)
348
+ - "Doesn't feel premium" → Switch to Minimal/Jobs direction, add negative space
349
+ - "Music doesn't fit" → Try a different Pixabay track, adjust volume curve
350
+ - "Wrong tone" → Revisit creative direction, adjust color palette and animation speed
351
+ - "Scene X is confusing" → Simplify to ONE idea, add visual hierarchy
352
+
353
+ ---
354
+
355
+ ## Adaptation Guidelines
356
+
357
+ ### When the user already has a Remotion project
358
+ Skip Phase 1-2 scaffolding. Focus on reviewing existing code, suggesting improvements, or adding new scenes/compositions.
359
+
360
+ ### When the user wants a quick video (no deliberation)
361
+ Compress Phase 1 to: ask for video type + creative direction in one question. Pick top 2 experts, generate a brief scenario. Move to build quickly. Still ask about music.
362
+
363
+ ### When the user wants only the concept (no code)
364
+ Run Phase 1-2 fully. Output the creative brief and scenario as a document. Skip Phase 3.
365
+
366
+ ### When the user wants multi-variant videos
367
+ Use the Growth Marketing archetype. Design the variant matrix (what changes per variant). Build one base video, then show how to parameterize for N variants via config objects.
368
+
369
+ ### When the user says "make it premium" / "more expensive"
370
+ Switch to Minimal/Jobs creative direction: black background, Impact font, extreme size contrast, one idea per frame, dramatic pauses (60+ frame holds), lots of negative space. Add background music.
371
+
372
+ ---
373
+
374
+ ## Quality Checklist (before declaring done)
375
+
376
+ - [ ] Video renders without errors
377
+ - [ ] No text overlapping other text
378
+ - [ ] No text in bottom 15% of frame
379
+ - [ ] Key headlines/questions are vertically centered
380
+ - [ ] Max 15-20 words per frame (7 for headline slides)
381
+ - [ ] All animations use frame-driven timing (no CSS transitions)
382
+ - [ ] Every element animates in (no static cuts)
383
+ - [ ] Cross-dissolve between all scenes
384
+ - [ ] Font variety used (not just Inter everywhere)
385
+ - [ ] Music fades in/out smoothly (if present)
386
+ - [ ] Music volume lowers during data-heavy scenes (if present)
387
+ - [ ] Duration matches the creative brief
388
+ - [ ] Core message is clear within first 5 seconds
389
+ - [ ] CTA or closing is memorable
390
+ - [ ] Data model is clean and reusable (if data-driven)
391
+ - [ ] User has reviewed and approved the final version