AGENT SKILL

promo-pv

Make Tobs promo videos (PV), teasers and other motion marketing assets with the house look and Disney-style motion, rendered frame by frame from HTML to MP4 with BGM and sound cues. Use when asked for a promo video, launch trailer, feature teaser, animated social clip, or end-card/credits for Tobs (Team of Bots).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 852
Forks
63

01 前言 Front Matter

name
promo-pv
description
Make Tobs promo videos (PV), teasers and other motion marketing assets with the house look and Disney-style motion, rendered frame by frame from HTML to MP4 with BGM and sound cues. Use when asked for a promo video, launch trailer, feature teaser, animated social clip, or end-card/credits for Tobs (Team of Bots).

02 资源文件 19

03 SKILL.md 正文

Promo PV

A Tobs PV is a frame-driven HTML page: every scene is a function of time t, Playwright screenshots each frame at 30 fps, ffmpeg encodes it, and a mixer lays the BGM and UI sound cues under it. Nothing animates on its own, so every frame is deterministic and any second can be previewed instantly.

This skill holds the rules that a reviewer signed off on after four rounds of feedback on the launch PV, plus a working kit. Read the references before you storyboard:

  • references/style.md — the visual system: palette, type, stickers, avatars, pixel cosmos, end card and credits.
  • references/motion.md — the Disney principles mapped to the kit's helpers, with the default numbers.
  • references/storyboard.md — the approved PV structure as a template, pacing rules, and every review note with what fixed it.
  • references/pipeline.md — setup, preview, render, mix, delivery, and the traps that cost a render.

Workflow

  1. Storyboard first. Write the beats as stills (one line of copy, one picture each) and get the requester's approval before animating. Put it on a page they can open; a storyboard is cheap to change, a render is not.
  2. Set up a workspace outside the repo (renders are hundreds of MB):
    node .agents/skills/promo-pv/kit/setup.mjs ~/promo/<name>
    cd ~/promo/<name> && python3 -m http.server 8777 &
    
    Put the BGM at assets/bgm.wav (48 kHz) and run python3 kit/beats.py assets/bgm.wav to write beats.js. scenes.js starts as three reference scenes; replace them with your storyboard.
  3. Lay the timeline on the beat grid. Every scene boundary is T(bar) (4 beats) or TB(beat). Cut on downbeats; land the big moment (bento snapping into place, the final logo) on the drop.
  4. Build one scene at a time with S(name, a, b, build, { tin, tout, pre, post }). build(root) lays out DOM/canvas once and returns draw(t). Use only the kit's motion helpers; never CSS transitions or animation.
  5. Preview constantly. node kit/preview.cjs 12.5,13,14 out/pv && python3 kit/sheet.py out/pv out/sheet.jpg and look at the sheet. Check every seam (last frame of a scene vs first of the next) and every hold.
  6. Render, mix, deliver. ./kit/render-all.sh 3 out/<name>-v1.mp4 assets/bgm.wav renders in parallel, mixes and muxes, and writes a -small.mp4. Deliver both; version every round (v5.1, v5.2…) and keep the previous one for comparison.

Non-negotiables

  • Continuity before beat sync. Every cut is motivated: zoom through, push, iris, expand from a card, or a camera move on one continuous canvas. Never a hard cut to an unrelated layout, never a black frame between scenes.
  • No dead holds. A static hold is at most about 3 s and still moves (a bob, a slow push). If a section feels long, cut it or give the camera a job; reviewers notice holds before anything else.
  • Real product, real assets. Show the real app (dark mode, zoomed in), real chat-app screenshots, Bot avatars from the product's pixel-avatar package, the real logo. Never invent UI that the product does not have.
  • Accurate claims. Bots run on the user's own computer; people reach them from the phone app, the desktop app and group chats. Copy that implies otherwise gets flagged.
  • One look. Light scenes are warm beige with flat colored cards; space scenes are pure black with square pixel stars and nyan-style rainbow trails. No realistic nebulae, no low-poly gradients, no glossy 3D.
  • Layering. A progress bar or highlight drawn on a canvas sits above its track (cv.style.zIndex = 2). Check it in a still.
  • Credits are part of the brand. End on the repo URL, live Star/Fork numbers, license and site as filled chips, then a playful credits roll where Bots have jobs.
  • Model names stay out of the repo. Credit the production model in the video only, using the name the requester gives; never write a model identifier into this skill, a commit or a PR.

04 同仓库更多 Skills

BotHarness
BotHarness/DeepSeekBot

slide-authoring

Technical reference for writing or editing open-slide pages — file contract, 1920×1080 canvas, type scale, layout, palette/visual direction, assets, speaker notes, stepped reveals, page transitions, and morph transitions. Consult this whenever you are about to write or modify any file under `slides/<id>/`, including from inside the `create-slide` or `apply-comments` workflows, or for any ad-hoc slide edit. Triggers on phrases like "edit slide", "tweak this page", "fix the layout", "change the palette", "reveal one by one", "add a transition", "morph transition", "write the speaker notes", "generate the script / talk track", "investigate the slide framework", "how do slides work here".

★ 852
BotHarness
BotHarness/DeepSeekBot

current-slide

Resolve which slide, page, and (optionally) selected element the user is currently viewing in the open-slide dev server. Consult this whenever the user references "this page", "this slide", "this element", "the slide I'm on", "the current page", or any deictic reference to slide content without naming it. Re-read `node_modules/.open-slide/current.json` at the start of every such turn — the user navigates between turns, so a value you read earlier in the conversation is almost certainly stale.

★ 852
BotHarness
BotHarness/DeepSeekBot

create-theme

Use this skill when the user wants to create, draft, author, or extract a slide theme in this open-slide repo. Triggers on phrases like "create a theme", "make a theme called X", "extract a theme from <slide>", "build a theme from these images". Produces two paired files under `themes/` — `<id>.md` (palette, typography, layout, fixed Title/Footer components, motion) and `<id>.demo.tsx` (a runnable demo slide that the dev-UI Themes panel previews). Do NOT use for editing real slides — only for authoring the theme bundle.

★ 852
BotHarness
BotHarness/DeepSeekBot

create-slide

Use this skill when the user wants to create, draft, author, or generate new slides / a presentation in this open-slide repo. Triggers on phrases like "make slides about X", "make a deck about X", "create a presentation", "draft slides for", "new slide", "a deck with speaker notes / a script", or when the user asks to add content under `slides/`. Do NOT use for editing the framework itself — only for authoring content inside `slides/<id>/`.

★ 852
BotHarness
BotHarness/DeepSeekBot

apply-comments

Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to "apply comments", "process slide comments", "apply the inspector comments", or references markers left inside `slides/<id>/index.tsx`.

★ 852
BotHarness
BotHarness/DeepSeekBot

writing-shape

Writing, exploit: shape raw material into an article, paragraph by paragraph.

★ 852