Skip to content

A Claude Code skill to make motion design videos in pure code: HTML + Playwright + ffmpeg. No After Effects, no Remotion license.

Add skill/motion-design/scripts/remake/remake_stub.py (remake mode)

ElRaph2115fd0d4a3bd61
diff --git a/skill/motion-design/scripts/remake/remake_stub.py b/skill/motion-design/scripts/remake/remake_stub.py
new file mode 100644
index 0000000..10098a1
--- /dev/null
+++ b/skill/motion-design/scripts/remake/remake_stub.py
@@ -0,0 +1,14 @@
+from pathlib import Path
+H = Path(__file__).parent
+groups = {"G1": (0, 528), "G2": (528, 906), "G3": (906, 1154), "G4": (1154, 1557)}
+for g, (a, b) in groups.items():
+ p = H / f"shots/{g}.js"
+ if not p.exists():
+ p.write_text(f"""(function () {{
+ const C = CORE;
+ // {g}: frames {a}-{b}. Replace this placeholder with real shots (SHOT per shot id).
+ SHOT({{ id: '{g}_placeholder', f0: {a}, f1: {b}, render: (lf, F) =>
+ `<div style="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:48px Geist;color:#94a3b8">{g} · F${{F}}</div>` }});
+}})();
+""")
+ print("stub", g)