Communitygithub.com

remotion-promo-film

ينتج فيلم موشن جرافيك ترويجياً بالكود (Remotion) بأي أسلوب، بصوت وموسيقى ومراجعة مستقلة. للطلبات: فيديو موشن جرافيك، فيلم ترويجي، ديمو منتج، إعلان، فيديو شرح.

What is remotion-promo-film?

remotion-promo-film is a Claude Code agent skill that ينتج فيلم موشن جرافيك ترويجياً بالكود (Remotion) بأي أسلوب، بصوت وموسيقى ومراجعة مستقلة. للطلبات: فيديو موشن جرافيك، فيلم ترويجي، ديمو منتج، إعلان، فيديو شرح.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/younesbag/arabic-claude-skills/tree/HEAD/motion-graphics-film/remotion-promo-film

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Studio-grade motion graphics in code — any style, one fixed bar

When to use (full trigger description)

Produce a studio-grade motion-graphics film IN CODE (Remotion, React rendered frame by frame) in ANY style — kinetic typography, Swiss/editorial, flat vector explainer, paper collage, product-UI launch, glass/depth, isometric, data story, brutalist, line-art, organic, retro print, minimal premium — with or without a reference video. Covers the whole job: brief and product truth, choosing and writing the film's own style bible, script, a narrator voice (e.g. your own cloned ElevenLabs voice, one take), bar-cut music, SFX, a −16 LUFS mix, measurable quality gates and an independent adversarial review loop until the film meets a fixed studio bar. Ships a style-neutral engine (measured kinetic type RTL/LTR, keyframed camera with velocity blur, transitions, shapes, paths, morphs, particles, grain, UI rebuild kit), an instrument Gallery, ~30 tools and NINE EXPERIMENTAL film structures (templates, with or without narration) chosen automatically from the video's GOAL (hook, proof, technical launch, process journey, feature reel, product loop, one-sentence type, app launch, warm paper story) — the user only describes what the video is for. Use for: "فيديو موشن جرافيك", "فيديو ترويجي", "فيلم تعريفي", "إعلان للمنتج", "ديمو للمنصة", "فيديو إطلاق", "فيديو شرح/انيميشن توضيحي", "فيديو لاكس/للسوشال بدون تعليق صوتي", "فيديو يلفت الانتباه", "فيديو برهان/نتائج", "motion graphics video", "promo/launch film", "product demo video", "explainer", "kinetic typography", "make a video like this reference". NOT for: AI-generated footage (use Higgsfield/Seedance skills), talking heads, editing camera footage.

Quality is fixed; style is chosen. There is no house look. The engine is a neutral instrument kit; every film gets its own style bible derived from its brand, message and audience (references/creative-direction.md, references/styles.md), and every film is held to the same studio bar (references/quality-bar.md, references/craft.md). A reference video is optional: if the user gives one, study it (references/reference-study.md) and imitate its language; if not, the style bible plus the bar are the target.

This method took a 52-second Arabic film through six independent review rounds (5.5 → 8.5/10) to an owner verdict of "world-class". What transferred was never its look — it was continuity (no empty frames), legibility, rhythm tied to the voice, audio integrity, truth, and measuring instead of guessing. Those are in the bar and the gates; its look is documented only as one example (references/case-study.md).

Done means: the master passes every gate in references/qa-gates.md, an independent reviewer (a fresh agent that did not build the film) rules "ship" against the film's docs/STYLE.md and the quality bar with no blocker/major item, and the user has listened once on headphones. An encoded file is never "done" by itself.

Non-negotiables

  1. Truth. Every on-screen claim, number and UI string comes from the product (live site, codebase, database, real recordings) or is labelled the owner's claim in docs/SCRIPT.md. Rebuild real UI; never invent a screen, feature, metric, testimonial or logo. Demo data carries an on-screen demo label. Never imply the product does work it doesn't. Never copy a reference's assets, logos, claims or music.
  2. No default look. Never ship the template Gallery's neutral look, a previous film's look, or the case study's look unless the brief asks for that family. src/style.ts starts as UNSET; tools/render.mjs refuses to render the film until you've written your own style.
  3. One voice take. The narration is ONE continuous generation. Never splice phrases from other generations (heard as "the voice changes"). Weak word → in-take repair (tools/voice_repair.py) or regenerate the whole take. Shortening silence INSIDE that one take (tools/tighten_pauses.py) is not splicing and is always allowed.
  4. Frame-pure animation. Everything is a function of useCurrentFrame(); no CSS animations, timers, Math.random or independent GSAP clocks. Text is live React text (Arabic shaping intact: animate words/lines, never Arabic letters; never letter-space Arabic).
  5. Timing flows from the clock. With a voice: shots, cues and subtitles key off ws()/we() (spoken words) and barF() (music bars) in src/film/grid.ts. Without a voice: the beat grid G is the clock — structural hinges ±1 f of a beat (references/grammar.md › a5). Never hand-typed seconds.
  6. Permission & safety. Use a person's voice clone only with their consent. Spend (voice/music credits) only within what the user authorised — estimate first. Never ask for passwords/API keys in chat. No publishing, uploads, commits, pushes or deploys unless asked.
  7. Windows. Arabic files: Edit/Write tools or Python, never PowerShell Get-Content/Set-Content; run Python with PYTHONIOENCODING=utf-8; write multi-line code with the Write tool, not bash heredocs.

