Promo video
A reel is a folder of data; the engine is shared code. You write a script, capture screens, describe scenes in JSON, and the engine renders a 1080×1920, 30 fps video with voice and sound.
videos/
engine/ Remotion project: shots, components, presets, scripts
brand/ the project: brand.json, logo, README.md (glossary, brand rules)
reels/<name>/ reel.json, screens/, voice/, voice.json, values.json, <name>.mp4
out/ scratch (QA sheets, cutout previews); never committed
Run every command from videos/engine. Every command takes --reel <name>.
videos/README.md has the setup and the full reel.json and brand.json reference.
If this skill was installed without the repository, clone the skills repository first:
the engine is not part of the skill folder.
Your project
The engine and these rules know nothing about a product. Everything about yours is in
videos/brand/:
brand.json: colours, font, logo, domain, CTA button, voice, language, pronunciations. The engine reads it; a reel never repeats it.README.md: the brand notes. The product's own words (a "say / not / meaning" glossary), how the name is written and spoken, where the colours come from. Read it before writing a line. If it is missing, ask the user and write it.
First reel for a new app: follow "Set up for your app" in videos/README.md before the
pipeline below. If DUCKREEL_PROJECT is set, brand/ and reels/ live in that folder instead of
videos/. The repository ships DuckBug as the worked example in examples/duckbug/:
its brand notes and one reel script (reels/pull-requests, a "one journey" told from
the end). Read its reel.json before writing your own; do not copy its
words into your reel.
Language: Russian is the path this skill is tuned for (voice, Humanizer phrase lists,
the number check of asrcheck). Another language is a config value, language in
brand.json; what degrades is listed under Language in references/script.md. Say in
the report which checks ran in the reduced mode.
Contract
- Data, not code. Screens live in
reels/<name>/screens/; every word, scene, beat and rectangle lives inreels/<name>/reel.json. Swapping a screenshot or a sentence never needs a code change. A new reel is a new folder; the engine finds it. - New motion is a new shot in
engine/src/shots/, registered inshots/index.ts, documented inreferences/shots.md. Do not special-case one reel in the engine. - The voice is the clock. Beats are word indexes (
"at": 2), never frames or seconds. - Callouts are transparent cutouts of the UI element itself, generated from the screenshot and a rectangle. Never a rectangle of page, never a hand-edited image.
- Numbers come from the screen (
{"fromScreen": ...},{"sum": [...]}), and every claim in the script is visible in the captured data. - Tokens only. Colours, shadows and the caption highlight come from
STYLEandHIGHLIGHTSinengine/src/timeline.ts; the colours themselves arecolorsofbrand.json. App colours that differ from a token are mapped with the reel'srecolorrule. - Read-only capture. Navigate, scroll, open and close sheets. Never tap anything that changes data (merge, close, delete, send). Actions in the reel are drawn.
- Real data needs the owner's consent. Screenshots show real names, titles and avatars. Ask before capturing an account, and say which committed files contain it.
Pipeline
- Brief. One feature, one promise, 25 to 40 s. Write three candidate structures and
pick one (
references/script.md); it must not be the previous reel again. - Capture.
npm run capture -- <screen>: clean 9:41 status bar, 1206×2622 (iOS simulator; screenshots from elsewhere work at that size). Capture every screen of the story in one go: the account is live and lists change between captures.npm run grid -- <screen>gives pixel coordinates forcallouts. - Script.
references/script.md: shape, house style, Humanizer pass. Show the user the before and after and the tells you removed. - Voice.
npm run voice [-- s3 s7]. Clips and timings are committed. - Scenes. One line is one scene. Pick shots from
references/shots.md, wire beats to words, followreferences/motion.md. - Render.
npm run render. It runsvalidatefirst and stops on errors; fix the JSON, never bypass it. Output:reels/<name>/<output>.mp4, mastered to -16 LUFS.OUTPUT=<name> npm run renderwrites a new cut next to the accepted one; render masters to a temp file and moves it in only when loudness and peak pass. - QA.
npm run deadframes,readcheck,blankframes,soundsheet,asrcheck -- --mix,sheets, thenreferences/qa.mdline by line. Never report a render you have not looked at.
Cover
Frame 0 of the video is the cover: feeds show it as the still preview, without motion
or sound. It is set in reel.json as cover and drawn by the engine. The example is
DuckBug's.
"cover": {
"kicker": "DuckBug · пулл-реквесты",
"headline": "Ревью и фиксы без тебя",
"accent": "без тебя",
"sub": "столько ушло у агентов на один PR",
"hero": {"type": "big", "text": "11 минут"},
"around": [{"id": "runFixer", "x": 0.7, "y": 0.95, "w": 700, "tilt": 4}],
"hold": 0.5
}
- Complete on frame 0: nothing fades in. It stands for
holdseconds (0.5 to 0.8) with a slow drift, then the words leave up and the hero leaves forward while the first scene starts. The voice starts right after.deadframesmust still pass. - One hero:
card(a cutout, optionally in its new state, with cardsbehind),phone(a screen in a pose),big(a number or a word with alabel),chips(three steps),chat(a question and an answer with atag). - Fill the whole 9:16 frame:
aroundplaces cutouts (frame fractions, they may run off the edge) above and below the centre square, so the full frame is not half empty while the square still holds the message. - Headline of 7 words or fewer, the key word under the marker stroke (
accent), no long dashes, no full stop, no question in the sub-line. Numbers only if the reel shows them. No promise the reel does not keep. - Everything readable sits in the centre square (a feed crops the preview to 1:1 or 3:4); the headline is at least 92 px, about 18 px on a 210 px thumbnail.
npm run cover -- --reel <name>writes<output>-cover.png(1080×1920) next to the mp4 and checks all of the above.--variantsrenders every entry ofcoverVariantsintovideos/out/cover-variants/<name>/with_compare.png(full frame, 1:1 crop, thumbnail). Show the variants to the user before choosing.
House rules that are easy to break
- Captions: no long dashes, no full stop shown on screen, two lines at most.
- Caption highlight: preset
C(marker stroke). No boxes with saturated borders. - Parts of a card (
marks): small elements get the same marker stroke, large ones a light 2 px outline (markStyle: {"preset": "auto", "large": "outlineLight"}, the owner's choice). No saturated outline boxes. - Brand on screen is the domain (
domaininbrand.json); the voice says the spoken name frompronunciations(DuckBug:DuckBug.ioon screen, «Дакбаг» in the voice). - The reel ends with one
ctaslide about the feature of this reel: its name as the headline, one line saying what it does, the domain, a button. No "free" («бесплатно») badge or line: it pulls the ending away from the feature. Never a slogan of the whole service. - One payoff element per beat. A button that changes state is the message; no toast or second pill repeating it.
- The main positive action (DuckBug: merge) uses
STYLE.positive; once done, the element changes state on screen (DuckBug: purple «Слито»), it does not just disappear. - Shadows are crisp: the
STYLE.shadowpreset, never a wide soft glow. - Counter digit
accentDeep, its labelaccent. - No rhetorical questions and no slang the voice stresses wrongly (Russian: «Тапнул») in voice-over: the voice reads both wrong.
- Every text the engine draws holds letters / 15 + 1.5 s (
npm run readcheck). - At least two near-silences (
hush) before key moments, the first sound after each is the key one, and two cuts carried by sound (J/L-cut); see Sound inreferences/motion.md. - One acceleration and one declared breath per reel; motion may land on the word
(
anticipate); see Timing inreferences/motion.md.
Common requests
| Request | Do |
|---|---|
| new text | edit caption, npm run voice -- <ids>, re-check every at in those scenes, render, QA |
| new screenshots | capture, npm run validate, look at out/cutouts/<name>/_all.png and the "from screen" lines, render, QA |
| "more dynamic" | npm run deadframes, add beats where it points (callout, mark, camera.then); do not just speed up |
| new app | "Set up for your app" in videos/README.md: brand.json, the logo, the brand notes, then a new reel |
| new reel | three structures first (references/script.md), then mkdir reels/<name>, start from a reel.json but rebuild the scenes for the chosen structure, capture, voice, validate, render; reels/<name>/README.md with the script, the structures, the signature scene and the six-axis comparison |
| new effect | new shot with its JSON documented in the file header and a default sfx(), plus a row in references/shots.md |
Report back
Duration, loudness, script before and after, shot list with timings, the validate,
deadframes, readcheck, blankframes and asrcheck results, where the two hushes and the
two sound-carried cuts are (from soundsheet), the six-axis comparison with the last reel, and what you could not verify. You cannot hear: say so about
pronunciation, music and sound balance, and ask the user to listen.
References
references/script.md: narration shape, house style, Humanizer pass, what depends on the languagereferences/motion.md: timing, presets, camera, transitions, colour, shadows, soundreferences/shots.md: shot catalog and recipes, mapped to JSONreferences/qa.md: checklist and commandsreferences/sources.md: where the rules come fromvideos/brand/README.md: the project's glossary and brand rules (examples/duckbug/brand/README.mdis a filled-in one)