Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: added anatomy, types

dev_wandry8232aa3a6a2b
diff --git a/skills/remocn/SKILL.md b/skills/remocn/SKILL.md
index 75f76d7c..6eefe5ba 100644
--- a/skills/remocn/SKILL.md
+++ b/skills/remocn/SKILL.md
@@ -157,19 +157,25 @@ load fonts before render) live in the `remotion-best-practices` skill.
## Composing a video
-Typical product demo:
-
-1. **Background**: `mesh-gradient-bg` or `dynamic-grid`.
-2. **Title reveal**: `blur-out-up`, `staggered-fade-up`, or `tracking-in`.
-3. **Show the product**: `browser-flow`, `terminal-simulator`, or `glass-code-block`.
-4. **Transition between scenes**: `frosted-glass-wipe`, `spatial-push`, or `directional-wipe`.
-5. **End with impact**: `confetti`, a social card, or a CTA beat.
-
-Pick each beat's component from `references/components/index.md` — match the `vibe` tag to the brand
-and budget each `<Sequence durationInFrames>` around the component's natural length.
+Don't dump components — compose one story. When asked to build a full video ("make a product demo",
+"changelog video", "intro for my landing"):
+
+1. **Decide the strategy** — ready template vs compose from components vs build a new component. See
+ `references/anatomy.md` §1.
+2. **Follow the beats** — a product demo is Hook → Positioning → Product reveal → Features → Proof →
+ CTA (last two optional). See `references/anatomy.md` §2.
+3. **Use the recipe** — `references/archetypes.md` has the per-archetype build: content contract
+ (infer → ask → placeholder), duration variants, beat→component slots, and a worked
+ `<TransitionSeries>` skeleton.
+4. **Pick each beat's component** from `references/components/index.md`; match the `vibe` tag to the
+ brand and budget each `<Sequence durationInFrames>` around its natural length.
+5. **Check the quality bar** — one accent, sentence-case kinetic type, real content, no glow halos, no
+ feature-list enumeration, no `mesh-gradient-bg`. See `references/anatomy.md` §3.
## Reference
+- `references/anatomy.md` — composing a full video: strategy (template/compose/new), the product-demo beats, and the good-vs-slop quality bar.
+- `references/archetypes.md` — per-archetype build recipes (currently product-demo): content contract, duration variants, beat→slot map, worked `<TransitionSeries>` skeleton.
- `references/components/index.md` — router table (all components, grouped by category, with `Use for` / `Avoid for`). Open `references/components/<name>.md` for one component's full props, example, and use / don't-use notes.
- `references/design.md` — anti-slop design defaults (do/avoid) + design tokens (palette, fonts, canvas).
- `references/motion-principles.md` — motion-design principles adapted to remocn + Remotion.
diff --git a/skills/remocn/references/anatomy.md b/skills/remocn/references/anatomy.md
new file mode 100644
index 00000000..e8fc87e3
--- /dev/null
+++ b/skills/remocn/references/anatomy.md
@@ -0,0 +1,82 @@
+# Video Anatomy & Composition Strategy
+
+How to turn "make a product demo with remocn" into a coherent video. Read this before composing.
+The component catalog is `components/index.md`; the per-archetype recipe is `archetypes.md`.
+
+This file has three layers, kept separate:
+1. **Strategy** — template vs compose vs build-new.
+2. **Anatomy** — the beats a product demo is made of.
+3. **Good vs slop** — the quality bar, derived from real good/bad reference demos.
+
+---
+
+## 1. Strategy: template, compose, or new component
+
+Before building, decide HOW. Three strategies, each with when-to / when-not-to.
+
+### Reach for a ready-made template when
+- The archetype is canonical and common (product-demo, changelog, testimonial-reel) and a template exists.
+- The choreography is non-trivial (multi-act camera moves, overlapping phase timings) — things an ad-hoc composition won't reliably reproduce.
+- The structure is stable and the user's content maps cleanly onto the template's slots.
+
+Don't use a template when the user's content or brand can't fit its fixed slots, or the archetype is long-tail.
+
+### Compose from catalog components (the default) when
+- The user has specific content/brand, or a variable number of features/metrics.
+- The needed structure is a sequence of existing components (hook → product UI → proof → CTA) with no exotic choreography.
+- Speed and fit matter more than a pixel-locked recreation.
+
+This is the primary path. Output is a raw `<TransitionSeries>` orchestrator stitching installed components — see `archetypes.md`.
+
+### Build a new lightweight component when
+- A beat needs a visual the catalog lacks (a specific product-UI frame, a chart type) **and** it will be reused across videos (e.g. a generic `ui-frame`, a `metric-card`, a `task-card`).
+- For a true one-off, try composing from existing components first; only author a new one when reuse justifies it.
+
+New components stay transparent (background via a backdrop in the example), seek-safe, and follow the anti-slop rules below.
+
+---
+
+## 2. Anatomy of a product demo
+
+A product demo is 6 beats. **Proof** and **CTA** are optional; **Hook** and **Product reveal** are the spine. Beats overlap at their edges (the end of one launches the next — no dead frames between).
+
+| # | Beat | Job | Typical content |
+|---|---|---|---|
+| 1 | **Hook** | State the problem or a bold positioning line in plain language | "Your team has tasks everywhere", "Show up in AI answers", "Don't get blocked by your machine" |
+| 2 | **Positioning** | Name the product / what it is → resolve to the lockup | "Meet Flowith", "AI-Powered Work Operating System" → logo |
+| 3 | **Product reveal** | Show the actual product surface working | chat composer typing a prompt, a terminal running, a planning timeline, a workflow graph |
+| 4 | **Features** | 2–4 capabilities, each as a quick concrete moment | a checklist running, task cards wiring up, a "designed to simplify your workflow" line |
+| 5 | **Proof** *(optional)* | Make it credible | a metric/score counting up, metric cards, "Join 12,000+ people" + testimonials, an integration landing in Slack |
+| 6 | **CTA** *(optional)* | One ask + where to go | "Build with…", a command to run, `domain.com`, logo lockup on a calm hold |
+
+The hook usually carries the single hardest idea; features are where most of the runtime lives. Transitions between beats use `spatial-push`, `fade-through`, `frosted-glass-wipe`, or `directional-wipe` — match the move to the narrative (push for "going deeper", fade for a neutral cut).
+
+---
+
+## 3. Good vs slop — the quality bar
+
+Derived from real reference demos. The good ones (CrowdReply, Flowith, HeyGen, monid, shadcn-sidebar) share a language; the bad ones (a component-catalog dump, two shadcn promos, an over-long slide tool) share failure modes.
+
+### Good — do these
+- **One accent color per video.** Everything else neutral (mono / cream / dark). Good demos pick exactly one (orange, yellow, teal, blue) and use it only on the emphasized word, the active number, and the CTA.
+- **Kinetic type with selective emphasis.** Sentence case. Emphasize meaning with weight, the accent color, or a highlight box on the ONE word that matters — never the whole line.
+- **Show the real product surface.** A believable chat composer with a cursor, a terminal with monospace output and progress, a checklist, task cards, a metric card. The UI sim *is* the product, not decoration.
+- **Real, specific content.** Real-feeling names, metrics, copy ("Your AI Visibility Score: 71%", "Focus Time 4h 25m", "Join 12,000+ people"). All copy in English.
+- **Generous whitespace and a single focal point per beat.** One idea on screen at a time.
+- **Cursor-driven interaction** for product beats (type, click, the button reacts).
+- **A number/score payoff** with the accent, when there's a metric to land.
+- **A calm logo lockup outro.** Optionally on a dark hold; keep it restrained.
+- **Tight runtime with overlapping beats.** ~18s (short) to ~45s (standard). Length comes from story, not from listing.
+
+### Slop — never do these (each seen in a bad reference)
+- **No decorative glow / radial halos behind type.** Soft purple/lavender glow clouds behind headings (both shadcn promos do this) are the #1 tell. The hook gets life from motion and the accent, not a halo. See `design.md`, [no decorative glows].
+- **No feature-list / catalog enumeration.** Naming feature after feature ("Row Selection", "Pagination", "Sorting"…) over the same screenshot, or dumping every component in a gallery, is not a video — it has no narrative. Tell one problem → solution → proof story instead.
+- **No placeholder / lorem content.** "Scene A", "Scene B", "First", "Your UI", "Selected element", `TASK-####` filler. If real content is missing, use honest English placeholders the user will obviously replace — never ship lorem as the final.
+- **No ALL-CAPS heavy blocks, no decorative letter-spacing, no gradient text.** (A red ALL-CAPS "VISUAL EDITOR" block is slop.) See `design.md`.
+- **No walls of dense, unreadable text** (tiny terminal dumps filling the frame). Show a few legible lines, not a transcript.
+- **No monotony.** Don't repeat the same slide/screenshot under different labels. Each beat must advance the story.
+- **Don't run long by enumerating.** 100s+ of feature-listing drags. If the content is genuinely long, give it a strong repeating rhythmic device (e.g. a question→answer cadence) or split into multiple videos.
+- **No `mesh-gradient-bg`** as a hero background. Use `dynamic-grid`, `spotlight-card`, or a solid theme color via `backdrop`.
+
+### The one-line test
+A good product demo could be described as *"X has problem Y; here's the product solving it, here's proof, here's how to get it."* If your composition is instead *"here are my components / here are my features,"* it's slop — restructure around a story.
diff --git a/skills/remocn/references/archetypes.md b/skills/remocn/references/archetypes.md
new file mode 100644
index 00000000..62c47a4e
--- /dev/null
+++ b/skills/remocn/references/archetypes.md
@@ -0,0 +1,126 @@
+# Archetype recipes
+
+Concrete build recipes per video archetype. Read `anatomy.md` first (strategy + beats + the good/slop
+bar), pick components from `components/index.md`. Currently covers **product-demo**; more archetypes
+are added here over time.
+
+---
+
+## product-demo
+
+A product demo tells one story: *"X has problem Y; here's the product solving it; here's proof; here's
+how to get it."* Built as a raw `<TransitionSeries>` stitching catalog components, one beat per
+sequence. Grounded in real demos (CrowdReply, Flowith, HeyGen, monid).
+
+### Step 1 — gather content (infer → ask → placeholder)
+
+Fill this contract. **Infer** from the repo first (`README`, landing copy, `package.json`), then **ask**
+the user only for what's missing, then fall back to honest English placeholders. Never block on missing data.
+
+| Field | Required | Notes |
+|---|---|---|
+| `product.name` | yes | wordmark for positioning + outro |
+| `product.oneLiner` | yes | the positioning line ("AI-Powered Work Operating System") |
+| `hook` | yes | the problem/bold line ("Your team has tasks everywhere"); can derive from oneLiner |
+| `features[]` | yes (2–4) | `{ title, sub }` each — one concrete capability per item |
+| `productSurface` | no | which UI to show: `chat` \| `terminal` \| `dashboard` \| `planning` \| free description → fallback `terminal-simulator` or a new `ui-frame` |
+| `proof` | no | `{ metric: {label, value} }` and/or `{ testimonials: {quote,name,role}[] }` and/or `{ integration }` |
+| `cta` | no | `{ line, domain }` or `{ line, command }` |
+| `brand` | no | `{ accentColor, vibe }` → default neutral + one accent; pick `vibe` to match (`tech`/`premium`/`clean`/`data`/`social`) |
+
+### Step 2 — pick the duration variant
+
+| Variant | Length | Frames @30fps | Beats | Reference |
+|---|---|---|---|---|
+| **Short** | ~18s | ~540 | Hook → Product reveal → Positioning/CTA | monid (good, 18s) |
+| **Standard** | ~45s | ~1356 | all 6 | CrowdReply / Flowith / HeyGen (good, 42–45s) |
+| **Long** | 90s+ | — | many features | only with a strong repeating rhythm (Q&A cadence); else split into several videos. A flat 100s feature-list drags — that is the slop trap. |
+| **Bumper** | ~4–5s | ~135 | Positioning → lockup only | a logo sting; use `logo-enter`. Not a full demo — a brand insert. |
+
+### Step 3 — map beats to component slots
+
+Pick one slot per beat from these candidates (full props in each `components/<name>.md`):
+
+| Beat | Slot candidates | Notes |
+|---|---|---|
+| **Hook** | `kinetic-center-build`, `blur-out-up`, `per-word-crossfade`, `tracking-in`, `staggered-fade-up` over `dynamic-grid` or solid | emphasize ONE word with the accent, sentence case |
+| **Positioning** | `per-character-rise` / `focus-blur-resolve` / `kinetic-center-build` for the line and wordmark; `logo-enter` for a brand/partner logo cluster (not a single lockup) | resolve text into the brand mark; a single styled lockup may be a small new component |
+| **Product reveal** | `terminal-simulator`, `glass-code-block`, `code-accordion`, `device-mockup-zoom`; AI surfaces `chat-gpt`/`claude-chat`/`claude-code`/`v0`/`opencode`; add `cursor` / `simulated-cursor` | if the catalog lacks the exact surface, build a new lightweight `ui-frame` (see `anatomy.md` §1) |
+| **Features** | `progress-steps` (checklist), `animated-bar-chart` / `animated-line-chart`, `per-word-crossfade` for a "designed to ___" swap, `marker-highlight` / `inline-highlight` for emphasis, `tool-menu-slide-in`, `data-flow-pipes` | one concrete moment per feature, 2–4 total |
+| **Proof** | `rolling-number` / `number-wheel` / `slot-machine-roll` for a score; `animated-bar-chart`; `github-stars` / `x-followers-overview` for social counts; a testimonial card (compose or build new) | land one number with the accent |
+| **CTA** | `per-word-crossfade` / `kinetic-center-build` closer, `terminal-simulator` for a run-this command, `spring-scale-in` for a pill, `logo-enter`, `confetti` (one accent pop) | one ask + where to go |
+| **Transitions** | `spatial-push` (going deeper), `fade-through` (neutral cut), `frosted-glass-wipe`, `directional-wipe`, `shared-axis-y`/`shared-axis-z` | wrap two scenes via `from`/`to` |
+
+Budget each `<TransitionSeries.Sequence durationInFrames>` around the component's natural length
+(`Length` in `components/index.md`). Standard ~45s split: Hook 165 · Positioning 120 · Product reveal
+150 · Features 450 (across 2–4) · Proof 300 · CTA 171.
+
+### Step 4 — assemble (raw `<TransitionSeries>`)
+
+Standard variant skeleton. Swap the slot components and content for the gathered contract. Install each
+picked component first (`shadcn add @remocn/<name>`); deps auto-install.
+
+```tsx
+import { AbsoluteFill } from "remotion";
+import { TransitionSeries, springTiming } from "@remotion/transitions";
+import { fade } from "@remotion/transitions/fade";
+import { KineticCenterBuild } from "@/components/remocn/kinetic-center-build";
+import { PerCharacterRise } from "@/components/remocn/per-character-rise";
+import { TerminalSimulator } from "@/components/remocn/terminal-simulator";
+import { ProgressSteps } from "@/components/remocn/progress-steps";
+import { RollingNumber } from "@/components/remocn/rolling-number";
+import { DynamicGrid } from "@/components/remocn/dynamic-grid";
+
+const ACCENT = "#F2D200";
+
+export const ProductDemo = () => (
+ <AbsoluteFill style={{ background: "#FAF8EC" }}>
+ <TransitionSeries>
+ <TransitionSeries.Sequence durationInFrames={165}>
+ <KineticCenterBuild text="Your team has tasks everywhere" accent={ACCENT} />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Transition presentation={fade()} timing={springTiming({ durationInFrames: 18 })} />
+
+ <TransitionSeries.Sequence durationInFrames={120}>
+ <PerCharacterRise text="AI-Powered Work Operating System" />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Transition presentation={fade()} timing={springTiming({ durationInFrames: 18 })} />
+
+ <TransitionSeries.Sequence durationInFrames={150}>
+ <KineticCenterBuild text="Flowith" accent={ACCENT} />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Transition presentation={fade()} timing={springTiming({ durationInFrames: 18 })} />
+
+ <TransitionSeries.Sequence durationInFrames={450}>
+ <ProgressSteps steps={["AI Workflow Setup", "Product Metrics Audit", "Content Calendar Prep"]} accent={ACCENT} />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Transition presentation={fade()} timing={springTiming({ durationInFrames: 18 })} />
+
+ <TransitionSeries.Sequence durationInFrames={300}>
+ <RollingNumber from={0} to={12000} />
+ </TransitionSeries.Sequence>
+ <TransitionSeries.Transition presentation={fade()} timing={springTiming({ durationInFrames: 18 })} />
+
+ <TransitionSeries.Sequence durationInFrames={171}>
+ <KineticCenterBuild text="Flowith" accent={ACCENT} />
+ </TransitionSeries.Sequence>
+ </TransitionSeries>
+ </AbsoluteFill>
+);
+```
+
+Background stays on the outer `AbsoluteFill` (one accent on a neutral canvas); components render
+transparent. Replace `DynamicGrid` import usage if you want a grid hook background instead of a solid
+fill. The product-reveal beat above is folded into the features checklist for brevity — for a richer
+surface, add a `TerminalSimulator` / chat sim / new `ui-frame` sequence before the features beat.
+
+### Step 5 — check against the bar
+
+Before delivering, run the good/slop checklist in `anatomy.md` §3: one accent, sentence-case kinetic
+type, real content (no `Scene A` lorem), no glow halos, no feature-list enumeration, no `mesh-gradient-bg`,
+legible text, story not catalog. Budget frames so nothing clips and there's no dead air.
+
+### Installable worked example
+
+`a1-product-demo` in this registry is a full standard-length (~45s, 1356f) product demo built on this
+skeleton — install and read it as the long worked reference: `shadcn add @remocn/a1-product-demo`.