saas-promo
Installation
SKILL.md
saas-promo
A promo is one video.toml next to an assets/ folder (screens, cards, a logo SVG, fonts)
and an audio/ folder (the music). The engine in template/ reads the spec, lays the scenes
out in seconds or beats, snaps the cuts to the music's beat grid, and draws every frame in a
1280x720 design space, output at 1920x1080, 30 fps. One build serves any number of films.

| path | what it is |
|---|---|
template/ |
The fframes crate (cargo build --release once; the first build takes 1-2 min). src/spec.rs reads the spec, src/kit.rs holds the shared look (palette, the backdrop shader and its framings, glass type, highlight boxes, the 3D camera, cursor, letterbox), src/scenes/ has one file per kind, src/shaders/ the backdrop and halftone shaders, media/ the Inter and Anton fonts. |
template/tools/ |
promo.sh (run the engine on a spec), beats.py (beat grid of a track → build/beats.json, snapped cut list), bgm.py (an original synthesized bed cut to the spec), palette.py (a full [palette] from one brand colour), screens/render.py (HTML mock-ups → PNG, layer by layer), images/fetch.py (credited photos from Openverse or Bing, with a contact sheet to vet), images/cutout.py (cut a subject off its background), bgfit/fit.py (fit a backdrop framing to any reference frame), cmp.sh (reference vs ours at the same seconds), sheet.py, refsheet.py (contact sheets). |
template/examples/bolt-weekend/ |
The worked example: bolt.new's 27.7 s "Bolt is free this weekend" promo rebuilt on the generic kinds, scene starts on the original cuts. reference.jpg = frames from the original, render.jpg = ours at the same times. It plays over an original synthesized track (tools/bgm.py); the promo's own video and music aren't included. |
template/examples/mise/ |
An original film for a fictional AI site builder for restaurants: warm palette, a different flow, durations in beats at 124 bpm, an original synthesized track, and art-directed screens (HTML in screens/, real credited photography and cut-outs). It shows what changes between films. |
references/ |
screens.md (art direction for the screens, the slop checklist, recipes), spec.md (every video.toml key, timing model, backdrop presets, music), kinds/*.md (every kind's params, defaults and measured timing), look.md (what makes the style and every measured number), case-study.md (how the reference was rebuilt, lessons). |