Skip to content
Back to skills

Ui Demo

ASecurity

Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.

  • 2 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added September 19, 2026
ai-agentsgobashnode

Works with

  • cursor
  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add majinmagros/magros.ai-skills --skill ui-demo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Demo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui Demo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-ui-demo/badge)](https://www.skillsdirectory.com/skills/majinmagros-ui-demo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ui-demo
description: Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.
metadata:
  origin: ECC
---

# UI Demo Video Recorder

Record polished demo videos of web applications using Playwright's video recording with an injected cursor overlay, natural pacing, and storytelling flow. Helpers em `scripts/demo-helpers.js`, template em `scripts/demo-script.template.cjs`, fases em `references/phases.md`.

## When to Use

- User asks for a "demo video", "screen recording", "walkthrough", or "tutorial"

## Three-Phase Process

Every demo goes through three phases: **Discover -> Rehearse -> Record**. Never skip straight to recording.

**Phase 1 — Discover:** dump interactive elements per page (tag/type/name/placeholder/role) before scripting; map selects (values AND text), rich text, required fields, dynamic fields, exact button labels, table headers. Assumptions break recordings silently.

**Phase 2 — Rehearse:** run `{label, selector}` steps through `ensureVisible` (fails loudly + visible-element dump); fix selectors; only proceed when all green.

**Phase 3 — Record:** story flow (entry → context → action → variation → result); pacing (login 4s, nav 3s, click 2s, steps 1.5-2s, final 3s, typing 25-40ms/char); SVG cursor overlay (re-inject every navigation); move-before-click; visible typing; smooth scroll; dashboard panning; subtitles (`Step N - Action`, <60 chars).

```bash
node demo-script.cjs --rehearse   # Phase 2: valida seletores
node demo-script.cjs              # Phase 3: grava WebM 1280x720
```

## Checklist Before Recording

- [ ] Discovery completed; rehearsal passes all selectors OK
- [ ] Headless on; resolution `1280x720`
- [ ] Cursor + subtitles re-injected after every navigation
- [ ] `showSubtitle('Step N - ...')` at transitions; `moveAndClick` (labeled) for clicks; `typeSlowly` for input
- [ ] No silent catches (helpers warn); smooth scroll for reveals
- [ ] Pauses visible to humans; flow matches story order and discovered UI

## Common Pitfalls

Cursor dies on navigate → re-inject · too fast → add pauses · dot cursor → SVG overlay · teleports → move first · wrong selects → show move then pick · abrupt modals → read pause · random video path → copy to stable name · swallowed selector failures → never silent-catch · assumed field types/features → discover first · `"0"`/`"Select..."` placeholders look real · popups = separate videos (capture explicitly, merge later).

Files in this skill

  • SKILL.md2.6 KB
  • references/phases.md4.5 KB
  • scripts/demo-helpers.js4.9 KB
  • scripts/demo-script.template.cjs2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.