Autonomy — one command, one session, a finished film

The user gives one request and expects the delivered film, not a plan. If it names the product (and a voice, or "decide"), ask NOTHING: take the defaults in references/intake.md, choose the style yourself when none is requested, record every decision in docs/DECISIONS.md, and go. Ask only — once, in one message — for what you cannot do or decide: a login you can't reach, consent for a voice, spending beyond a small default, a claim only the owner can confirm. Every "gate" here is YOUR self-check, never an approval step. At delivery ask for one headphone listen at the voice edit points (exact times).

The voice question comes before any fallback. When the user is present (they started this session and can reply — not a scheduled/headless run, and neither the request nor the harness forbids questions) and the step-0 check shows no working ElevenLabs route (no key, or the MCP smoke test failed), send the ONE message right then, at step 0, before building on a stand-in: an ElevenLabs login in the built-in browser OR an API key they put in .env themselves (never pasted in chat), plus approval of the estimated voice cost — bundled with any other open intake item. Use the provisional stand-in voice (tools/temp_voice.py) only when the reply doesn't open a working route (declined, or the route still fails twice after it), or when the session is unattended and no one can answer. Same rule, same single message, in references/elevenlabs.md › Fallback ladder and references/intake.md.

The production loop (each step has an output and a gate — don't advance on a failed gate)

#StepOutputGateRead
0Setup: copy template/ (where exactly: references/engine.md › Setup — one rule, don't guess), python tools/doctor.py (also checks the voice route), npm install, npx tsc --noEmit; if the voice route is MCP, one tiny generation smoke test before any script work; render Gallery stills to learn the instrumentsa working project, voice route known (real / fallback)doctor READY, tsc 0 errorsreferences/engine.md, references/elevenlabs.md
0.5Structure from the goal (always, even when the user names no style): run references/template-selection.md — seven signals from the request + product, hard filters, weighted score over the nine templates, or "no template"docs/TEMPLATE_CHOICE.md + one-line announcement in outcome wordsdecision written with evidence; at most ONE outcome-worded question, only on a visible tie; narration never excludes a template (it is fitted to the template's windows, template-selection Step 6)references/template-selection.md, references/templates.md
1Brief & truth: product facts, UI strings, brand tokens, CTAdocs/DECISIONS.md, docs/SOURCES.mdevery string/colour/claim has a sourcereferences/intake.md, references/product-truth.md
2Creative direction (+ reference study if one was given)docs/STYLE.md → src/style.ts; docs/BOARD.mdevery bible field concrete; originality check passed; board rules metreferences/creative-direction.md, references/styles.md, references/craft.md
3Scriptscript/script.json + docs/SCRIPT.md (claims)words/s within budget; every sentence sourced; real CTA; 4 s end hold budgetedreferences/script.md
4Style frames: each beat's hero pose as a stillout/board.jpgevery frame works as a poster in the chosen style; the set reads as one filmreferences/creative-direction.md › E
5Voice3+ FULL takes → one take, src/voice.generated.json, offsettools/take_eval.py: keywords ≥ 7/8 local windows; one take onlyreferences/voice.md, references/elevenlabs.md
6Motion: the hook first (motion test), then every beatsrc/film/shots/*.tsx, SHOT/ENERGY/HOLDShook meets its profile; stills at every boundary ±2 f: no empty/flat frame, no crop, no collisionreferences/craft.md, references/engine.md, references/illustration.md (drawn art), references/pitfalls.md
7Music & SFX (fallback ladder: ElevenLabs → a licensed library the user picks → tools/synth_audio.py when unattended)audio/score.wav cut on bars, src/film/cues.tsgroove never skips; no transient on a key word's onset; SFX materials match the style; synthetic audio labelledreferences/audio.md
8Draft → gatesout/draftN.mp4, mixevery gate in references/qa-gates.mdreferences/qa-gates.md
9Independent review loopdocs/REVIEW_Dn.mdreviewer: "ship" vs STYLE.md + bar, no blocker/majorreferences/review-loop.md, references/quality-bar.md
10Master & deliveryPNG/CRF 12 master → tools/deliver.py → deliver/ + docs/VERIFICATION.mdgates re-run ON THE MASTER; self-audit; the user listensreferences/delivery.md

At step 0, right after copying the template, write the absolute path of THIS skill folder (the one you read this file from) into a one-line file ./.skill_dir in the project, then run python tools/doctor.py --fill-brief: it prints the resolved SKILL_DIR (env REMOTION_PROMO_FILM_SKILL_DIR → ./.skill_dir → nearby/~/.claude/skills installs) and fills the <SKILL_DIR> placeholder in docs/REVIEW_BRIEF.md, so the reviewer reads the installed copy of the bar and not some other one. Don't hand-edit the brief for this. doctor's voice check (a free ElevenLabs /v1/user/subscription call when a key is set, otherwise advice to smoke-test your route) only WARNs — it never blocks READY.

With a PROVISIONAL stand-in voice (tools/temp_voice.py, references/elevenlabs.md › Fallback ladder) the loop ends at "ship pending voice", never plain "ship": the mean of the NINE non-sound dimensions ≥ 8.5, each of them ≥ 8, Sound excluded from both, no blocker/major, picture gates pass on the master (references/quality-bar.md › Verdict). Music/SFX have their own fallback ladder, ending in an original synthesised score (tools/synth_audio.py, labelled SYNTHETIC — references/audio.md › Fallback ladder).

Steps 6–9 are a loop: expect 3–6 review rounds. Build shots before the voice exists (tools/fake_timing.py), render stills constantly (seconds each), full drafts only for motion/audio, the PNG master once majors are closed.

Budget and pacing

A 30–60 s film is a multi-hour autonomous job (draft ≈ 2 min per 20 s of film, master ≈ 7–10 min per 50 s). Budget ≈ 2.7× that for DOM-heavy layers — a per-frame field of ~1,000 DOM glyphs (glyph rain) made a 41 s draft take 11 min, masters 8–12 min for 42 s; tune such beats with tools/energy_probe.py (one beat, ≈ 40 s) and stills, not full drafts. The first render also downloads Chrome Headless Shell (≈ 113 MB, tools/doctor.py). Voice for 4 full takes of ~500 characters cost ≈ 0.8 USD once; estimate before generating.

Template mode — nine EXPERIMENTAL film structures (references/templates.md)

Label them EXPERIMENTAL when you tell the user about them. Only three (T03, T06, T07) were ever rendered, and the blind judges have not passed any of the three yet; the other six (T01, T02, T04, T05, T08, T09) pass the type-check only — they have never been rendered. None is accepted. Offer a template as a head start with an honest first-render tuning pass, never as a guaranteed look; when the user prefers, build from scratch ("no template").

The user never names a template or sends a reference: step 0.5 picks the structure from the video's GOAL with references/template-selection.md (a weighted, written decision — or "no template, build from scratch"). The nine: template/src/templates/T01…T09 (studio reel · morph loop · beat showreel · world journey · sentence conveyor kit · terminal launch · proof pulse · soft launch · paper collage), each registered twice in the studio (T0x = default props, T0x-Rebuild = neutral acceptance clone). Replace EVERY prop with real content, keep the beat grid, source music/SFX per its cue sheet (narration optional — fitted to the template's windows), then run the same gates and review loop as any film. Read each template's status in registry.ts first: code-only templates were never rendered and need a tuning pass; built-not-accepted ones were rendered but blind judges still scored them 0.6–1.5 below their reference on transitions/depth. Never claim reference quality until a blind A/B pass says so. Technique only — never a reference's brand, art, people or copy.

Files

  • template/ — copy it whole. src/brand.ts (identity), src/style.ts (THIS film's style — starts UNSET), src/engine/ (core, style-context, effects, transitions, shapes, ui, tex, and grammar/ — the MEASURED motion grammar: springs, front-loaded easings, carried cuts, optics, beat grid, rig, depth, 18 transition kinds, FX, glass, counters, paper; references/grammar.md), src/gallery/ (every instrument in neutral grey — compositions Gallery and Grammar), src/film/ (grid, cues, Film, a two-shot wiring scaffold), tools/ (incl. signature.py, the motion-signature gate calibrated on reference films), docs/ templates (STYLE, BOARD, SCRIPT, SOURCES, REVIEW_BRIEF, VERIFICATION, DECISIONS).
  • references/ — read the file named in each step when you reach it; illustration.md for any drawn art (flat, isometric, line-art, collage, print); pitfalls.md before step 6 and before every master; case-study.md shows what the finished bar looked like in ONE style and how long it took.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills