From e6f695421e5291e066150869270c972caeb4e6d8 Mon Sep 17 00:00:00 2001 From: "hanhan.ghh" Date: Fri, 30 Oct 2026 04:41:10 -0700 Subject: [PATCH] docs: remove internal spec documents and references --- skills/remix/SKILL.md | 9 +- skills/remix/references/replica.md | 2 +- .../specs/video-clone-tiers.spec.md | 187 ---- .../references/specs/video-clone.spec.md | 972 ------------------ skills/remix/scripts/lib/quick-board.jsx | 2 +- skills/remix/scripts/lib/quick.mjs | 2 +- skills/remix/scripts/quick.mjs | 2 +- 7 files changed, 10 insertions(+), 1166 deletions(-) delete mode 100644 skills/remix/references/specs/video-clone-tiers.spec.md delete mode 100644 skills/remix/references/specs/video-clone.spec.md diff --git a/skills/remix/SKILL.md b/skills/remix/SKILL.md index 87fb147..d0edda6 100644 --- a/skills/remix/SKILL.md +++ b/skills/remix/SKILL.md @@ -21,7 +21,7 @@ names it, not up front. ## Two tiers -The tier decides how faithfully step 3 rebuilds the original (`references/specs/video-clone-tiers.spec.md`). +The tier decides how faithfully step 3 rebuilds the original. | Tier | When | What changes | |---|---|---| @@ -168,7 +168,7 @@ transcript and (when present) the understanding file. Times always come from `so ## Step 3 (low) — the quick template -1. Write `$PROJECT/analysis/shots.json` (`references/specs/video-clone-tiers.spec.md` §3.1) from the shot strips, +1. Write `$PROJECT/analysis/shots.json` following `assets/schemas/shots.json`, from the shot strips, the overview and the transcript: consecutive shots grouped into scenes that tile the film (a scene with a pixel or screen layer at most 15 s — split a longer shot with `start` / `end`), each with a one-line English `role`. @@ -178,7 +178,10 @@ transcript and (when present) the understanding file. Times always come from `so `measure.mjs grid`; a split screen is two layers, a picture-in-picture a full-frame layer then a small `circle` / `round` one, a keyed presenter a backdrop then an avatar with `cutout`), a `describe`, and the people, products and screens the replica may replace (`subjects`, boxes in the layer). A new layout - inside a scene starts a new scene. Then every designed on-screen text with its box (read off `measure.mjs grid`), in / out in source seconds, entrance, colour and plate. + inside a scene starts a new scene. Order layers back to front; boxes are `[x, y, width, height]` in + 0–1 of the frame (subjects use the layer's coordinates). Give layers unique keys: `presenter` for + the single avatar layer, other names excluding `texts` and `say` for the rest. + Then every designed on-screen text with its box (read off `measure.mjs grid`), in / out in source seconds, entrance, colour and plate. Burned-in captions of the narration are not texts: their look goes into `captions` (`references/captions.md` tokens). One open `font` that looks like the original's text, picked by eye; a palette from the frames. 2. `node "$SKILL_ROOT/scripts/quick.mjs" "$PROJECT"` writes the template (boards, transitions, design, narrative diff --git a/skills/remix/references/replica.md b/skills/remix/references/replica.md index d5a3933..cf52fa4 100644 --- a/skills/remix/references/replica.md +++ b/skills/remix/references/replica.md @@ -179,7 +179,7 @@ Rules: one action per shot; at most two hands in frame and say what each holds; in words even when an image is given; describe what to show, never "do not show the old product"; keep areas the board covers with text empty ("leave the left third clear"). -**Low tier** (`references/specs/video-clone-tiers.spec.md`): the reference clip is the layer's region of the original +**Low tier**: the reference clip is the layer's region of the original frame (the whole frame for a full-frame layer), with its people, burned-in captions and stickers, so the prompt describes the full new picture for that region and takes only the motion from the video. Pin `provider: "tapvid"`, `model: "minimax-h3"` when TapVid is ready; images are the replacements (the user's photo, a product shot, a screenshot of their app): diff --git a/skills/remix/references/specs/video-clone-tiers.spec.md b/skills/remix/references/specs/video-clone-tiers.spec.md deleted file mode 100644 index c87bb60..0000000 --- a/skills/remix/references/specs/video-clone-tiers.spec.md +++ /dev/null @@ -1,187 +0,0 @@ -# video-clone fidelity tiers - -`remix` runs at one of two tiers. `high` is the full 1:1 clone described in -`video-clone.spec.md`; `low` trades layout fidelity for speed; `high` is the default. - -## 1. Why two tiers - -A `high` run takes about 80 minutes, most of it in step 3: one hand-written React board per layout, -an element inventory with measured boxes, font matching, and comparison rounds until every sample -scores 0.95. Many users only need the film's rhythm and structure on their own topic: the same shots -in the same order, at the same pace, with their own people, products and copy. `low` keeps that and -drops per-element design, targeting about 25 minutes from link to finished film. - -Both tiers build every frame from the same three sources, and the core of the analysis is deciding which -source fills which part of the frame: - -- **avatar**: a digital human, for a person talking to camera; -- **pixel**: generated picture (AI video following the original clip, or an AI image), for live action, - products and anything filmed; -- **code**: drawn by the board itself — text, panels, charts, lists, UI cards. - -A screen region is the fourth case at the boundary: the user's own recording or screenshot when they have -one, otherwise pixel. One scene often combines several sources: a screen recording over a talking head, -two pictures side by side, a presenter in a corner over a chart, a cut-out presenter in front of a -backdrop. - -| | `high` (default) | `low` | -|---|---|---| -| Analysis | shots, script, every element measured | shots, script, the position and timing of on-screen text | -| Template | one hand-written board per layout system, 1:1 | one generated board per scene: the scene's layers (avatar / pixel / screen / code regions in the original's boxes) under a generic text overlay | -| Talking-to-camera regions | digital human | digital human | -| Filmed regions (live action, products) | rebuilt per slot (reference, keyframe, capture, GIF) | AI video that follows the original region's camera and timing (reference-to-video, MiniMax H3 on TapVid), with the user's people and products from images | -| Screen regions | capture, user recording or code | the user's recording or screenshot, else AI video as above | -| Code regions | per-board code | one element per region, written per replica | -| On-screen text | per-board code replaying measured boxes, fonts and motion | the generic overlay: the original's boxes and timing, one font, fade or pop entrances | -| Transitions | measured, full transition library | soft cuts become crossfades of the measured length; everything else is a hard cut | -| Captions | measured style | measured style (same `Design.captions` tokens) | -| Sound effects | detected and replayed per element | none | -| Stops (plan mode) | 2: the clone, then the replica with its cost | 1: the replica with its cost | -| Acceptance | `compare.mjs --fail-under 0.95`, timing check, element checklist | `validate.mjs template`, a contact-sheet look at every scene | - -## 2. Invocation - -``` -remix