video-showcase
Skill29 starsChanged 2 months agoMITView on GitHub
Records and renders narrated marketing videos from automated UI walkthroughs (Playwright capture, Remotion render). Use to create or edit a product demo, showcase, feature tour or scene, adjust camera or branding, or port the pipeline to another repo.
In this repository25 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- agent-lanesSkill
- angular-3d-scene-crafterSkill
- angular-frontend-patternsSkill
- angular-gsap-animation-crafterSkill
- ddd-architectureSkill
- execute-phase-gated-taskSkill
- extract-and-relocate-angular-component-featureSkill
- fleet-orchestrationSkill
- humanize-librarySkill
- impeccableSkill
- nestjs-backend-patternsSkill
- nestjs-deploymentSkill
- nx-workspace-architectSkill
- orchestrationSkill
- ptah-cli-usageSkill
- resilient-nestjs-patternsSkill
- saas-platform-patternsSkill
- saas-workspace-initializerSkill
- skill-creatorSkill
- technical-content-writerSkill
- tribunalSkill
- typesafe-aiSkill
- ui-ux-designerSkill
- webhook-architectureSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
All branding is centralized in apps/<studio>/src/brand.config.ts (BRAND): wordmark, productName, tagline, ctaLabel, and theme (colors + …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Video Showcase
Turns automated UI walkthroughs into polished marketing MP4s. It is two halves joined by JSON manifests — capture is deliberately dumb (flat footage + data), all cinematography is a post-process, so you re-render endlessly without re-recording.
┌── CAPTURE (Playwright) ──────────┐ ┌── RENDER (Remotion) ─────────────┐
│ Director drives the real app │ │ render-all.mjs builds props │
│ records raw.webm (flat, no zoom) │ beats │ ShowcaseVideo composition applies│
│ emits beats.json + shots.json ──┼──json──▶ virtual camera (zoom/pan), │
│ (+ narrate → wav, caption → json)│ shots │ amber ring, captions, audio, mux │
└──────────────────────────────────┘ json └───────────────▶ out/<scene>.mp4 ─┘Golden rule: zoom and highlight borders are NOT in the recording — the Director only records element rectangles + timestamps into shots.json. Everything cinematic happens at render time. So visual/camera fixes never need a re-capture, only a re-render.
The three engine units (what's reusable/portable)
| Unit | Path (this repo) | Role |
| Remotion app | apps/ptah-video-studio | Compositor + render-all.mjs, narration/caption scripts, camera grammar |
| Shared types | libs/showcase-manifest | beats/shots manifest types — the contract between capture & render |
| Capture harness | apps/ptah-electron-e2e/src/showcase/_harness | Director + Playwright fixtures (web + Electron launchers) |
Project-specific (authored per app): scene specs (*.scene.ts), narration scripts (scripts/<scene>.json), and branding (brand.config.ts).
Workflow
- Author a scene — a
*.scene.ts(Playwright walkthrough using theDirector) + ascripts/<scene>.json(ordered narration lines). Seereference/scene-authoring.md. - Capture — run the showcase Playwright project → writes
dist/apps/<e2e>/recordings/<scene>/{raw.webm, beats.json, shots.json}. - Narrate —
npm run narrate(ElevenLabs) →wav/NNNN.wav+durations.json(drives audio-locked pacing). - Render —
node apps/ptah-video-studio/scripts/render-all.mjs --scene <slug>→out/<scene>.mp4. - Preview/iterate —
cd apps/ptah-video-studio && npm run studioopens Remotion Studio to scrub the camera frame-by-frame without a full render.
Quick commands
# Render one scene / all scenes
node apps/ptah-video-studio/scripts/render-all.mjs --scene dashboard-tour
node apps/ptah-video-studio/scripts/render-all.mjs
# Higher-res output (supersamples from the capture)
node apps/ptah-video-studio/scripts/render-all.mjs --scene X --out-res 1080p
# Interactive preview
cd apps/ptah-video-studio && npm run studioVideos land at dist/apps/ptah-electron-e2e/recordings/<scene>/out/<scene>.mp4; the raw un-styled capture is raw.webm in the same folder.
Camera behavior (the part people tweak most)
The virtual camera follows shots.json under a "grammar" enforced in render-all.mjs applyCameraGrammar: a full-frame establishing opener, minimum spacing between punch-ins, and — critically — a release shot after each punch-in so the camera zooms back OUT to full-frame instead of freezing on one element. Tunables: HOLD_MS (dwell before releasing, 2600), RELEASE_MIN_GAP_MS (skip release if the next punch is closer, 1400), ESTABLISH_MS, MIN_SHOT_MS. Full details + troubleshooting (frozen zoom, ring on empty space, edge-pan black gap) in reference/camera-and-render.md.
Re-skin for a different brand
All branding is centralized in apps/<studio>/src/brand.config.ts (BRAND): wordmark, productName, tagline, ctaLabel, and theme (colors + font). Editing that one file re-skins every video. See reference/brand-and-runtime.md.
Port into another Nx workspace
Copy the three engine units, rename the @ptah-extension/showcase-manifest package alias, add the deps, set brand.config.ts, and pick the capture runtime (web via browser-fixtures.ts, Electron via showcase-launcher.ts — both ship). A generated, copy-pasteable kit can be produced with node apps/ptah-video-studio/scripts/export-kit.mjs. Step-by-step in reference/install.md.
Reference
reference/scene-authoring.md— fullDirectorAPI + how to write a scene + narration scriptreference/camera-and-render.md— shots/beats model, coordinate system, camera grammar, render pipeline, troubleshootingreference/brand-and-runtime.md—brand.config.tsfields + web vs Electron capturereference/install.md— porting the pipeline into a new Nx workspace
For heavy authoring or a full record→render pass, delegate to the video-director subagent.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

