/motionforge:qa-reviewfrom motionforge
Pre-delivery QA for motion design videos: contact sheets, text cut-off/overlap/contrast, safe areas, pacing, flashes, loudness, plus an independent critic pass.
Ships in motionforge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The person who built a scene sees what they meant, not what is on the frame. This skill replaces "looks good" with numbers and an outside eye. Nothing is delivered with an open FAIL.
Write results to videos/<slug>/qa/report.md:
Render: renders/<slug>-v<N>.mp4 sha256: <hash> Date: <yyyy-mm-dd>
| id | status | evidence | note |
|----|--------|----------|------|
| T1 | pass | ffprobe.json | h264 yuv420p bt709 1080x1920 30fps |
Status is pass, fail, warn (accepted with a written reason) or pending (needs a human). The report belongs to one render: record sha256sum of the file; any re-render makes the report stale and the checks run again (at least those touching changed scenes plus T*, A*).
python3 tools/contact_sheet.py renders/<slug>-v1.mp4 --every 0.5 --cols 6 --out qa/sheet.png --safe 220,1600 # time-stamped overview
python3 tools/contact_sheet.py renders/<slug>-v1.mp4 --every 1 --width 360 --out qa/phone.png # one frame per second at phone size
ffmpeg -pattern_type glob -i 'qa/stills/*.png' -vf "scale=270:-1,tile=6x3" -frames:v 1 qa/sheet.png # stills only, before a full render
For the critic, also make a per-scene sheet: stills at the start, middle and end of every scene in direction.json, tiled in scene order. Read qa/phone.png as a viewer would: at 360 px wide, is every important word readable?
| id | Check | How | Rule |
|---|---|---|---|
| T1 | stream spec | ffprobe -v error -show_streams -show_format -of json <mp4> > qa/ffprobe.json | H.264, yuv420p (not yuvj420p), BT.709 tags, planned size and fps, AAC 48 kHz, faststart |
| T2 | duration | same | audio and video durations differ by ≤ 0.15 s |
| T3 | black / frozen frames | ffmpeg -i <mp4> -vf blackdetect=d=0.1,freezedetect=n=0.003:d=3 -an -f null - 2>&1 | grep -E "black_|freeze_" | no unintended black; frozen stretches > 3 s need a reason |
| T4 | flashes | ffmpeg -i <mp4> -vf signalstats,metadata=print:key=lavfi.signalstats.YAVG:file=qa/yavg.txt -f null - | at most 3 large luminance swings (> 20% of range) per second |
| T5 | determinism | render one frame of a scene twice, compare sha256sum | identical |
| id | Check | How | Rule |
|---|---|---|---|
| X1 | cut off / overlap / under UI | node tools/textcheck.mjs <scene>/index.html for every scene | no text clipped by the frame; overlapping text boxes ≤ 15% of the smaller box; nothing important under platform UI |
| X2 | size and contrast | textcheck output + sheet | 9:16 at 1080 wide: captions ≥ 48 px, headlines ≥ 64 px, nothing readable under 28 px; contrast ≥ 4.5:1 (≥ 3:1 above 40 px) |
| X3 | reading time | node tools/readcheck.mjs <scene>/index.html --ignore caption | each settled text block stays ≥ 1.5 s + 0.3 s per word (CJK: ≥ characters ÷ 4.5 + 1.5 s); captions ≥ 0.6 s per chunk |
| X4 | glyph coverage | glyph script below | every character of on-screen text exists in the font that renders it |
| X5 | safe areas | overlay sheet or textcheck | 9:16: content in x 60–1020, y 220–1600; nothing important at x > 940, y 900–1700; captions in y 1150–1500 |
| X6 | cover crop | python3 tools/cover_safe_area.py renders/cover.png --boxes qa/cover-boxes.json (boxes from textcheck.mjs --dump), or --detect; plus contact_sheet.py --guide 3:4 | all cover text inside the 3:4 crop (y 240–1680 on 1080×1920); readable at 270 px wide |
| X7 | first frame | still at t = 0 | the hook is on screen at frame 0 as big text; no logo intro, no fade from black |
| X8 | last frame | still at the end | holds ≥ 1 s; closes the idea (result, rule, CTA); outro shows handle/site if the brand has them |
| X9 | generic look | sheet | no full-frame purple/blue gradient, no grid background, not every element fading in, not the same layout in every scene (unless the chosen style says otherwise) |
| X10 | real assets | sheet + assets/CREDITS.md | brand logos are the real files; screenshots are real or listed as mock; every third-party file has a license line |
Glyph check (X4) with fontTools (pip install fonttools brotli):
python3 - <<'EOF'
import json, sys
from fontTools.ttLib import TTFont
text = open("videos/<slug>/qa/onscreen.txt", encoding="utf-8").read() # all on-screen text + captions
fonts = ["assets/fonts/Display-latin.woff2", "assets/fonts/Display-latin-ext.woff2"] # every subset loaded
cmap = set()
for f in fonts: cmap |= set(TTFont(f).getBestCmap())
missing = sorted({c for c in text if not c.isspace() and ord(c) not in cmap})
print("missing:", "".join(missing) or "none"); sys.exit(1 if missing else 0)
EOF
For Turkish always include ı İ ş Ş ğ Ğ ç Ç ö Ö ü Ü in the test text. Also confirm the subsets' unicode-range declarations cover those code points (see motion-director building-scenes).
| id | Check | Rule |
|---|---|---|
| P1 | cue sync | key words on screen within 3 frames of being spoken (sample 5 cues from words.json and render those stills) |
| P2 | no cut inside a word | scene boundaries fall in gaps between words |
| P3 | density | words per second per scene ≤ the language pace + 10% |
| P4 | dead stretches | nothing new for > 4 s only with a reason (T3 helps find them) |
| P5 | hook kept | the promise made in the first 3 s is paid off; the spoken hook and frame-0 text match |
| P6 | claims | every high-risk claim in script.md is confirmed, sourced, softened or removed; status recorded |
| P7 | banned phrases | script, on-screen text, captions, cover and post.md scanned against skills/script-and-hooks/i18n/<lang>.md and the brand's words_avoid |
| P8 | language | captions and on-screen text in the video language; register (formal/informal) consistent |
| id | Check | How | Rule |
|---|---|---|---|
| A1 | loudness | bash tools/loudness.sh measure <mp4> | integrated within ±1 LU of target (−14 social, −16 when agreed); true peak ≤ −1 dBTP; no clipping |
| A2 | voice vs mix parity | bash tools/loudness.sh compare audio/voice.wav audio/mix.wav (warns past 3 LU); then measure the mix over a voice-only window and over a music-only window: ffmpeg -ss <a> -to <b> -i audio/mix.wav -af ebur128 -f null - 2>&1 | grep " I:" | music-only stretches ≥ 8 LU below speech stretches; a voice stretch with music under it is within 1–2 LU of the same stretch in voice.wav after the final gain |
| A3 | footage vs TTS | same command on a presenter-footage window and a TTS window | within 1 LU; no level jump at the switch |
| A4 | start | voice starts within 0.3 s of frame 0 | the hook is heard immediately |
| A5 | listening | — | pending until the user has listened on a phone speaker; you cannot hear the mix |
pending until the user confirms)After your own FIX list is empty and before the full render, run the critic in references/critic.md as a fresh-context subagent that never wrote or read the scenes, the code or the script. It sees only the sheets and the 5-line brief. Fix each FIX it returns or answer it in writing in qa/report.md. If your environment cannot start a subagent, say so at delivery; do not role-play the critic in your own context.
Deliver only when: no fail, every warn has a reason, the critic ran (or its absence is reported), and the pending human items are listed in the delivery message.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub aykutucesai/motionforge --plugin motionforge7 skills in this plugin
/brand-kitCreate, load or check a brand.json (color roles, fonts with licenses, logo files, watermark, outro, voice and tone, do/don't) for videos made for a company, product or creator. Use when a video is for a brand, when the user shares a website, repository, logo or screenshots to match, or when brand colors/fonts/logos need to be applied consistently across videos./faceless-ugcMake videos without showing a real face, or UGC-style ad videos, by turning an avatar (a photo, an illustration or a 3D character) into a talking presenter - free and local (2.5D puppet, 3D character, kinetic type, hands/product only) or, with the user's own API key, through AI image-to-video and lip-sync providers (fal.ai, Wiro AI) or a lip-sync model they run themselves. Use when the user says faceless, no face, anonymous creator, avatar, talking photo, talking character, AI presenter, lip-sync, UGC, UGC ad, or wants a picture to speak a voice-over./motion-directorEntry point for making a motion design video with code (Reels, Shorts, TikTok, explainers, product clips, kinetic type). Use when the user asks for a video, reel, animated explainer, motion graphics, a voice-over turned into a video, or a cover/caption package for a video. Runs the whole job from a 5-line brief to a checked MP4, calling the other motionforge skills at each stage./script-and-hooksWrite the spoken script and on-screen lines for a short video in any of 10 languages, with 2–3 hook options, a TTS-friendly text, a closing call to action and a list of checkable claims for the user. Use when a video needs a script, a hook, a voice-over text, a rewrite of an existing script, or a check for clichés and unsourced facts./style-libraryPick, customise or create the visual style of a motionforge video from a library of 100 styles in 20 categories (creators, e-commerce, real estate, sports, documentary, education, tech, finance, food, fitness, travel, events, news, business, gaming, kids, fashion, automotive, art direction, nonprofit). Use when a video needs a look (palette, type, texture, framing, motion, edit rhythm, sound) before scenes are built, when the user names a style, a vertical or a reference, or wants their own reusable style. Every style is one STYLE.md in the same 9-section format./voice-and-timingProduce the voice-over (bring-your-own-key TTS such as ElevenLabs or OpenAI, local Kokoro or Piper, or the user's own recording) behind a mandatory consent and cost gate, then time every word, build captions, and mix voice, music, effects and footage audio to a loudness target. Use when a video needs narration, word-synced animation or captions, or when audio levels need fixing.Other plugins' skills for the same job