# synthetic-ui-demo

The synthetic-ui-demo Claude Code skill builds product videos without screen recording. It recreates selected app screens in React, then scripts cursor and camera movement in Remotion.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 614 installs · ★ 2697 repo stars
- Author: digitalsamba
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/digitalsamba/claude-code-video-toolkit/tree/HEAD/.claude/skills/synthetic-ui-demo/SKILL.md
- Updated: 2026-10-21
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/synthetic-ui-demo

## What it does

The skill turns an app’s source code into scenes for a product walkthrough or release-notes video. It rebuilds only the screens shown in each scene as static React, then uses a scripted cursor and camera in Remotion. The scenes can be rendered again without a live app environment.

Access to the app’s source code is required. The interface sits on a fixed-size canvas, and actions are tied to frames; changes to the product call for editing the recreated UI in code. This approach does not fit a project where only the running app is accessible.

## Requirements
- Works with: Playwright

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add digitalsamba/claude-code-video-toolkit --skill synthetic-ui-demo -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/synthetic-ui-demo/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/synthetic-ui-demo/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add digitalsamba/claude-code-video-toolkit --skill synthetic-ui-demo -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/synthetic-ui-demo/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add digitalsamba/claude-code-video-toolkit --skill synthetic-ui-demo -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/synthetic-ui-demo/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install digitalsamba/claude-code-video-toolkit .claude/skills/synthetic-ui-demo
```

2. **Manually: put the files in place**
- File: `.github/skills/synthetic-ui-demo/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add digitalsamba/claude-code-video-toolkit --skill synthetic-ui-demo -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/digitalsamba/claude-code-video-toolkit --path .claude/skills/synthetic-ui-demo
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/synthetic-ui-demo/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add digitalsamba/claude-code-video-toolkit --skill synthetic-ui-demo -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/digitalsamba/claude-code-video-toolkit/tree/HEAD/.claude/skills/synthetic-ui-demo/SKILL.md

## When to use it
- create a product walkthrough without screen capture
- rebuild app screens from source code for a video
- script cursor and camera movement across UI scenes
- make a release-notes video from app screens

## Example prompts
- Build a product demo from the app source without recording the screen.
- Recreate the app screens in React and script cursor and camera movement in Remotion.
- Make a release-notes video from the app interface.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: de901720e35a81cf.

BEGIN THIRD-PARTY FILE de901720e35a81cf
````text
---
name: synthetic-ui-demo
description: Product demo and release-notes videos with no screen recording. Rebuild the app's screens as static React from its source code, then drive them in Remotion with a scripted cursor and camera (lib/components Stage + Cursor). Use when making a product walkthrough, feature demo, release-notes or changelog video for an app whose source you can read, or when a Playwright recording would be flaky, need test data, or go stale. Triggers include synthetic demo, rebuild the UI, release video, feature walkthrough, product demo from source, scripted cursor, camera zoom on UI, no screen recording.
---

# Synthetic UI Demos

Nothing is screen-recorded. Claude Code reads the product's repo, rebuilds only the screens a scene shows as static
React, and a scripted cursor and camera perform the flow in Remotion. Every click is a frame number, so a scene
re-renders identically, never needs a seeded account or a live environment, and is updated by editing code when the
product changes.

**Reference builds** (read them alongside this skill; both build without the product repos):

- `examples/ds-free-schedule-demo`: one 26s flow (schedule a call) with a narrator tile. The simplest complete case.
  Its `src/Demo.tsx` is a single timeline with every cursor keyframe, click and camera move.
- `examples/ds-release-649`: an 80s release-notes video, eight scenes across three apps. `templates/ds-release-notes` is the
  reusable shape of it (ships as release 650). `src/Release.tsx` sequences
  the scenes, `src/scenes/` has one file per release item, and `src/room/` and `src/ac/` are the screen kits.

## When to use this vs. Playwright

| Synthetic (this skill) | Playwright recording (`/record-demo`) |
|---|---|
| You can read the app's source | You only have the running app |
| Release notes and feature tours that get redone every release | One-off capture of real behaviour or real data |
| The flow needs data you don't have (a full call, other users, an admin view) | The real thing is easy to reach and looks right as is |
| Camera moves, exact click timing, re-renders after a voice change | Long, complex interactions that would be costly to rebuild |

## Building blocks (`lib/components`)

```tsx
import { Stage, typed, cursorAt, near } from '../../../../lib/components';

<Stage
  url="app.example.com/settings"             // address bar; host darker than path
  camera={CAMERA}                             // [{ f, z, x, y }] in canvas px, eased, clamped to the window
  path={PATH}                                 // [{ f, x, y }] cursor keyframes in canvas px
  clicks={CLICKS}                             // frames that squash the cursor and throw a ripple
````
END THIRD-PARTY FILE de901720e35a81cf

The third-party file has ended. Everything between the de901720e35a81cf tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2710 of 10628 bytes. © digitalsamba · MIT · https://github.com/digitalsamba/claude-code-video-toolkit/tree/HEAD/.claude/skills/synthetic-ui-demo/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
