[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CND1JAW97FY3W50MAPNKX7":3,"skill-same:01M6CND1JAW97FY3W50MAPNKX7":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6CND1JAW97FY3W50MAPNKX7","remotion-best-practices",null,"Best practices for Remotion video creation in React — scaffolding, compositions, animations, transitions — PLUS hard-won rules for high-fidelity product-demo videos: real logos\u002Ficons, precise YouTube-reference matching, full-screen camera zooms, click-targets that actually hit, content-tight rectangle highlights, voiceover regeneration discipline, audio-level normalization (no double-boost), per-scene voice-sync math, Studio detail-page mirror patterns, bold-not-subtle connection lines, and the YouTube publication kit (chapters, description, thumbnail, hashtags) that turns a render into a shipped video.","anton-abyzov\u002Fvskill","anton-abyzov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F979819?v=4","01M6CN5XDNZDM4A59WYJ1MF0DF","Anton Abyzov","01M6CN5XHVS7FXP067EJQVVZHK",47,"MIT","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fskills\u002Fremotion-best-practices\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"best practices","remotion best practices","Remotion","Audio","remotion, video, react, animation, composition","patterns","voiceover","youtube","camera","publishing","discipline","math","page","react","Composition","Animation","Video","normalization","product","sync","2026-11-10 10:12:30",false,"---\nversion: \"1.1.0\"\nname: remotion-best-practices\ndescription: \"Best practices for Remotion video creation in React — scaffolding, compositions, animations, transitions — PLUS hard-won rules for high-fidelity product-demo videos: real logos\u002Ficons, precise YouTube-reference matching, full-screen camera zooms, click-targets that actually hit, content-tight rectangle highlights, voiceover regeneration discipline, audio-level normalization (no double-boost), per-scene voice-sync math, Studio detail-page mirror patterns, bold-not-subtle connection lines, and the YouTube publication kit (chapters, description, thumbnail, hashtags) that turns a render into a shipped video.\"\nmetadata:\n  tags: remotion, video, react, animation, composition, demo-videos, product-demos, voiceover, audio-normalization, youtube-publishing\n---\n\n# \u002Fremotion-best-practices\n\nUse this skill any time you are writing a Remotion composition — animated demo videos, product walkthroughs, hackathon submissions, narrated presentations — anything rendered to MP4 via `npx remotion render`.\n\nThe skill bundles two layers of knowledge:\n\n1. **Remotion fundamentals** — the upstream rule files maintained by the Remotion team at `github.com\u002Fremotion-dev\u002Fskills` (compositions, animations, fonts, audio, transitions, FFmpeg, captions, etc.).\n2. **Demo-video craft rules** — lessons captured from a long iteration cycle building the vskill \u002F Skill Studio hackathon demo. These are the rules that, when broken, produce a \"slideshow\" instead of a believable product walkthrough.\n\nRead both layers before authoring.\n\n---\n\n## Scope and applicability\n\n> **The Layer 2 craft rules below were derived from one specific project: the\n> vskill \u002F Skill Studio hackathon demo (Anthropic \u002F Claude Code \"Built with\n> Opus\" hackathon, April 2026).** They reflect the look-and-feel of *that*\n> product — Studio chrome with breadcrumb header, sidebar tree, dark\n> verified-skill.com pages with mono fonts, terminal scenes, an editorial\n> \"Inter is AI-slop, distinctive serif is excellence\" thesis.\n>\n> **Do not apply these rules verbatim to unrelated demos.** A\n> consumer-mobile, a finance dashboard, a game, or a B2B SaaS pitch will\n> have its own visual language, its own pacing, and its own audience\n> expectations. A Save-then-Publish flow, a `verified-skill.com\u002Fqueue` page,\n> or a Studio sidebar with PROJECT\u002FPERSONAL\u002FPLUGINS counts is *content*, not\n> *craft*.\n>\n> **Use this layer as a reference for the underlying technique:**\n> the camera-zoom pattern, the cursor-targeting discipline, the\n> content-tight highlight rectangle, the in-place state transitions, the\n> voiceover\u002Fscript.ts coupling, the render+audio-boost pipeline — those\n> generalize. The exact constants (1.72× zoom, x=1488 button center,\n> v1.0.0 → v1.0.1 version pill, \"Tier-1 patterns · Tier-2 LLM · Socket\"\n> attribution) are Skill Studio specifics — translate, do not copy.\n\n---\n\n## Layer 1 — Remotion fundamentals\n\nMirrors the upstream `remotion-best-practices` skill at `https:\u002F\u002Fgithub.com\u002Fremotion-dev\u002Fskills\u002Fblob\u002FHEAD\u002Fskills\u002Fremotion\u002FSKILL.md`.\n\n### New project setup\n\nWhen in an empty folder or workspace with no existing Remotion project, scaffold one using:\n\n```bash\nnpx create-video@latest --yes --blank --no-tailwind my-video\n```\n\n### Starting preview\n\nStart the Remotion Studio to preview a video. **Studio HMR live-reloads as files change** — you do NOT need a separate `preview_start` mechanism, and `Bash` `run_in_background` is the right way to keep it alive across edits.\n\n```bash\nnpx remotion studio --port=3030\n```\n\n### Rendering\n\n```bash\n# Entry point must be the file that calls registerRoot() (usually src\u002Fremotion\u002Findex.ts)\nnpx remotion render src\u002Fremotion\u002Findex.ts \u003CCompositionId> out\u002Fvideo.mp4 --concurrency=8 --log=info\n```\n\nCommon gotchas:\n\n- Passing `Root.tsx` as entry → error: *\"this file does not contain registerRoot\"*. Use `index.ts`.\n- `TransitionSeries` does prop introspection on direct children; do **not** wrap children in `\u003CReact.Fragment>`. Use `flatMap` returning a flat array of `\u003CTransitionSeries.Sequence>` and `\u003CTransitionSeries.Transition>` elements.\n- `interpolate(frame, [a, b], …)` requires `a \u003C b` strictly. If you derive `b` from constants, sanity-check at scene-budget design time — Remotion throws *\"inputRange must be strictly monotonically increasing\"* on the very first evaluated frame and the whole composition fails to load.\n\n### One-frame render check\n\n```bash\nnpx remotion still \u003Ccomposition-id> --scale=0.25 --frame=30\n```\n\n### Subjects covered by the upstream rule files\n\n(Load on demand from the upstream skill repo — `github.com\u002Fremotion-dev\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fremotion\u002Frules\u002F`.)\n\n- `compositions.md` — Defining compositions, stills, folders, default props, dynamic metadata\n- `animations.md` — `interpolate`, `spring`, easing, frame-based math\n- `transitions.md` — `@remotion\u002Ftransitions` (fade, slide, wipe), how to chain them inside `TransitionSeries`\n- `assets.md` — `staticFile()`, `Img`, `Audio`, `Video`, font loading\n- `fonts.md` — `@remotion\u002Fgoogle-fonts` and local font registration\n- `audio.md` — Importing, trimming, volume, speed, pitch\n- `captions.md`, `subtitles.md` — Caption tracks and sync\n- `ffmpeg.md` — Trimming, concat, audio operations via FFmpeg shell-out\n- `silence-detection.md`, `extract-frames.md`, `get-audio-duration.md`, `get-video-duration.md` — Mediabunny utilities\n- `charts.md`, `gifs.md`, `light-leaks.md`, `3d.md` — Specialized rendering recipes\n\n---\n\n## Layer 2 — Demo-video craft rules\n\nThese are the rules earned over a long iteration cycle. **Treat them as defaults, not optional polish** — most of them came from \"this looks weird, fix it\" feedback that took multiple rounds to resolve.\n\n### A. Reference fidelity\n\n#### A1. Always pull the real reference\n\nIf the user says \"make it look like 2:43 of this YouTube video,\" extract the frame and study it. **Don't approximate from memory.**\n\n```bash\nSOURCE=\"\u002FUsers\u002Fantonabyzov\u002FMovies\u002F...\u002FSource.mov\"\nDEST_DIR=\".specweave\u002F...\u002Fassets\u002Fkeyframes\"\nfor t in 102 105 108 110 112; do\n  ffmpeg -y -ss \"$t\" -i \"$SOURCE\" -frames:v 1 -q:v 2 \"$DEST_DIR\u002Fat-${t}s.jpg\" -loglevel error\ndone\n```\n\nThen `Read` each JPG and design from what's actually on screen — typography, exact button labels, badge colors, sidebar tree layout, search-input positioning, count values (e.g. `PROJECT (1)`, `PERSONAL (0 of 12)`, `PLUGINS (0 of 50)`, `AVAILABLE (62)`).\n\n#### A2. Use real logos and icons, not approximations\n\n- **Bell-badge `skill-studio-logo.png`** — copy into every Studio scene as `\u003CImg src={staticFile(\"...\")} \u002F>`. Don't render a `✷` glyph and call it a logo.\n- **Provider icons** — fetch the real SVG\u002FPNG for Claude, Anthropic, OpenAI, OpenRouter, Ollama, LM Studio (e.g., from `lobehub\u002Fstatic-png`). Don't substitute emoji.\n- **Mascots** — draw with styled divs to match shape exactly. The Claude Code mascot is a peach-`#e08160` body with two square eyes, **two side hand-nubs at mid-body**, and **two pairs of legs underneath** (`▪ ▪    ▪ ▪`). Not ASCII art.\n- **App-window chrome** — when showing a website in a \"Chrome browser\", render a real Chrome browser frame: rounded corners, traffic-light dots, ‹ › ↻ nav, locked-padlock URL bar with a real URL (`localhost:3000\u002Fhero`, no extra spaces, no middle dot).\n\n#### A3. Match YouTube reference layouts pixel-for-pixel\n\nBefore redesigning a scene from imagination, list the visible elements in the reference frame and check each one against your output:\n\n- Banner text — exact wording (`Submit skills for verification`, not `Submit a Skill`)\n- Tab order — `Overview · Edit · Tests · Run · Trigger · Versions`\n- Trust badges — `T1 UNSCANNED`, `Security-Scanned —`, `Trusted Publisher`\n- Filter input — always above `AVAILABLE` in the sidebar\n- Counts — keep them consistent across slides (`PERSONAL (0 of 12)` everywhere, not `(11)` on one slide and `(0 of 12)` on another)\n- Header right-side controls (in this order): `? Find skills [⌘K]` · `+ New Skill` · `● Model selector` · `? bell`\n\n### B. Camera zoom\n\n#### B1. Camera zoom is full-canvas, not section-scaled\n\nDo **not** scale a single panel inside the chrome. Wrap the **entire chrome (top bar + body)** in a transform div and scale + translate that:\n\n```tsx\n\u003Cdiv\n  style={{\n    width: \"100%\",\n    height: \"100%\",\n    transform: `translate(${cameraTx}px, ${cameraTy}px) scale(${cameraScale})`,\n    transformOrigin: \"50% 50%\",\n    willChange: \"transform\",\n  }}\n>\n  {\u002F* TOP BAR + BODY *\u002F}\n\u003C\u002Fdiv>\n```\n\nCursor + click-ripple SVGs go **inside** this wrapper so they scale with the chrome and stay glued to their target.\n\n#### B2. Click first, then zoom\n\nThe viewer needs to see the click target in context, then be transported in for the consequence. Ordering:\n\n```\nframe 130   cursor approaches button\nframe 174   click ripple\nframe 184   button shows \"Running…\"\nframe 188   camera zoom-in starts (1.0 → 1.55+ over ~30 frames)\nframe 220+  zoom held — pass cascade \u002F results \u002F scroll-up reveal happens here\n```\n\nZooming first then clicking feels like a presentation slide. Clicking first then zooming feels like the user did the action and the camera followed.\n\n#### B3. Pick a scale that actually pushes chrome off canvas\n\nA modest 1.1× barely changes anything. For \"the top bar leaves the canvas top,\" you need ≥ 1.5× combined with a translate that brings the focal point to canvas center. Compute target ≥ `(canvasHalfHeight) \u002F (distance from focal point to top bar)` — for a row at y=540 and a 64-px top bar, that's ≥ ~1.5×. Use **1.55–1.85×** as defaults for \"fill the viewport.\"\n\n### C. Cursor click targets\n\n#### C1. Hit the actual element\n\nWhen the cursor lands on the wrong button (`+ New Skill` vs the model-selector pill), the viewer thinks the demo is broken. **Re-derive the target from the layout each time** — don't guess pixel values.\n\nFor a flex right-aligned controls strip with `padding: \"0 22px\"`:\n\n```\n\u002F\u002F Right edge → 22 pad → bell (32) → 14 → model (~290) → 14 → New Skill (~120) → 14 → Find skills (~150)\nNEW_SKILL_PILL_X = 1920 - 22 - 32 - 14 - 290 - 14 - 60   \u002F\u002F = 1488 (button center)\nFIND_PILL_X      = 1920 - 22 - 32 - 14 - 290 - 14 - 120 - 14 - 75  \u002F\u002F = 1339\n```\n\nOnce you have the constant, **use it from both the cursor approach interpolation and the cursor leave interpolation** so the click ripple lands exactly on the pill, not 200 px to the right of it.\n\n#### C2. Highlight the target as the cursor approaches\n\nAdd a `*Active` prop on shared header components (e.g., `findActive`, `newSkillActive` on `StudioHeader`) that the cursor scene flips on for the approach + click window. The button gets:\n\n- 1.08× scale\n- Soft indigo or purple ring via `box-shadow: 0 0 0 4px rgba(99,102,241,0.30)`\n- `transition: all 0.15s ease`\n\n### D. Highlights and rectangles\n\n#### D1. Highlight rectangles are content-width, not full-line\n\nWhen the user wants a red rectangle around two terminal lines, do **not** wrap the parent flex column — that stretches across the row. Use:\n\n```tsx\n\u003Cdiv\n  style={{\n    display: \"inline-flex\",\n    flexDirection: \"column\",\n    alignSelf: \"flex-start\",\n    width: \"fit-content\",\n    border: \"2px solid #dc2626\",\n    borderRadius: 6,\n    padding: \"10px 16px\",\n    backgroundColor: \"transparent\",\n  }}\n>\n  {\u002F* the two lines, nothing more *\u002F}\n\u003C\u002Fdiv>\n```\n\nAnything that should be **outside** the rectangle (e.g., the third \"Generating component…\" line) must be a sibling, not a child.\n\n#### D2. Annotations: prefer rectangles over ellipses\n\nA hand-drawn-style rectangle stroke around a row reads as \"highlighter on the canvas,\" which is what most users mean by \"highlight this.\" An ellipse can feel decorative.\n\n```tsx\n\u003Csvg viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n  \u003Crect\n    x=\"6\" y=\"6\" width=\"988\" height=\"88\" rx=\"6\" ry=\"6\"\n    fill=\"none\"\n    stroke=\"#ea580c\"\n    strokeWidth=\"3.6\"\n    strokeDasharray=\"2160\"\n    strokeDashoffset={2160 * (1 - progress)}\n  \u002F>\n\u003C\u002Fsvg>\n```\n\n#### D3. Use orange (#ea580c) for \"this is what's new\" and red (#dc2626) for \"this is the bug\"\n\nThe same demo can carry both. Don't mix.\n\n### E. Layout patterns for product chrome\n\n#### E1. Studio header is a single shared component\n\nUse one `StudioHeader.tsx` with this canonical layout, called from every Studio scene:\n\n- **Left**: logo image (40 × 40 PNG) + \"Skill Studio\" wordmark + breadcrumb `[Authoring|Available] \u002F [scope] \u002F [folder] \u002F [skill]`\n- **Right**: ? Find skills `[⌘K]` · ✦ + New Skill · ● Model selector · ? Bell\n\nPass `breadcrumb`, `bellBadge`, `findActive`, `newSkillActive` as props. Every scene's header is then pixel-stable.\n\n#### E2. Sidebar has a constant filter input above AVAILABLE\n\nEvery Studio sidebar — Browse, Update, AuthorEvals, ConsumeInstall, AuthorEditAndPublish — gets the same `Filter skills…` input above the AVAILABLE tree. Pre-fill with the in-context query (`frontend-design`) on slides where the user has already searched.\n\n#### E3. Sidebar widths and typography\n\n- Width: **400 px** (or **460 px** on slides with deep nested trees)\n- Outer padding: **24–30 px**\n- Group headers (`AVAILABLE`, `AUTHORING`): **18–19 pt**, letter-spacing 1.6, weight 700\n- Sub-headers (`SKILLS`, `.CLAUDE`): **15–16 pt**, letter-spacing 1.4\n- Row text: **17–19 pt**\n- Version pill: **13–14 pt** mono with 1 px border, padded 3\u002F10\n- Vertical gaps: 12–14 px between sections, 22–36 px above section headers\n\nSkinny dense sidebars feel like Settings panels. Wide-open sidebars feel like real product UI.\n\n### F. State transitions in-place\n\n#### F1. Don't slide-left between scenes that should feel like one screen\n\nIf \"click Install → tree updates with new skill\" should read as one continuous interaction:\n\n- Set `transitionType: null` on the next scene **or** merge the two scenes into one\n- Keep the chrome identical between the scenes\n- Animate the changing element (counter flip, chevron rotate, row slide-in) — don't full-fade\n\n#### F2. Highlight new items strongly\n\nA peach background + 2 px solid orange ring + drop-shadow + `✓ Just installed` callout pill is the right intensity for \"this just landed.\" A subtle background tint reads as default-state and the viewer doesn't notice.\n\n```tsx\nbackgroundColor: \"#fff5ee\",\nboxShadow: `0 0 0 2px ${ORANGE}, 0 8px 22px rgba(234,88,12,0.22)`,\n```\n\n#### F3. Counter flips: pulse halo + chevron rotation\n\nWhen a count changes (`PROJECT (0) → (1)`):\n\n- Rotate the chevron `▸ → ▼` (200 ms transition)\n- Render a brief orange halo behind the count: opacity `0.45 → 0`, scale `0.4 → 2.2` over 18 frames\n- Slide in the new children rows from `translateY: -12 → 0` over 24 frames\n\n### G. Editor \u002F SKILL.md edit patterns\n\n#### G1. Replace, never remove, required fields\n\nA skill must always have a `description`. To upgrade the description: **strikethrough the primitive line in red, slide the new description in below in green**. The skill is never description-less, even mid-animation.\n\n#### G2. Keep version metadata out of editor content\n\n`version` lives in **two** places only:\n\n1. The sidebar pill on the skill row (with optional `↑` sync indicator)\n2. The top-right pill in the main-pane skill-detail header\n\nDo **not** render `version: \"...\"` inside the SKILL.md editor view — that's not where versions are stored, and showing it both there and in the pills creates \"which one is real?\" confusion.\n\n#### G3. Save before Publish, with explanation\n\nAlways: **Save first → version bumps locally → ↑ sync indicator appears in sidebar → user clicks Publish → ✓ replaces ↑**.\n\nAfter the Publish click, render an explanation toast (bottom-right) so the viewer knows what Publish actually does:\n\n> **✓ Publishing — what this does:**\n> 1. `git push → github.com\u002F\u003Cowner>\u002F\u003Crepo>`\n> 2. Opens verified-skill.com \u002F Submit — same repo, re-runs the scan pipeline\n> 3. *v1.0.1 published — registry will index in ~30 s*\n\nStagger the lines: line 2 fades in ~1 s after the click, line 3 ~2 s.\n\n### H. Terminal scenes\n\n#### H1. Real prompt format\n\n```\nantonabyzov@Mac-1255 frontend-design % claude\n```\n\nNo `(base)` conda prefix. Hostname is fine to keep. Use the user's actual workdir name — `~\u002FProjects\u002FTestLab\u002Ffrontend-design` — not a placeholder.\n\n#### H2. Claude Code section cards\n\nReal Claude Code groups tool-call output in subtle cards. Use the canonical style:\n\n```\n●  Skill(frontend-design)\n       ⌐ Successfully loaded skill\n```\n\nWrapped in a content-width rectangle (`width: fit-content`, `align-self: flex-start`) — **do not stretch** the rectangle to the full row width.\n\n#### H3. Show the rendered output, not just the code\n\nAfter Claude finishes typing the markup, fade in a Chrome browser overlay showing what that markup actually renders to. Use the existing `site-good.png` \u002F `site-excellent.png` assets and a verdict ribbon: `● v1.0.0 output — good, but not excellent`. The \"what does AI-slop actually look like\" payoff is the rendered page, not the code block.\n\n#### H4. Larger window, larger type\n\nDefault terminal-window size: **1620–1720 px** wide, **30 pt** mono body text, **44 \u002F 48 \u002F 72 \u002F 48** padding. Title bar: **17 pt**. Traffic dots: **14 px**. Cursor block: **14 × 32 px**. Anything smaller and the viewer can't read prompts at video distance.\n\n### I. Voiceover discipline\n\n#### I1. Regenerate voiceover whenever script.ts changes\n\nThe voiceover is generated from the joined `voiceText` fields of `HACKATHON_SCRIPT`. **If you edit any voiceText, run the generator again** before the next render:\n\n```bash\nELEVENLABS_API_KEY=... node scripts\u002Fgenerate-hackathon-voiceover.mjs --voice sarah\nffmpeg -y -i public\u002Fhackathon-demo\u002Fvoiceover-raw.mp3 \\\n  -af \"loudnorm=I=-16:TP=-1.5:LRA=11\" \\\n  -codec:a libmp3lame -b:a 192k \\\n  public\u002Fhackathon-demo\u002Fvoiceover.mp3\n```\n\nForgetting this step → the rendered MP4's narration doesn't match what's on screen.\n\n#### I2. Voice: Sarah for ElevenLabs\n\nSarah (`EXAVITQu4vr4xnSDxMaL`) reads tech demos cleanly. Stable across long voiceovers. Lock it in:\n\n```js\nconst VOICES = {\n  sarah: { id: \"EXAVITQu4vr4xnSDxMaL\", name: \"Sarah\" },\n  \u002F\u002F ...\n};\n```\n\n#### I3. Audio levels — normalize to −16 LUFS, do NOT double-boost\n\nThe trap: it's tempting to apply `loudnorm` AND `volume=+8dB` to the voiceover.mp3, then ALSO apply `volume=+8dB` to the rendered MP4 \"to be safe\". That's ~16 dB of stacked boost on top of normalization — the result is harsh, peaks clip, and the user will tell you it's \"too loud.\"\n\n**Correct pipeline** (single normalization pass on the voiceover, no post-render boost):\n\n```bash\n# 1. Generate voiceover-raw.mp3 from ElevenLabs\n# 2. Normalize ONLY (target -16 LUFS, the YouTube\u002Fpodcast standard):\nffmpeg -y -i voiceover-raw.mp3 \\\n  -af \"loudnorm=I=-16:TP=-1.5:LRA=11\" \\\n  -ar 44100 -b:a 128k voiceover.mp3\n# 3. Render with Remotion — voiceover plays at volume:1.0 in the composition,\n#    bgm at volume:0.08. Mix sounds natural at -16 LUFS reference.\n# 4. Do NOT post-process the rendered MP4 with volume=+8dB.\n#    Just copy it to public\u002Fhackathon-demo\u002Fout\u002F.\n```\n\nIf you used to apply `+8dB` on the voiceover.mp3 AND `+8dB` on the rendered MP4, drop both. The single `loudnorm` pass is the correct level.\n\nTarget: voice mean ~−16 LUFS, max ~−1.5 dBTP. Music bed at 0.08 volume in Remotion. If the user says \"too loud\", you double-boosted — re-process voiceover.mp3 with `loudnorm` only and re-render (or just copy the un-boosted MP4).\n\n#### I4. Voice end-sync with video — calculate from words, not vibes\n\nThe other voice trap: voice that overflows scenes (drift) or under-fills the video (silent tail). Both feel wrong.\n\n**The math** for ElevenLabs Sarah on `eleven_v3` with em-dash-heavy narration:\n\n```\nsarah_wpm ≈ 122           # measured from prior renders, em-dashes slow it\ntarget_voice_seconds = video_seconds − 5  # 5s buffer at end for clean fade\ntarget_words = target_voice_seconds × sarah_wpm \u002F 60\n```\n\nFor a 184.5s video: target voice ~179s = ~365 words. Distribute proportionally per scene:\n\n```\nscene_word_budget = scene_seconds × sarah_wpm \u002F 60\n                  = scene_seconds × 2.04\n```\n\nA 12s scene gets ~24 words, a 24s scene gets ~49 words. Stay UNDER budget per scene — voice that ends slightly early in a scene reads as breathing room; voice that overflows into the NEXT scene reads as broken.\n\nAfter regenerating, ElevenLabs reports `[done] duration=Xs`. Compare against video duration:\n- If voice > video: you over-wrote. Trim 10-15 words and regen.\n- If voice \u003C video − 8s: you under-wrote. Voice will end too early. Add 10-15 words to the closing scenes.\n- If voice within [video − 8s, video − 2s]: you're in the sweet spot.\n\n**Per-scene drift detection:** if the user says \"voice is way behind by AuthorPublish\" or any mid-video scene, your earlier scenes have too many words. Voice text per scene must each fit within its visual scene duration — no scene's text should take longer to speak than that scene plays.\n\n### J. Render workflow\n\n#### J1. Background-render with a wait-loop\n\nA full-length 1920×1080 demo at 30 fps takes 2–4 minutes. Don't busy-wait inside the agent:\n\n```bash\nnohup npx remotion render src\u002Fremotion\u002Findex.ts \u003CComp> out\u002Fvideo.mp4 \\\n  --concurrency=8 --log=info > \u002Ftmp\u002Frender.log 2>&1 &\n```\n\nThen a polling wait-loop in another `Bash` `run_in_background: true`:\n\n```bash\nuntil [ -f out\u002Fvideo.mp4 ] && ! pgrep -f \"remotion render\" > \u002Fdev\u002Fnull; do sleep 5; done\necho \"RENDER DONE\"\n```\n\nInside the wait-loop, immediately apply the audio boost so the next status report has the final levels.\n\n#### J2. Always type-check after edits\n\n```bash\nnpx tsc --noEmit --jsx preserve --target esnext --module esnext \\\n  --moduleResolution bundler --skipLibCheck --allowSyntheticDefaultImports \\\n  src\u002Fremotion\u002Fscenes\u002F\u003Cedited-files>.tsx\n```\n\nA clean tsc run is cheaper than a 4-minute render that then crashes at frame 286 because of an inverted `interpolate` range.\n\n### K. Things that cost time when skipped\n\n- Letting `interpolate(frame, [a, b], …)` end up with `a > b` from constant arithmetic\n- Setting `position: sticky` on a flex-column child without `width: 100%` (it collapses to content width and the nav looks centered mid-canvas)\n- Forgetting to `Img` import + use `staticFile()` for image assets — direct `src=\"\u002F...\"` paths break in production renders\n- Using `transform-origin: 50% 50%` on a scaled element when `50% 0%` would have been the right anchor for \"grow toward viewer's eye\"\n- Editing `script.ts` without regenerating the voiceover\n- Adding a new scene without updating `HackathonDemo.tsx`'s `SCENE_COMPONENTS` map (renders crash at runtime: `no component registered for scene id \"X\"`)\n- Forgetting to swap `ConsumeInstalled` (or any mid-flow scene) `transitionType` to `null` when it's meant to feel continuous with the previous scene\n\n---\n\n### L. Workflow discipline (render budget)\n\n#### L1. Render only when the user asks for it (HARD RULE)\n\nA full 1920×1080 30 fps demo costs **3–5 minutes of wall-clock + ~5,000 frames of compute + nontrivial tokens** for status updates, frame extractions, and re-verification. **Do NOT render after every edit.** The user pays for every render.\n\n**The rule:**\n- Edit → type-check (`npx tsc --noEmit`) → batch more edits → STOP.\n- Render only when the user explicitly says \"render\", \"let's see it\", \"make a new video\", or similar.\n- During a long iteration, expect to make 5–15 edits between renders. This is normal.\n\n**Why this isn't optional:** Studio HMR (`npx remotion studio`) live-reloads in the browser, so the user can preview specific frames or scenes at zero cost. The full-length render exists for delivery, not for verification of every micro-change.\n\n**The signals to watch for:**\n- ✅ \"render it\", \"render the video\", \"let's see it\", \"ship it\", \"make a new MP4\" → render now.\n- ✅ A long batch of changes lands, tests pass, the user says \"ok\" or moves on → ask before rendering (\"Render now?\").\n- ❌ \"Add another rule to the skill\" → do NOT render. Edit only.\n- ❌ \"Fix the cursor position\" → do NOT render until they ask. Studio HMR shows the fix immediately in their browser.\n- ❌ Any time the user explicitly says \"don't render\", \"save tokens\", \"I'll ask when I'm ready\" → respect it for the rest of the session.\n\n**Anti-pattern:**\n```\nUser: \"Move the popup 20px to the left.\"\nYou: \u003Cedit + render full 167s video>\n```\nThis burns minutes and tokens for a 1-pixel adjustment that the user could have verified in Studio in 1 second.\n\n**Correct pattern:**\n```\nUser: \"Move the popup 20px to the left.\"\nYou: \u003Cedit + tsc + done — wait for next instruction>\n```\n\n#### L2. Batch edits between renders\n\nWhen the user dictates several changes in a row, hold all of them in queue. Land them as edits, type-check, and render once at the end of the batch (and only if the user asks). A typical good cadence:\n\n```\nedit edit edit edit  →  tsc  →  user says \"render\"  →  render once  →  show results\n```\n\n#### L3. Voiceover regeneration is also a \"render\" — only when asked\n\nRegenerating the ElevenLabs voiceover costs API credits and takes ~30s. Same rule applies: only when the user is ready for a new render or explicitly asks to refresh narration.\n\nIf the user makes a script.ts change that affects narration timing, note in the response \"voiceover will need regeneration before next render\" — but do not call ElevenLabs yet.\n\n---\n\n### M. Demo arc — before\u002Fafter with the same prompt\n\nThe strongest demo shape is **same prompt, different output, mediated by a state change in your product**. For Skill Studio that's:\n\n```\nSlide N    : terminal — prompt \"design a hero\" → skill v1.0.0 → AI-slop output\nSlide N+1  : browser — site-good.png with verdict \"v1.0.0 — good, but not excellent\"\n…author edits + publishes v1.0.1…\nSlide M    : terminal — SAME prompt → skill v1.0.1 → editorial output\nSlide M+1  : browser — site-excellent.png with verdict \"v1.0.1 — design has taste\"\n```\n\n**Rules for the after-pair (M, M+1):**\n\n1. **Pixel-mirror the chrome from the before-pair.** Same MacOsMenuBar, same window size, same title-bar tabs, same browser frame dimensions, same URL pattern (`localhost:3000\u002Fhero`). The viewer should read \"this is the same page from earlier\" — only the *content* should differ.\n\n2. **Flip the highlight color.** Where the before-pair had `border: 2px solid #dc2626` (red, \"this is the bug\"), the after-pair uses `border: 2px solid #16a34a` (green, \"this is the fix\"). Keep the rectangle the same shape — content-tight, `display: inline-flex`, `width: fit-content` — so the geometry feels unchanged.\n\n3. **Highlight the new version chip.** The new version (`v1.0.1`) gets a pulsing green pill next to the skill name. Use a slow sine-wave glow `boxShadow: 0 0 ${20 * pulse}px rgba(22,163,74,${0.5 * pulse})` so it reads as \"this is what changed\" without being shouty.\n\n4. **Skip the typing animation for the prompt on the second take.** The viewer recognizes the prompt; making them watch it type a second time is wasted seconds. Render it pre-typed in the highlight block.\n\n5. **Pair with a green verdict ribbon on the browser slide.** Match the red ribbon from the before-state position (bottom-center, pill shape, same typography). Just flip it to green and update the copy: \"v1.0.1 output — design has taste\". The visual rhyme with the earlier ribbon is what makes the payoff land.\n\n6. **Editorial reply tokens get a green underline pulse, the inverse of the red AI-slop pulse.** Pick 3-5 design-system tokens from the new code (`font-serif`, `tracking-widest`, `bg-stone-50`, `font-light`) and pulse them in green — same animation pattern as the bug-red pulse, opposite color, opposite meaning.\n\nThe whole arc reads in one beat: *same prompt + new version → completely different product*. That's the whole product, condensed.\n\n---\n\n### N. Outro polish — feature pills should not look like a bullet list\n\nA flat row of pills with single-glyph icons (`❤ ⌂ ⛨`) reads as \"PowerPoint slide.\" Make them look like a product page:\n\n1. **Inline SVG icons, not unicode glyphs.** Custom 44×44 line-art SVGs in a 84×84 round-square tile. Examples:\n   - Open Source → git-branch (two circles connected by a curved path)\n   - 100% Local → shield with a checkmark\n   - Enterprise-Ready → three stacked diamonds (SSO + audit + scoped)\n\n2. **Each tile gets a colored gradient + glow halo that pulses.** Slow sine wave, slightly out of phase per pill, so they don't bob in unison.\n\n   ```ts\n   const glowPhase = (frame \u002F 75 + i * 0.4) * Math.PI * 2;\n   const glowAmount = (Math.sin(glowPhase) + 1) \u002F 2;\n   boxShadow: `0 0 ${24 * glowAmount}px ${color}66, 0 0 ${48 * glowAmount}px ${color}33`;\n   ```\n\n3. **Hairline accent stripe at the top edge of each card** in the brand color, fading to transparent at both ends with `linear-gradient(90deg, transparent 0%, ${color} 18%, ${color} 82%, transparent 100%)`. This makes the card feel \"tagged\" rather than generic.\n\n4. **Continuous gentle float on each card.** A 3-pixel sine bob with phase offset:\n   ```ts\n   const floatY = Math.sin((frame \u002F 90 + i * 0.5) * Math.PI * 2) * 3;\n   ```\n   This animation alone makes a static slide feel premium.\n\n5. **Soft outer halo ring** behind the icon tile — `radial-gradient(circle, ${color}22, transparent 70%)` at `inset: -8`, opacity tied to the same glow pulse. Subtle but the eye reads it as \"this is real.\"\n\n6. **Bigger, heavier label typography.** `fontSize: 26, fontWeight: 800, letterSpacing: -0.4` — the label should feel as confident as the wordmark above it.\n\nThe trap to avoid: animations that distract from the wordmark and tagline above. Keep the float amplitude ≤ 4px and the glow `0.3 → 1.0` (don't go to zero — it reads as flicker). The pills are a closing reassurance, not the focal point.\n\n---\n\n### O. Reference verification — the screenshot wins over the timestamp\n\nWhen the user says **\"make it like at 3:40 of the YouTube video\"** AND attaches a screenshot in the same message, the **screenshot is the authoritative reference**, not the YouTube timestamp.\n\nIn one session: the user said \"use like it was displayed here — on 3:40 on YouTube\" and pasted a screenshot of their actual Skill Studio detail page. The agent extracted YouTube at 3:40 and got a \"Claude Managed Agents\" slide from a totally unrelated talk — and faithfully copied THAT slide's labels and bullets into the demo. The user was furious: \"Stop hallucinating. You see the image? Or grab the same image from the YouTube video on 3:40.\"\n\n**The rule:**\n1. If the user pasted\u002Fattached an image in the message, that's the reference. Read it carefully (Read tool on the temp file path).\n2. If the user only gave a timestamp, extract that frame from the source video with `ffmpeg -ss N -i ... -frames:v 1 -update 1 -y out.png`.\n3. If both — the **image they pasted** wins. The timestamp may be approximate \u002F a different video \u002F mis-remembered.\n4. If you're unsure which is right, ASK — don't pick the wrong one and copy faithfully.\n\nThis single mistake cost ~15 minutes of round-tripping and one section that had to be completely rewritten. Always check the actual image before adopting \"reference content\".\n\n---\n\n### P. Studio detail-page mirror — the 8-card stats grid pattern\n\nReal product demos benefit from showing the actual product UI as the user sees it. For Skill Studio, that means the **detail page** of an installed skill — not a presentation slide. The pattern (verified against the user's screenshot of the live product):\n\n**Top section (above tabs):**\n```\n.claude › ● PROJECT\nfrontend-design                                      v1.0.0\nanton-abyzov  SKILL.md ↗\nINSTALL METHOD  Copied (independent)\n[ \u002FUsers\u002Fantonabyzov\u002F.claude\u002Fskills\u002Ffrontend-design  ? Copy ]\n? This is an installed copy of the skill. Editing, …  Uninstall\nCheck now\n```\n\n**Tab strip:** Overview · Trigger · Versions (only three on this consumer view; the authoring view adds Tests · Run).\n\n**Overview content:**\n```\nfrontend-design  v1.0.0  COPIED\n— frontend-design · Updated just now\n```\n\n**Stats grid — 4 columns × 2 rows = 8 cards:**\n\n| BENCHMARK | TESTS         | ACTIVATIONS | LAST RUN |\n|-----------|---------------|-------------|----------|\n| —         | 0             | 0           | —        |\n| Never run | 0 assertions  | Never       |          |\n\n| MCP DEPS | SKILL DEPS | SIZE   | LAST MODIFIED            |\n|----------|------------|--------|--------------------------|\n| 0        | 0          | 1.9 KB | just now                 |\n| None     | None       |        | 2026-04-27T02:11:22.424Z |\n\nEach card: tracked-uppercase label (11pt, +1.4 letter-spacing) · mono value (26pt, 700 weight) · sub-line (12pt, muted). LAST MODIFIED uses mono for the timestamp sub-line. Card padding \"16px 18px\", radius 10, surface bg, 1px border, min-height 110.\n\nThis is \"the product, not a slide\" — the viewer sees a real Studio page they could navigate to themselves. Use this pattern any time the user shows you a screenshot of the live product they want mirrored.\n\n---\n\n### Q. Cursor-meets-button geometry — re-derive, don't guess\n\nCursor click moments fail visually when the cursor floats near but doesn't TOUCH the button. The fix is geometry, not iteration:\n\n**1. Derive button position from layout, not from a render.**\n\nLayout math example (Generate Skill button in AuthorCreate, behind a 1.18× camera zoom anchored at bottom-center):\n\n```\nsidebar_width = 320\nmain_pane_padding_left = 36\nbutton_left_unzoomed   = 320 + 36 = 356\nbutton_width           = 244       # padding(22) + ✨(20) + gap(8) + text + padding(22)\nbutton_center_unzoomed_x = 356 + 122 = 478\n\n# Camera transform: scale(1.18) transformOrigin: 50% 100%\nbutton_center_x_zoomed = 960 + (478 − 960) × 1.18 = 391\nbutton_center_y_zoomed = 1080 + (button_y_unzoomed − 1080) × 1.18\n```\n\n**2. Account for the cursor SVG tip offset.**\n\nThe standard arrow-cursor SVG has its visible tip at offset `(3, 2)` within its 26×32 bounding box. To land the tip ON the button center, the SVG top-left must be at `(button_cx − 3, button_cy − 2)`.\n\n**3. Rule of thumb for camera-zoomed scenes:** put the cursor OUTSIDE the camera-zoom wrapper (so its coordinates are canvas-space), and apply the inverse-of-zoom math above to find the canvas-space landing target.\n\n**4. Verify with one frame extraction**, not a full render. Once you've placed the cursor:\n\n```bash\nffmpeg -ss \u003Cclick_seconds> -i video.mp4 -frames:v 1 -update 1 -y check.png\n```\n\nRead the PNG. If cursor isn't ON the button, fix the math BEFORE re-rendering the whole video.\n\n---\n\n### R. Connection-line aesthetics — bold, not subtle\n\nLines that represent \"X is connected to Y\" (install arrows, sync indicators, anything edge-like) should be **bold and energized** when active, not 1-2 pixels of 50% alpha. Subtle reads as \"this might be a hairline gridline\" — exactly the wrong message.\n\n**Active \u002F connected (green):**\n- Height: **4px** (not 2px)\n- Color: `rgba(34, 197, 94, 0.95)` (not 0.55)\n- borderRadius: 2\n- Glow: double-stack `boxShadow: 0 0 10px rgba(34, 197, 94, 0.65), 0 0 20px rgba(34, 197, 94, 0.35)`\n\n**Broken \u002F disconnected (red, dashed):**\n- Same height\n- Repeating linear-gradient for dash effect: `repeating-linear-gradient(90deg, rgba(239,68,68,0.6) 0 8px, transparent 8px 16px)`\n- Glow that grows with the break-progress: `0 0 8px rgba(239, 68, 68, 0.6)`\n\nThe contrast between bold-green-active and dashed-red-broken is the visual story. If the active line is too thin, the break doesn't read as dramatic — it reads as \"the line just got slightly redder.\"\n\n---\n\n### S. YouTube publication kit — what to add when shipping a hackathon demo\n\nWhen the demo is rendered, the next step is publishing. Before uploading, prepare:\n\n#### S1. Chapter timestamps from script.ts\n\nCompute chapters by walking `HACKATHON_SCRIPT` and accumulating effective frames (raw frames minus `HACKATHON_TRANSITION_FRAMES` per non-null transition):\n\n```ts\nlet runningEffective = 0;\nfor (const scene of HACKATHON_SCRIPT) {\n  const startSec = runningEffective \u002F HACKATHON_FPS;\n  \u002F\u002F emit \"M:SS  \u003Cchapter title from scene.caption or visualNotes>\"\n  runningEffective += scene.durationFrames;\n  if (scene.transitionType !== null && !isLast) {\n    runningEffective -= HACKATHON_TRANSITION_FRAMES;\n  }\n}\n```\n\nYouTube chapter rules:\n- First chapter MUST be `0:00`\n- Minimum 3 chapters\n- Each chapter ≥ 10 seconds — merge or drop short scenes (e.g., a 4s BrandReveal merges into the previous Hook chapter; an 8s Outro can be dropped from the chapter list since the description still ends with the CTA)\n- Title format: action-oriented, present tense, ≤40 chars (\"Edit, save, publish v1.0.1\" beats \"AuthorEditAndPublish scene\")\n\n#### S2. Description structure (1500–2500 chars)\n\n```\n[Hook line 1 — punchy problem statement, ≤80 chars]\n[Hook line 2 — the fix, ≤80 chars]\n\n[3-4 lines: what this is, why it matters]\n\nTry it now:\n$ npx vskill@latest studio\nWeb: https:\u002F\u002Fverified-skill.com\n\n? Links\nGitHub:        https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\nRegistry:      https:\u002F\u002Fverified-skill.com\n…\n\n⏱️ Chapters\n0:00 …\n0:21 …\n…\n\n?️ Built with\nAnthropic Skills API · Claude Opus 4.7 · Remotion 4.0 · ElevenLabs · Next.js · Cloudflare Workers · Prisma\n\nAbout the author\n[1-line author bio]\n\n#ClaudeCode #AnthropicSkills #DevTools #OpenSource #BuiltWithClaude\n```\n\nThe first two lines must fit in YouTube's above-fold preview (~150 chars).\n\n#### S3. Title, tags, hashtags\n\n- **Title** ≤60 chars, dev-direct (not clickbait): `I built a Claude Code Skills manager with Opus 4.7` works; `? You won't BELIEVE what I made…` doesn't.\n- **Tags** (15-20): primary keyword first (\"claude code\"), then variants, then long-tail.\n- **Hashtags** (3-5 above title): `#ClaudeCode #Opus47 #BuiltWithClaude #AITools #OpenSource`. Verify any hackathon-mandated hashtag from the official submission portal — don't invent.\n\n#### S4. Thumbnail\n\n- 1920×1080\n- Left third: face (mid-expression, not exaggerated). Dev-tool demos with builder face still outperform faceless thumbnails in 2026.\n- Right two-thirds: hero UI screenshot\n- Primary text overlay ≤4 words, top-right, white with black stroke\n- Brand color accent (e.g., Anthropic-adjacent #D97757) on a small badge\n- Keep face + text out of the bottom 15% (player overlays cover that)\n\n#### S5. Hackathon submission verification\n\nBefore submitting:\n- Confirm the deadline UTC inside the official participant portal — don't trust third-party recaps\n- Confirm any mandated hashtag (and use it verbatim in social posts)\n- Verify judge handles before tagging — don't fabricate\n\nIf the hackathon page is gated to authenticated viewers, say so honestly in the publish kit and ask the user to copy details from their dashboard.\n\n---\n\n## Appendix — File-shape cheat sheet for a hackathon demo\n\n```\nsrc\u002Fremotion\u002F\n  index.ts                   ← entry point (calls registerRoot)\n  Root.tsx                   ← \u003CComposition id=\"...\" component={...} \u002F>\n  HackathonDemo.tsx          ← top-level: TransitionSeries + Audio (bgm + voiceover)\n  scenes\u002Fhackathon\u002F\n    script.ts                ← single source of truth: id, durationFrames,\n                               transitionType, voiceText, caption, visualNotes\n    StudioHeader.tsx         ← shared canonical Studio chrome\n    Hook.tsx, Brand.tsx,\n    Browse.tsx, AuthorCreate.tsx, AuthorEvals.tsx, AuthorPublish.tsx,\n    ConsumeInstall.tsx, ConsumeBugSurface.tsx,\n    AuthorEditAndPublish.tsx,\n    Update.tsx (= UpdateButton scene with bell-popup prelude),\n    ConsumeReuseUpdated.tsx, ConsumeBrowserExcellent.tsx, Outro.tsx\n    uiTokens.ts              ← STUDIO_LIGHT, VERIFIED_DARK, TERMINAL_UI, FONTS\npublic\u002Fhackathon-demo\u002F\n  skill-studio-logo.png      ← bell-badge logo, used by every Studio scene\n  bgm.mp3                    ← background music\n  voiceover.mp3              ← normalized + boosted, generated from script.ts\n  voiceover-raw.mp3          ← raw output from ElevenLabs (kept for re-normalization)\n  site-good.png, site-excellent.png  ← rendered-page screenshots for browser overlays\n  provider-icons\u002F*.png       ← real Claude\u002FAnthropic\u002FOpenAI\u002Fetc. icons\nscripts\u002F\n  generate-hackathon-voiceover.mjs   ← reads script.ts voiceTexts, joins them,\n                                       calls ElevenLabs, writes voiceover-raw.mp3\nout\u002F\n  hackathon-demo.mp4         ← final, audio-boosted MP4\n```\n\nThe script.ts entry shape:\n\n```ts\n{\n  id: \"AuthorEditAndPublish\",\n  durationFrames: 450,        \u002F\u002F 15 s @ 30 fps\n  transitionType: \"fade\",     \u002F\u002F \"fade\" | \"slide-left\" | \"slide-right\" | null\n  voiceText:\n    \"The author opens the Edit tab on frontend-design, strikes the primitive description, and pastes real design rules…\",\n  caption: \"Edit · Save (local) · Publish (registry)\",\n  visualNotes:\n    \"Mirrors at-243s. Studio chrome with breadcrumb Authoring\u002Fskills\u002Ffrontend-design...\",\n}\n```\n\nKeep `voiceText` and `visualNotes` honest — they regenerate the audio and document the design intent. Future iterations rely on them.\n\n---\n\n## Final reminder\n\nThe thing that turns a Remotion composition from \"looks like a slideshow\" into \"looks like the product\" is **fidelity to references and consistency across scenes**. Don't approximate. Pull the keyframe, study it, match it. Reuse the same `StudioHeader`, the same sidebar widths, the same counts, the same logo, the same red-for-bug \u002F orange-for-new color discipline. When you do that, the viewer's brain stops noticing the video as a video and starts watching the product.\n","# \u002Fremotion-best-practices\n\nUse this skill any time you are writing a Remotion composition — animated demo videos, product walkthroughs, hackathon submissions, narrated presentations — anything rendered to MP4 via `npx remotion render`.\n\nThe skill bundles two layers of knowledge:\n\n1. **Remotion fundamentals** — the upstream rule files maintained by the Remotion team at `github.com\u002Fremotion-dev\u002Fskills` (compositions, animations, fonts, audio, transitions, FFmpeg, captions, etc.).\n2. **Demo-video craft rules** — lessons captured from a long iteration cycle building the vskill \u002F Skill Studio hackathon demo. These are the rules that, when broken, produce a \"slideshow\" instead of a believable product walkthrough.\n\nRead both layers before authoring.\n\n---\n\n## Scope and applicability\n\n> **The Layer 2 craft rules below were derived from one specific project: the\n> vskill \u002F Skill Studio hackathon demo (Anthropic \u002F Claude Code \"Built with\n> Opus\" hackathon, April 2026).** They reflect the look-and-feel of *that*\n> product — Studio chrome with breadcrumb header, sidebar tree, dark\n> verified-skill.com pages with mono fonts, terminal scenes, an editorial\n> \"Inter is AI-slop, distinctive serif is excellence\" thesis.\n>\n> **Do not apply these rules verbatim to unrelated demos.** A\n> consumer-mobile, a finance dashboard, a game, or a B2B SaaS pitch will\n> have its own visual language, its own pacing, and its own audience\n> expectations. A Save-then-Publish flow, a `verified-skill.com\u002Fqueue` page,\n> or a Studio sidebar with PROJECT\u002FPERSONAL\u002FPLUGINS counts is *content*, not\n> *craft*.\n>\n> **Use this layer as a reference for the underlying technique:**\n> the camera-zoom pattern, the cursor-targeting discipline, the\n> content-tight highlight rectangle, the in-place state transitions, the\n> voiceover\u002Fscript.ts coupling, the render+audio-boost pipeline — those\n> generalize. The exact constants (1.72× zoom, x=1488 button center,\n> v1.0.0 → v1.0.1 version pill, \"Tier-1 patterns · Tier-2 LLM · Socket\"\n> attribution) are Skill Studio specifics — translate, do not copy.\n\n---\n\n## Layer 1 — Remotion fundamentals\n\nMirrors the upstream `remotion-best-practices` skill at `https:\u002F\u002Fgithub.com\u002Fremotion-dev\u002Fskills\u002Fblob\u002FHEAD\u002Fskills\u002Fremotion\u002FSKILL.md`.\n\n### New project setup\n\nWhen in an empty folder or workspace with no existing Remotion project, scaffold one using:\n\n```bash\nnpx create-video@latest --yes --blank --no-tailwind my-video\n```\n\n### Starting preview\n\nStart the Remotion Studio to preview a video. **Studio HMR live-reloads as files change** — you do NOT need a separate `preview_start` mechanism, and `Bash` `run_in_background` is the right way to keep it alive across edits.\n\n```bash\nnpx remotion studio --port=3030\n```\n\n### Rendering\n\n```bash\n# Entry point must be the file that calls registerRoot() (usually src\u002Fremotion\u002Findex.ts)\nnpx remotion render src\u002Fremotion\u002Findex.ts \u003CCompositionId> out\u002Fvideo.mp4 --concurrency=8 --log=info\n```\n\nCommon gotchas:\n\n- Passing `Root.tsx` as entry → error: *\"this file does not contain registerRoot\"*. Use `index.ts`.\n- `TransitionSeries` does prop introspection on direct children; do **not** wrap children in `\u003CReact.Fragment>`. Use `flatMap` returning a flat array of `\u003CTransitionSeries.Sequence>` and `\u003CTransitionSeries.Transition>` elements.\n- `interpolate(frame, [a, b], …)` requires `a \u003C b` strictly. If you derive `b` from constants, sanity-check at scene-budget design time — Remotion throws *\"inputRange must be strictly monotonically increasing\"* on the very first evaluated frame and the whole composition fails to load.\n\n### One-frame render check\n\n```bash\nnpx remotion still \u003Ccomposition-id> --scale=0.25 --frame=30\n```\n\n### Subjects covered by the upstream rule files\n\n(Load on demand from the upstream skill repo — `github.com\u002Fremotion-dev\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fremotion\u002Frules\u002F`.)\n\n- `compositions.md` — Defining compositions, stills, folders, default props, dynamic metadata\n- `animations.md` — `interpolate`, `spring`, easing, frame-based math\n- `transitions.md` — `@remotion\u002Ftransitions` (fade, slide, wipe), how to chain them inside `TransitionSeries`\n- `assets.md` — `staticFile()`, `Img`, `Audio`, `Video`, font loading\n- `fonts.md` — `@remotion\u002Fgoogle-fonts` and local font registration\n- `audio.md` — Importing, trimming, volume, speed, pitch\n- `captions.md`, `subtitles.md` — Caption tracks and sync\n- `ffmpeg.md` — Trimming, concat, audio operations via FFmpeg shell-out\n- `silence-detection.md`, `extract-frames.md`, `get-audio-duration.md`, `get-video-duration.md` — Mediabunny utilities\n- `charts.md`, `gifs.md`, `light-leaks.md`, `3d.md` — Specialized rendering recipes\n\n---\n\n## Layer 2 — Demo-video craft rules\n\nThese are the rules earned over a long iteration cycle. **Treat them as defaults, not optional polish** — most of them came from \"this looks weird, fix it\" feedback that took multiple rounds to resolve.\n\n### A. Reference fidelity\n\n#### A1. Always pull the real reference\n\nIf the user says \"make it look like 2:43 of this YouTube video,\" extract the frame and study it. **Don't approximate from memory.**\n\n```bash\nSOURCE=\"\u002FUsers\u002Fantonabyzov\u002FMovies\u002F...\u002FSource.mov\"\nDEST_DIR=\".specweave\u002F...\u002Fassets\u002Fkeyframes\"\nfor t in 102 105 108 110 112; do\n  ffmpeg -y -ss \"$t\" -i \"$SOURCE\" -frames:v 1 -q:v 2 \"$DEST_DIR\u002Fat-${t}s.jpg\" -loglevel error\ndone\n```\n\nThen `Read` each JPG and design from what's actually on screen — typography, exact button labels, badge colors, sidebar tree layout, search-input positioning, count values (e.g. `PROJECT (1)`, `PERSONAL (0 of 12)`, `PLUGINS (0 of 50)`, `AVAILABLE (62)`).\n\n#### A2. Use real logos and icons, not approximations\n\n- **Bell-badge `skill-studio-logo.png`** — copy into every Studio scene as `\u003CImg src={staticFile(\"...\")} \u002F>`. Don't render a `✷` glyph and call it a logo.\n- **Provider icons** — fetch the real SVG\u002FPNG for Claude, Anthropic, OpenAI, OpenRouter, Ollama, LM Studio (e.g., from `lobehub\u002Fstatic-png`). Don't substitute emoji.\n- **Mascots** — draw with styled divs to match shape exactly. The Claude Code mascot is a peach-`#e08160` body with two square eyes, **two side hand-nubs at mid-body**, and **two pairs of legs underneath** (`▪ ▪    ▪ ▪`). Not ASCII art.\n- **App-window chrome** — when showing a website in a \"Chrome browser\", render a real Chrome browser frame: rounded corners, traffic-light dots, ‹ › ↻ nav, locked-padlock URL bar with a real URL (`localhost:3000\u002Fhero`, no extra spaces, no middle dot).\n\n#### A3. Match YouTube reference layouts pixel-for-pixel\n\nBefore redesigning a scene from imagination, list the visible elements in the reference frame and check each one against your output:\n\n- Banner text — exact wording (`Submit skills for verification`, not `Submit a Skill`)\n- Tab order — `Overview · Edit · Tests · Run · Trigger · Versions`\n- Trust badges — `T1 UNSCANNED`, `Security-Scanned —`, `Trusted Publisher`\n- Filter input — always above `AVAILABLE` in the sidebar\n- Counts — keep them consistent across slides (`PERSONAL (0 of 12)` everywhere, not `(11)` on one slide and `(0 of 12)` on another)\n- Header right-side controls (in this order): `? Find skills [⌘K]` · `+ New Skill` · `● Model selector` · `? bell`\n\n### B. Camera zoom\n\n#### B1. Camera zoom is full-canvas, not section-scaled\n\nDo **not** scale a single panel inside the chrome. Wrap the **entire chrome (top bar + body)** in a transform div and scale + translate that:\n\n```tsx\n\u003Cdiv\n  style={{\n    width: \"100%\",\n    height: \"100%\",\n    transform: `translate(${cameraTx}px, ${cameraTy}px) scale(${cameraScale})`,\n    transformOrigin: \"50% 50%\",\n    willChange: \"transform\",\n  }}\n>\n  {\u002F* TOP BAR + BODY *\u002F}\n\u003C\u002Fdiv>\n```\n\nCursor + click-ripple SVGs go **inside** this wrapper so they scale with the chrome and stay glued to their target.\n\n#### B2. Click first, then zoom\n\nThe viewer needs to see the click target in context, then be transported in for the consequence. Ordering:\n\n```\nframe 130   cursor approaches button\nframe 174   click ripple\nframe 184   button shows \"Running…\"\nframe 188   camera zoom-in starts (1.0 → 1.55+ over ~30 frames)\nframe 220+  zoom held — pass cascade \u002F results \u002F scroll-up reveal happens here\n```\n\nZooming first then clicking feels like a presentation slide. Clicking first then zooming feels like the user did the action and the camera followed.\n\n#### B3. Pick a scale that actually pushes chrome off canvas\n\nA modest 1.1× barely changes anything. For \"the top bar leaves the canvas top,\" you need ≥ 1.5× combined with a translate that brings the focal point to canvas center. Compute target ≥ `(canvasHalfHeight) \u002F (distance from focal point to top bar)` — for a row at y=540 and a 64-px top bar, that's ≥ ~1.5×. Use **1.55–1.85×** as defaults for \"fill the viewport.\"\n\n### C. Cursor click targets\n\n#### C1. Hit the actual element\n\nWhen the cursor lands on the wrong button (`+ New Skill` vs the model-selector pill), the viewer thinks the demo is broken. **Re-derive the target from the layout each time** — don't guess pixel values.\n\nFor a flex right-aligned controls strip with `padding: \"0 22px\"`:\n\n```\n\u002F\u002F Right edge → 22 pad → bell (32) → 14 → model (~290) → 14 → New Skill (~120) → 14 → Find skills (~150)\nNEW_SKILL_PILL_X = 1920 - 22 - 32 - 14 - 290 - 14 - 60   \u002F\u002F = 1488 (button center)\nFIND_PILL_X      = 1920 - 22 - 32 - 14 - 290 - 14 - 120 - 14 - 75  \u002F\u002F = 1339\n```\n\nOnce you have the constant, **use it from both the cursor approach interpolation and the cursor leave interpolation** so the click ripple lands exactly on the pill, not 200 px to the right of it.\n\n#### C2. Highlight the target as the cursor approaches\n\nAdd a `*Active` prop on shared header components (e.g., `findActive`, `newSkillActive` on `StudioHeader`) that the cursor scene flips on for the approach + click window. The button gets:\n\n- 1.08× scale\n- Soft indigo or purple ring via `box-shadow: 0 0 0 4px rgba(99,102,241,0.30)`\n- `transition: all 0.15s ease`\n\n### D. Highlights and rectangles\n\n#### D1. Highlight rectangles are content-width, not full-line\n\nWhen the user wants a red rectangle around two terminal lines, do **not** wrap the parent flex column — that stretches across the row. Use:\n\n```tsx\n\u003Cdiv\n  style={{\n    display: \"inline-flex\",\n    flexDirection: \"column\",\n    alignSelf: \"flex-start\",\n    width: \"fit-content\",\n    border: \"2px solid #dc2626\",\n    borderRadius: 6,\n    padding: \"10px 16px\",\n    backgroundColor: \"transparent\",\n  }}\n>\n  {\u002F* the two lines, nothing more *\u002F}\n\u003C\u002Fdiv>\n```\n\nAnything that should be **outside** the rectangle (e.g., the third \"Generating component…\" line) must be a sibling, not a child.\n\n#### D2. Annotations: prefer rectangles over ellipses\n\nA hand-drawn-style rectangle stroke around a row reads as \"highlighter on the canvas,\" which is what most users mean by \"highlight this.\" An ellipse can feel decorative.\n\n```tsx\n\u003Csvg viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n  \u003Crect\n    x=\"6\" y=\"6\" width=\"988\" height=\"88\" rx=\"6\" ry=\"6\"\n    fill=\"none\"\n    stroke=\"#ea580c\"\n    strokeWidth=\"3.6\"\n    strokeDasharray=\"2160\"\n    strokeDashoffset={2160 * (1 - progress)}\n  \u002F>\n\u003C\u002Fsvg>\n```\n\n#### D3. Use orange (#ea580c) for \"this is what's new\" and red (#dc2626) for \"this is the bug\"\n\nThe same demo can carry both. Don't mix.\n\n### E. Layout patterns for product chrome\n\n#### E1. Studio header is a single shared component\n\nUse one `StudioHeader.tsx` with this canonical layout, called from every Studio scene:\n\n- **Left**: logo image (40 × 40 PNG) + \"Skill Studio\" wordmark + breadcrumb `[Authoring|Available] \u002F [scope] \u002F [folder] \u002F [skill]`\n- **Right**: ? Find skills `[⌘K]` · ✦ + New Skill · ● Model selector · ? Bell\n\nPass `breadcrumb`, `bellBadge`, `findActive`, `newSkillActive` as props. Every scene's header is then pixel-stable.\n\n#### E2. Sidebar has a constant filter input above AVAILABLE\n\nEvery Studio sidebar — Browse, Update, AuthorEvals, ConsumeInstall, AuthorEditAndPublish — gets the same `Filter skills…` input above the AVAILABLE tree. Pre-fill with the in-context query (`frontend-design`) on slides where the user has already searched.\n\n#### E3. Sidebar widths and typography\n\n- Width: **400 px** (or **460 px** on slides with deep nested trees)\n- Outer padding: **24–30 px**\n- Group headers (`AVAILABLE`, `AUTHORING`): **18–19 pt**, letter-spacing 1.6, weight 700\n- Sub-headers (`SKILLS`, `.CLAUDE`): **15–16 pt**, letter-spacing 1.4\n- Row text: **17–19 pt**\n- Version pill: **13–14 pt** mono with 1 px border, padded 3\u002F10\n- Vertical gaps: 12–14 px between sections, 22–36 px above section headers\n\nSkinny dense sidebars feel like Settings panels. Wide-open sidebars feel like real product UI.\n\n### F. State transitions in-place\n\n#### F1. Don't slide-left between scenes that should feel like one screen\n\nIf \"click Install → tree updates with new skill\" should read as one continuous interaction:\n\n- Set `transitionType: null` on the next scene **or** merge the two scenes into one\n- Keep the chrome identical between the scenes\n- Animate the changing element (counter flip, chevron rotate, row slide-in) — don't full-fade\n\n#### F2. Highlight new items strongly\n\nA peach background + 2 px solid orange ring + drop-shadow + `✓ Just installed` callout pill is the right intensity for \"this just landed.\" A subtle background tint reads as default-state and the viewer doesn't notice.\n\n```tsx\nbackgroundColor: \"#fff5ee\",\nboxShadow: `0 0 0 2px ${ORANGE}, 0 8px 22px rgba(234,88,12,0.22)`,\n```\n\n#### F3. Counter flips: pulse halo + chevron rotation\n\nWhen a count changes (`PROJECT (0) → (1)`):\n\n- Rotate the chevron `▸ → ▼` (200 ms transition)\n- Render a brief orange halo behind the count: opacity `0.45 → 0`, scale `0.4 → 2.2` over 18 frames\n- Slide in the new children rows from `translateY: -12 → 0` over 24 frames\n\n### G. Editor \u002F SKILL.md edit patterns\n\n#### G1. Replace, never remove, required fields\n\nA skill must always have a `description`. To upgrade the description: **strikethrough the primitive line in red, slide the new description in below in green**. The skill is never description-less, even mid-animation.\n\n#### G2. Keep version metadata out of editor content\n\n`version` lives in **two** places only:\n\n1. The sidebar pill on the skill row (with optional `↑` sync indicator)\n2. The top-right pill in the main-pane skill-detail header\n\nDo **not** render `version: \"...\"` inside the SKILL.md editor view — that's not where versions are stored, and showing it both there and in the pills creates \"which one is real?\" confusion.\n\n#### G3. Save before Publish, with explanation\n\nAlways: **Save first → version bumps locally → ↑ sync indicator appears in sidebar → user clicks Publish → ✓ replaces ↑**.\n\nAfter the Publish click, render an explanation toast (bottom-right) so the viewer knows what Publish actually does:\n\n> **✓ Publishing — what this does:**\n> 1. `git push → github.com\u002F\u003Cowner>\u002F\u003Crepo>`\n> 2. Opens verified-skill.com \u002F Submit — same repo, re-runs the scan pipeline\n> 3. *v1.0.1 published — registry will index in ~30 s*\n\nStagger the lines: line 2 fades in ~1 s after the click, line 3 ~2 s.\n\n### H. Terminal scenes\n\n#### H1. Real prompt format\n\n```\nantonabyzov@Mac-1255 frontend-design % claude\n```\n\nNo `(base)` conda prefix. Hostname is fine to keep. Use the user's actual workdir name — `~\u002FProjects\u002FTestLab\u002Ffrontend-design` — not a placeholder.\n\n#### H2. Claude Code section cards\n\nReal Claude Code groups tool-call output in subtle cards. Use the canonical style:\n\n```\n●  Skill(frontend-design)\n       ⌐ Successfully loaded skill\n```\n\nWrapped in a content-width rectangle (`width: fit-content`, `align-self: flex-start`) — **do not stretch** the rectangle to the full row width.\n\n#### H3. Show the rendered output, not just the code\n\nAfter Claude finishes typing the markup, fade in a Chrome browser overlay showing what that markup actually renders to. Use the existing `site-good.png` \u002F `site-excellent.png` assets and a verdict ribbon: `● v1.0.0 output — good, but not excellent`. The \"what does AI-slop actually look like\" payoff is the rendered page, not the code block.\n\n#### H4. Larger window, larger type\n\nDefault terminal-window size: **1620–1720 px** wide, **30 pt** mono body text, **44 \u002F 48 \u002F 72 \u002F 48** padding. Title bar: **17 pt**. Traffic dots: **14 px**. Cursor block: **14 × 32 px**. Anything smaller and the viewer can't read prompts at video distance.\n\n### I. Voiceover discipline\n\n#### I1. Regenerate voiceover whenever script.ts changes\n\nThe voiceover is generated from the joined `voiceText` fields of `HACKATHON_SCRIPT`. **If you edit any voiceText, run the generator again** before the next render:\n\n```bash\nELEVENLABS_API_KEY=... node scripts\u002Fgenerate-hackathon-voiceover.mjs --voice sarah\nffmpeg -y -i public\u002Fhackathon-demo\u002Fvoiceover-raw.mp3 \\\n  -af \"loudnorm=I=-16:TP=-1.5:LRA=11\" \\\n  -codec:a libmp3lame -b:a 192k \\\n  public\u002Fhackathon-demo\u002Fvoiceover.mp3\n```\n\nForgetting this step → the rendered MP4's narration doesn't match what's on screen.\n\n#### I2. Voice: Sarah for ElevenLabs\n\nSarah (`EXAVITQu4vr4xnSDxMaL`) reads tech demos cleanly. Stable across long voiceovers. Lock it in:\n\n```js\nconst VOICES = {\n  sarah: { id: \"EXAVITQu4vr4xnSDxMaL\", name: \"Sarah\" },\n  \u002F\u002F ...\n};\n```\n\n#### I3. Audio levels — normalize to −16 LUFS, do NOT double-boost\n\nThe trap: it's tempting to apply `loudnorm` AND `volume=+8dB` to the voiceover.mp3, then ALSO apply `volume=+8dB` to the rendered MP4 \"to be safe\". That's ~16 dB of stacked boost on top of normalization — the result is harsh, peaks clip, and the user will tell you it's \"too loud.\"\n\n**Correct pipeline** (single normalization pass on the voiceover, no post-render boost):\n\n```bash\n# 1. Generate voiceover-raw.mp3 from ElevenLabs\n# 2. Normalize ONLY (target -16 LUFS, the YouTube\u002Fpodcast standard):\nffmpeg -y -i voiceover-raw.mp3 \\\n  -af \"loudnorm=I=-16:TP=-1.5:LRA=11\" \\\n  -ar 44100 -b:a 128k voiceover.mp3\n# 3. Render with Remotion — voiceover plays at volume:1.0 in the composition,\n#    bgm at volume:0.08. Mix sounds natural at -16 LUFS reference.\n# 4. Do NOT post-process the rendered MP4 with volume=+8dB.\n#    Just copy it to public\u002Fhackathon-demo\u002Fout\u002F.\n```\n\nIf you used to apply `+8dB` on the voiceover.mp3 AND `+8dB` on the rendered MP4, drop both. The single `loudnorm` pass is the correct level.\n\nTarget: voice mean ~−16 LUFS, max ~−1.5 dBTP. Music bed at 0.08 volume in Remotion. If the user says \"too loud\", you double-boosted — re-process voiceover.mp3 with `loudnorm` only and re-render (or just copy the un-boosted MP4).\n\n#### I4. Voice end-sync with video — calculate from words, not vibes\n\nThe other voice trap: voice that overflows scenes (drift) or under-fills the video (silent tail). Both feel wrong.\n\n**The math** for ElevenLabs Sarah on `eleven_v3` with em-dash-heavy narration:\n\n```\nsarah_wpm ≈ 122           # measured from prior renders, em-dashes slow it\ntarget_voice_seconds = video_seconds − 5  # 5s buffer at end for clean fade\ntarget_words = target_voice_seconds × sarah_wpm \u002F 60\n```\n\nFor a 184.5s video: target voice ~179s = ~365 words. Distribute proportionally per scene:\n\n```\nscene_word_budget = scene_seconds × sarah_wpm \u002F 60\n                  = scene_seconds × 2.04\n```\n\nA 12s scene gets ~24 words, a 24s scene gets ~49 words. Stay UNDER budget per scene — voice that ends slightly early in a scene reads as breathing room; voice that overflows into the NEXT scene reads as broken.\n\nAfter regenerating, ElevenLabs reports `[done] duration=Xs`. Compare against video duration:\n- If voice > video: you over-wrote. Trim 10-15 words and regen.\n- If voice \u003C video − 8s: you under-wrote. Voice will end too early. Add 10-15 words to the closing scenes.\n- If voice within [video − 8s, video − 2s]: you're in the sweet spot.\n\n**Per-scene drift detection:** if the user says \"voice is way behind by AuthorPublish\" or any mid-video scene, your earlier scenes have too many words. Voice text per scene must each fit within its visual scene duration — no scene's text should take longer to speak than that scene plays.\n\n### J. Render workflow\n\n#### J1. Background-render with a wait-loop\n\nA full-length 1920×1080 demo at 30 fps takes 2–4 minutes. Don't busy-wait inside the agent:\n\n```bash\nnohup npx remotion render src\u002Fremotion\u002Findex.ts \u003CComp> out\u002Fvideo.mp4 \\\n  --concurrency=8 --log=info > \u002Ftmp\u002Frender.log 2>&1 &\n```\n\nThen a polling wait-loop in another `Bash` `run_in_background: true`:\n\n```bash\nuntil [ -f out\u002Fvideo.mp4 ] && ! pgrep -f \"remotion render\" > \u002Fdev\u002Fnull; do sleep 5; done\necho \"RENDER DONE\"\n```\n\nInside the wait-loop, immediately apply the audio boost so the next status report has the final levels.\n\n#### J2. Always type-check after edits\n\n```bash\nnpx tsc --noEmit --jsx preserve --target esnext --module esnext \\\n  --moduleResolution bundler --skipLibCheck --allowSyntheticDefaultImports \\\n  src\u002Fremotion\u002Fscenes\u002F\u003Cedited-files>.tsx\n```\n\nA clean tsc run is cheaper than a 4-minute render that then crashes at frame 286 because of an inverted `interpolate` range.\n\n### K. Things that cost time when skipped\n\n- Letting `interpolate(frame, [a, b], …)` end up with `a > b` from constant arithmetic\n- Setting `position: sticky` on a flex-column child without `width: 100%` (it collapses to content width and the nav looks centered mid-canvas)\n- Forgetting to `Img` import + use `staticFile()` for image assets — direct `src=\"\u002F...\"` paths break in production renders\n- Using `transform-origin: 50% 50%` on a scaled element when `50% 0%` would have been the right anchor for \"grow toward viewer's eye\"\n- Editing `script.ts` without regenerating the voiceover\n- Adding a new scene without updating `HackathonDemo.tsx`'s `SCENE_COMPONENTS` map (renders crash at runtime: `no component registered for scene id \"X\"`)\n- Forgetting to swap `ConsumeInstalled` (or any mid-flow scene) `transitionType` to `null` when it's meant to feel continuous with the previous scene\n\n---\n\n### L. Workflow discipline (render budget)\n\n#### L1. Render only when the user asks for it (HARD RULE)\n\nA full 1920×1080 30 fps demo costs **3–5 minutes of wall-clock + ~5,000 frames of compute + nontrivial tokens** for status updates, frame extractions, and re-verification. **Do NOT render after every edit.** The user pays for every render.\n\n**The rule:**\n- Edit → type-check (`npx tsc --noEmit`) → batch more edits → STOP.\n- Render only when the user explicitly says \"render\", \"let's see it\", \"make a new video\", or similar.\n- During a long iteration, expect to make 5–15 edits between renders. This is normal.\n\n**Why this isn't optional:** Studio HMR (`npx remotion studio`) live-reloads in the browser, so the user can preview specific frames or scenes at zero cost. The full-length render exists for delivery, not for verification of every micro-change.\n\n**The signals to watch for:**\n- ✅ \"render it\", \"render the video\", \"let's see it\", \"ship it\", \"make a new MP4\" → render now.\n- ✅ A long batch of changes lands, tests pass, the user says \"ok\" or moves on → ask before rendering (\"Render now?\").\n- ❌ \"Add another rule to the skill\" → do NOT render. Edit only.\n- ❌ \"Fix the cursor position\" → do NOT render until they ask. Studio HMR shows the fix immediately in their browser.\n- ❌ Any time the user explicitly says \"don't render\", \"save tokens\", \"I'll ask when I'm ready\" → respect it for the rest of the session.\n\n**Anti-pattern:**\n```\nUser: \"Move the popup 20px to the left.\"\nYou: \u003Cedit + render full 167s video>\n```\nThis burns minutes and tokens for a 1-pixel adjustment that the user could have verified in Studio in 1 second.\n\n**Correct pattern:**\n```\nUser: \"Move the popup 20px to the left.\"\nYou: \u003Cedit + tsc + done — wait for next instruction>\n```\n\n#### L2. Batch edits between renders\n\nWhen the user dictates several changes in a row, hold all of them in queue. Land them as edits, type-check, and render once at the end of the batch (and only if the user asks). A typical good cadence:\n\n```\nedit edit edit edit  →  tsc  →  user says \"render\"  →  render once  →  show results\n```\n\n#### L3. Voiceover regeneration is also a \"render\" — only when asked\n\nRegenerating the ElevenLabs voiceover costs API credits and takes ~30s. Same rule applies: only when the user is ready for a new render or explicitly asks to refresh narration.\n\nIf the user makes a script.ts change that affects narration timing, note in the response \"voiceover will need regeneration before next render\" — but do not call ElevenLabs yet.\n\n---\n\n### M. Demo arc — before\u002Fafter with the same prompt\n\nThe strongest demo shape is **same prompt, different output, mediated by a state change in your product**. For Skill Studio that's:\n\n```\nSlide N    : terminal — prompt \"design a hero\" → skill v1.0.0 → AI-slop output\nSlide N+1  : browser — site-good.png with verdict \"v1.0.0 — good, but not excellent\"\n…author edits + publishes v1.0.1…\nSlide M    : terminal — SAME prompt → skill v1.0.1 → editorial output\nSlide M+1  : browser — site-excellent.png with verdict \"v1.0.1 — design has taste\"\n```\n\n**Rules for the after-pair (M, M+1):**\n\n1. **Pixel-mirror the chrome from the before-pair.** Same MacOsMenuBar, same window size, same title-bar tabs, same browser frame dimensions, same URL pattern (`localhost:3000\u002Fhero`). The viewer should read \"this is the same page from earlier\" — only the *content* should differ.\n\n2. **Flip the highlight color.** Where the before-pair had `border: 2px solid #dc2626` (red, \"this is the bug\"), the after-pair uses `border: 2px solid #16a34a` (green, \"this is the fix\"). Keep the rectangle the same shape — content-tight, `display: inline-flex`, `width: fit-content` — so the geometry feels unchanged.\n\n3. **Highlight the new version chip.** The new version (`v1.0.1`) gets a pulsing green pill next to the skill name. Use a slow sine-wave glow `boxShadow: 0 0 ${20 * pulse}px rgba(22,163,74,${0.5 * pulse})` so it reads as \"this is what changed\" without being shouty.\n\n4. **Skip the typing animation for the prompt on the second take.** The viewer recognizes the prompt; making them watch it type a second time is wasted seconds. Render it pre-typed in the highlight block.\n\n5. **Pair with a green verdict ribbon on the browser slide.** Match the red ribbon from the before-state position (bottom-center, pill shape, same typography). Just flip it to green and update the copy: \"v1.0.1 output — design has taste\". The visual rhyme with the earlier ribbon is what makes the payoff land.\n\n6. **Editorial reply tokens get a green underline pulse, the inverse of the red AI-slop pulse.** Pick 3-5 design-system tokens from the new code (`font-serif`, `tracking-widest`, `bg-stone-50`, `font-light`) and pulse them in green — same animation pattern as the bug-red pulse, opposite color, opposite meaning.\n\nThe whole arc reads in one beat: *same prompt + new version → completely different product*. That's the whole product, condensed.\n\n---\n\n### N. Outro polish — feature pills should not look like a bullet list\n\nA flat row of pills with single-glyph icons (`❤ ⌂ ⛨`) reads as \"PowerPoint slide.\" Make them look like a product page:\n\n1. **Inline SVG icons, not unicode glyphs.** Custom 44×44 line-art SVGs in a 84×84 round-square tile. Examples:\n   - Open Source → git-branch (two circles connected by a curved path)\n   - 100% Local → shield with a checkmark\n   - Enterprise-Ready → three stacked diamonds (SSO + audit + scoped)\n\n2. **Each tile gets a colored gradient + glow halo that pulses.** Slow sine wave, slightly out of phase per pill, so they don't bob in unison.\n\n   ```ts\n   const glowPhase = (frame \u002F 75 + i * 0.4) * Math.PI * 2;\n   const glowAmount = (Math.sin(glowPhase) + 1) \u002F 2;\n   boxShadow: `0 0 ${24 * glowAmount}px ${color}66, 0 0 ${48 * glowAmount}px ${color}33`;\n   ```\n\n3. **Hairline accent stripe at the top edge of each card** in the brand color, fading to transparent at both ends with `linear-gradient(90deg, transparent 0%, ${color} 18%, ${color} 82%, transparent 100%)`. This makes the card feel \"tagged\" rather than generic.\n\n4. **Continuous gentle float on each card.** A 3-pixel sine bob with phase offset:\n   ```ts\n   const floatY = Math.sin((frame \u002F 90 + i * 0.5) * Math.PI * 2) * 3;\n   ```\n   This animation alone makes a static slide feel premium.\n\n5. **Soft outer halo ring** behind the icon tile — `radial-gradient(circle, ${color}22, transparent 70%)` at `inset: -8`, opacity tied to the same glow pulse. Subtle but the eye reads it as \"this is real.\"\n\n6. **Bigger, heavier label typography.** `fontSize: 26, fontWeight: 800, letterSpacing: -0.4` — the label should feel as confident as the wordmark above it.\n\nThe trap to avoid: animations that distract from the wordmark and tagline above. Keep the float amplitude ≤ 4px and the glow `0.3 → 1.0` (don't go to zero — it reads as flicker). The pills are a closing reassurance, not the focal point.\n\n---\n\n### O. Reference verification — the screenshot wins over the timestamp\n\nWhen the user says **\"make it like at 3:40 of the YouTube video\"** AND attaches a screenshot in the same message, the **screenshot is the authoritative reference**, not the YouTube timestamp.\n\nIn one session: the user said \"use like it was displayed here — on 3:40 on YouTube\" and pasted a screenshot of their actual Skill Studio detail page. The agent extracted YouTube at 3:40 and got a \"Claude Managed Agents\" slide from a totally unrelated talk — and faithfully copied THAT slide's labels and bullets into the demo. The user was furious: \"Stop hallucinating. You see the image? Or grab the same image from the YouTube video on 3:40.\"\n\n**The rule:**\n1. If the user pasted\u002Fattached an image in the message, that's the reference. Read it carefully (Read tool on the temp file path).\n2. If the user only gave a timestamp, extract that frame from the source video with `ffmpeg -ss N -i ... -frames:v 1 -update 1 -y out.png`.\n3. If both — the **image they pasted** wins. The timestamp may be approximate \u002F a different video \u002F mis-remembered.\n4. If you're unsure which is right, ASK — don't pick the wrong one and copy faithfully.\n\nThis single mistake cost ~15 minutes of round-tripping and one section that had to be completely rewritten. Always check the actual image before adopting \"reference content\".\n\n---\n\n### P. Studio detail-page mirror — the 8-card stats grid pattern\n\nReal product demos benefit from showing the actual product UI as the user sees it. For Skill Studio, that means the **detail page** of an installed skill — not a presentation slide. The pattern (verified against the user's screenshot of the live product):\n\n**Top section (above tabs):**\n```\n.claude › ● PROJECT\nfrontend-design                                      v1.0.0\nanton-abyzov  SKILL.md ↗\nINSTALL METHOD  Copied (independent)\n[ \u002FUsers\u002Fantonabyzov\u002F.claude\u002Fskills\u002Ffrontend-design  ? Copy ]\n? This is an installed copy of the skill. Editing, …  Uninstall\nCheck now\n```\n\n**Tab strip:** Overview · Trigger · Versions (only three on this consumer view; the authoring view adds Tests · Run).\n\n**Overview content:**\n```\nfrontend-design  v1.0.0  COPIED\n— frontend-design · Updated just now\n```\n\n**Stats grid — 4 columns × 2 rows = 8 cards:**\n\n| BENCHMARK | TESTS         | ACTIVATIONS | LAST RUN |\n|-----------|---------------|-------------|----------|\n| —         | 0             | 0           | —        |\n| Never run | 0 assertions  | Never       |          |\n\n| MCP DEPS | SKILL DEPS | SIZE   | LAST MODIFIED            |\n|----------|------------|--------|--------------------------|\n| 0        | 0          | 1.9 KB | just now                 |\n| None     | None       |        | 2026-04-27T02:11:22.424Z |\n\nEach card: tracked-uppercase label (11pt, +1.4 letter-spacing) · mono value (26pt, 700 weight) · sub-line (12pt, muted). LAST MODIFIED uses mono for the timestamp sub-line. Card padding \"16px 18px\", radius 10, surface bg, 1px border, min-height 110.\n\nThis is \"the product, not a slide\" — the viewer sees a real Studio page they could navigate to themselves. Use this pattern any time the user shows you a screenshot of the live product they want mirrored.\n\n---\n\n### Q. Cursor-meets-button geometry — re-derive, don't guess\n\nCursor click moments fail visually when the cursor floats near but doesn't TOUCH the button. The fix is geometry, not iteration:\n\n**1. Derive button position from layout, not from a render.**\n\nLayout math example (Generate Skill button in AuthorCreate, behind a 1.18× camera zoom anchored at bottom-center):\n\n```\nsidebar_width = 320\nmain_pane_padding_left = 36\nbutton_left_unzoomed   = 320 + 36 = 356\nbutton_width           = 244       # padding(22) + ✨(20) + gap(8) + text + padding(22)\nbutton_center_unzoomed_x = 356 + 122 = 478\n\n# Camera transform: scale(1.18) transformOrigin: 50% 100%\nbutton_center_x_zoomed = 960 + (478 − 960) × 1.18 = 391\nbutton_center_y_zoomed = 1080 + (button_y_unzoomed − 1080) × 1.18\n```\n\n**2. Account for the cursor SVG tip offset.**\n\nThe standard arrow-cursor SVG has its visible tip at offset `(3, 2)` within its 26×32 bounding box. To land the tip ON the button center, the SVG top-left must be at `(button_cx − 3, button_cy − 2)`.\n\n**3. Rule of thumb for camera-zoomed scenes:** put the cursor OUTSIDE the camera-zoom wrapper (so its coordinates are canvas-space), and apply the inverse-of-zoom math above to find the canvas-space landing target.\n\n**4. Verify with one frame extraction**, not a full render. Once you've placed the cursor:\n\n```bash\nffmpeg -ss \u003Cclick_seconds> -i video.mp4 -frames:v 1 -update 1 -y check.png\n```\n\nRead the PNG. If cursor isn't ON the button, fix the math BEFORE re-rendering the whole video.\n\n---\n\n### R. Connection-line aesthetics — bold, not subtle\n\nLines that represent \"X is connected to Y\" (install arrows, sync indicators, anything edge-like) should be **bold and energized** when active, not 1-2 pixels of 50% alpha. Subtle reads as \"this might be a hairline gridline\" — exactly the wrong message.\n\n**Active \u002F connected (green):**\n- Height: **4px** (not 2px)\n- Color: `rgba(34, 197, 94, 0.95)` (not 0.55)\n- borderRadius: 2\n- Glow: double-stack `boxShadow: 0 0 10px rgba(34, 197, 94, 0.65), 0 0 20px rgba(34, 197, 94, 0.35)`\n\n**Broken \u002F disconnected (red, dashed):**\n- Same height\n- Repeating linear-gradient for dash effect: `repeating-linear-gradient(90deg, rgba(239,68,68,0.6) 0 8px, transparent 8px 16px)`\n- Glow that grows with the break-progress: `0 0 8px rgba(239, 68, 68, 0.6)`\n\nThe contrast between bold-green-active and dashed-red-broken is the visual story. If the active line is too thin, the break doesn't read as dramatic — it reads as \"the line just got slightly redder.\"\n\n---\n\n### S. YouTube publication kit — what to add when shipping a hackathon demo\n\nWhen the demo is rendered, the next step is publishing. Before uploading, prepare:\n\n#### S1. Chapter timestamps from script.ts\n\nCompute chapters by walking `HACKATHON_SCRIPT` and accumulating effective frames (raw frames minus `HACKATHON_TRANSITION_FRAMES` per non-null transition):\n\n```ts\nlet runningEffective = 0;\nfor (const scene of HACKATHON_SCRIPT) {\n  const startSec = runningEffective \u002F HACKATHON_FPS;\n  \u002F\u002F emit \"M:SS  \u003Cchapter title from scene.caption or visualNotes>\"\n  runningEffective += scene.durationFrames;\n  if (scene.transitionType !== null && !isLast) {\n    runningEffective -= HACKATHON_TRANSITION_FRAMES;\n  }\n}\n```\n\nYouTube chapter rules:\n- First chapter MUST be `0:00`\n- Minimum 3 chapters\n- Each chapter ≥ 10 seconds — merge or drop short scenes (e.g., a 4s BrandReveal merges into the previous Hook chapter; an 8s Outro can be dropped from the chapter list since the description still ends with the CTA)\n- Title format: action-oriented, present tense, ≤40 chars (\"Edit, save, publish v1.0.1\" beats \"AuthorEditAndPublish scene\")\n\n#### S2. Description structure (1500–2500 chars)\n\n```\n[Hook line 1 — punchy problem statement, ≤80 chars]\n[Hook line 2 — the fix, ≤80 chars]\n\n[3-4 lines: what this is, why it matters]\n\nTry it now:\n$ npx vskill@latest studio\nWeb: https:\u002F\u002Fverified-skill.com\n\n? Links\nGitHub:        https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\nRegistry:      https:\u002F\u002Fverified-skill.com\n…\n\n⏱️ Chapters\n0:00 …\n0:21 …\n…\n\n?️ Built with\nAnthropic Skills API · Claude Opus 4.7 · Remotion 4.0 · ElevenLabs · Next.js · Cloudflare Workers · Prisma\n\nAbout the author\n[1-line author bio]\n\n#ClaudeCode #AnthropicSkills #DevTools #OpenSource #BuiltWithClaude\n```\n\nThe first two lines must fit in YouTube's above-fold preview (~150 chars).\n\n#### S3. Title, tags, hashtags\n\n- **Title** ≤60 chars, dev-direct (not clickbait): `I built a Claude Code Skills manager with Opus 4.7` works; `? You won't BELIEVE what I made…` doesn't.\n- **Tags** (15-20): primary keyword first (\"claude code\"), then variants, then long-tail.\n- **Hashtags** (3-5 above title): `#ClaudeCode #Opus47 #BuiltWithClaude #AITools #OpenSource`. Verify any hackathon-mandated hashtag from the official submission portal — don't invent.\n\n#### S4. Thumbnail\n\n- 1920×1080\n- Left third: face (mid-expression, not exaggerated). Dev-tool demos with builder face still outperform faceless thumbnails in 2026.\n- Right two-thirds: hero UI screenshot\n- Primary text overlay ≤4 words, top-right, white with black stroke\n- Brand color accent (e.g., Anthropic-adjacent #D97757) on a small badge\n- Keep face + text out of the bottom 15% (player overlays cover that)\n\n#### S5. Hackathon submission verification\n\nBefore submitting:\n- Confirm the deadline UTC inside the official participant portal — don't trust third-party recaps\n- Confirm any mandated hashtag (and use it verbatim in social posts)\n- Verify judge handles before tagging — don't fabricate\n\nIf the hackathon page is gated to authenticated viewers, say so honestly in the publish kit and ask the user to copy details from their dashboard.\n\n---\n\n## Appendix — File-shape cheat sheet for a hackathon demo\n\n```\nsrc\u002Fremotion\u002F\n  index.ts                   ← entry point (calls registerRoot)\n  Root.tsx                   ← \u003CComposition id=\"...\" component={...} \u002F>\n  HackathonDemo.tsx          ← top-level: TransitionSeries + Audio (bgm + voiceover)\n  scenes\u002Fhackathon\u002F\n    script.ts                ← single source of truth: id, durationFrames,\n                               transitionType, voiceText, caption, visualNotes\n    StudioHeader.tsx         ← shared canonical Studio chrome\n    Hook.tsx, Brand.tsx,\n    Browse.tsx, AuthorCreate.tsx, AuthorEvals.tsx, AuthorPublish.tsx,\n    ConsumeInstall.tsx, ConsumeBugSurface.tsx,\n    AuthorEditAndPublish.tsx,\n    Update.tsx (= UpdateButton scene with bell-popup prelude),\n    ConsumeReuseUpdated.tsx, ConsumeBrowserExcellent.tsx, Outro.tsx\n    uiTokens.ts              ← STUDIO_LIGHT, VERIFIED_DARK, TERMINAL_UI, FONTS\npublic\u002Fhackathon-demo\u002F\n  skill-studio-logo.png      ← bell-badge logo, used by every Studio scene\n  bgm.mp3                    ← background music\n  voiceover.mp3              ← normalized + boosted, generated from script.ts\n  voiceover-raw.mp3          ← raw output from ElevenLabs (kept for re-normalization)\n  site-good.png, site-excellent.png  ← rendered-page screenshots for browser overlays\n  provider-icons\u002F*.png       ← real Claude\u002FAnthropic\u002FOpenAI\u002Fetc. icons\nscripts\u002F\n  generate-hackathon-voiceover.mjs   ← reads script.ts voiceTexts, joins them,\n                                       calls ElevenLabs, writes voiceover-raw.mp3\nout\u002F\n  hackathon-demo.mp4         ← final, audio-boosted MP4\n```\n\nThe script.ts entry shape:\n\n```ts\n{\n  id: \"AuthorEditAndPublish\",\n  durationFrames: 450,        \u002F\u002F 15 s @ 30 fps\n  transitionType: \"fade\",     \u002F\u002F \"fade\" | \"slide-left\" | \"slide-right\" | null\n  voiceText:\n    \"The author opens the Edit tab on frontend-design, strikes the primitive description, and pastes real design rules…\",\n  caption: \"Edit · Save (local) · Publish (registry)\",\n  visualNotes:\n    \"Mirrors at-243s. Studio chrome with breadcrumb Authoring\u002Fskills\u002Ffrontend-design...\",\n}\n```\n\nKeep `voiceText` and `visualNotes` honest — they regenerate the audio and document the design intent. Future iterations rely on them.\n\n---\n\n## Final reminder\n\nThe thing that turns a Remotion composition from \"looks like a slideshow\" into \"looks like the product\" is **fidelity to references and consistency across scenes**. Don't approximate. Pull the keyframe, study it, match it. Reuse the same `StudioHeader`, the same sidebar widths, the same counts, the same logo, the same red-for-bug \u002F orange-for-new color discipline. When you do that, the viewer's brain stops noticing the video as a video and starts watching the product.\n",{"name":5,"version":44,"metadata":45,"description":7},"1.1.0",{"tags":46},"remotion, video, react, animation, composition, demo-videos, product-demos, voiceover, audio-normalization, youtube-publishing","main","b198d63224f1ecec8bca1300fb21dfa996c853db","skills\u002Fremotion-best-practices",5,"https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill","https:\u002F\u002Fverified-skill.com","https:\u002F\u002Fgithub.com\u002Fanton-abyzov","https:\u002F\u002Fspecwithcode.com","Founder of SpecWithCode · Creator of SpecWeave · AI coding agents, Cloud, DevOps · 20 yrs SWE · YouTube: @AntonAbyzov","2026-11-13 06:33:58",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add anton-abyzov\u002Fvskill --skill remotion-best-practices",{"tool":63,"command":64},"bunx","bunx skills add anton-abyzov\u002Fvskill --skill remotion-best-practices",{"tool":66,"command":67},"pnpm","pnpm dlx skills add anton-abyzov\u002Fvskill --skill remotion-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fskills\u002Fremotion-best-practices\u002FSKILL.md",true,[71,76,82],{"path":72,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"LICENSE","许可证",1063,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-price-dependency-risk-and-lead-time\u002FLICENSE",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"SOURCE.md","REFERENCE","参考文档",361,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-price-dependency-risk-and-lead-time\u002FSOURCE.md",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fpayments\u002F0xklen-price-dependency-risk-and-lead-time\u002FTRUST.auto.yaml",[87,113,130,150,175,194],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":39},"01M6HKP9JT8CH33W7DJB544DCS","x-reply-drafts","Find live X threads where a product genuinely fits, and draft truthful, humanized replies for the owner to review and post by hand. Human pace only: max 5 replies a day, never two within 20 minutes, no automated posting. Use when the user asks to 'find threads to reply to', 'draft X replies', 'reply-guy session', 'join trending conversations', 'engage on Twitter about \u003Cproduct>', or wants a daily batch of reply drafts. Not for scheduling original posts (social-media-posting) or bulk publishing (blotato).","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fplugins\u002Fmarketing\u002Fskills\u002Fx-reply-drafts\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,37,112],"drafts","x reply drafts","reply","bulk","humanize","posts","Media","never","conversations","trending","unslop","social","join","only","hand","batch","review","threads","human",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6CND903Q6E6R2XDWMFH8MAY","hello-world","A tiny test skill used by the 0853 verify-runtime harness. Says hello. No external calls. Use when the user asks for a sanity-check skill in a verify-harness fixture.","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Ftest\u002Fverify\u002Ffixtures\u002Ftiny-skill-source\u002Fplugins\u002Ftiny-test-plugin\u002Fskills\u002Fhello-world\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,128,129],"world","hello world","hello","harness","use","Test Skill","check","test","verify","user",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M6CND60H0N1CYEB6ABEW18NS","existing-skill","Lint markdown files for style and grammar issues.","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fsrc\u002Fcommands\u002F__tests__\u002Ffixtures\u002Fexisting-skill\u002FSKILL.md",[],[137,138,139,140,141,142,143,144,145,146,147,148,149],"existing skill","issues","files","lint markdown files","code","lint","markdown","cursor","grammar","read","write","edit","docs",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M6CNCXMSB1MKQ7646AR12VXY","rea","Find out exactly how a feature is implemented in a shipped tool or app you don't have the source for (desktop apps, Electron apps like Claude desktop, native CLIs like Codex, websites, APKs, .NET assemblies) using REA - Reverse Engineer Anything (github.com\u002Fmorluto\u002Frea). Sets REA up when it is missing (CLI, MCP registration, Hopper or Ghidra), routes the target to the right REA tool, keeps evidence out of the context window, and turns findings into a clean-room spec before any rebuild. Use when the user says 'use REA', 'reverse engineer', 'how does \u003Capp> do X', 'how is this feature implemented in \u003Ctool>', 'clone this feature', 'decompile', 'look inside the app', or asks how a closed-source competitor works. Skip it when the source is available - read the repo instead.","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fskills\u002Frea\u002FSKILL.md",[],[152,157,158,159,160,161,162,163,164,165,166,146,167,168,169,170,171,172,173,174],"reverse-engineering","engineer","up","clean","reverse engineer anything","MCP","analysis","rebuild","cli","how","context","ghidra","binary-analysis","do","evidence","registration","repo","reverse engineer",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":39},"01M6CNCSE0847Q1FP1GRQ75SR9","motion-graphics-promo","After Effects-style motion graphics for short product promos (15-45 s, vertical or landscape), built as code with HyperFrames + GSAP. Covers a story-first brief, motion grammar (energetic entry, one transition per task, spring settle, 2-3 s of stable proof), a 32-second promo timeline, device-frame and kinetic-type recipes, vertical-first composition, evidence rules (real UI only, no fake clicks), music licensing and encoded-frame verification. Use when the user asks for an After Effects-like animation, motion graphics, a kinetic-type promo, an app promo video, a product teaser, a Reels\u002FTikTok\u002FShorts ad, or 'animations like After Effects'. Also covers short explainers, tutorials and 15-second vertical ads: a design kit (footage beds, condensed caps in a marker box, white device frames, falling stickers, voice-over with music ducking) and HyperFrames render traps that silently break output. Pairs with hyperframes-best-practices (screencast pipeline) and remotion-best-practices.","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fskills\u002Fmotion-graphics-promo\u002FSKILL.md",[],[182,183,184,185,35,34,186,21,33,187,188,189,190,107,141,191,192,37,145,193],"motion graphics","motion graphics promo","motion","graphics","brief","pipeline","tiktok","short","design","verification","ads","ui",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":39},"01M6CNCMRHTRT3NV5CJGQ4WNRT","hyperframes-best-practices","Production-grade HyperFrames workflow for turning a raw screencast or talking-head recording into a polished product video. Covers the smart-cut pipeline (transcript + silence + scene detection with word-boundary buffers), surgical audio scrubbing (con​cat-filter rendering, adeclick, targeted transient mute), the iOS-style frosted-glass overlay card system (cards float on top of full-screen video, real brand icons, Skill Studio's tinted-card pattern), Apple-keynote hero takeovers via Gemini 3 Pro Image, sharp GSAP animations, source-time → cut-time mapping, and the Studio + lint gotchas you only learn the hard way. Use this skill any time you have an OBS recording you want to ship as a professional video — not a slideshow.","https:\u002F\u002Fgithub.com\u002Fanton-abyzov\u002Fvskill\u002Fblob\u002Fmain\u002Fskills\u002Fhyperframes-best-practices\u002FSKILL.md",[],[201,19,202,35,34,22,187,107,203,204,205,206,207,37,208,209,210,211,212,124],"hyperframes best practices","hyperframes","learn","workflow","image","transcript","whisper","ship","brand","gemini","Word","system"]