Testreel: Programmatic Demo Video Generation with Claude Code

What Testreel Does
Testreel is an npm package that lets you describe user interactions (click, type, scroll, zoom, etc.) in JSON, YAML, or Playwright format, then generates polished demo videos with visual effects.
Key Features from Source
- Generate webm, mp4, or gif videos from interaction descriptions
- Add cursor overlays, click ripples, and gradient backgrounds
- Use JSON, YAML, or Playwright to define interactions
- Integrated with Playwright for creating videos using mocks and sample data
- MIT License
- Built on Playwright + FFMPEG
Primary Use Cases
The source identifies two main value propositions:
- No need to manually re-record demos due to typos or misclicks - just update the config and regenerate
- Allows LLM agents (like Claude Code) to generate demo videos for web apps with cursor overlays and customizable desktop backgrounds
Practical Implementation
According to the source, users can ask Claude Code to use Testreel to generate demo videos of specific UI flows by describing what they want (e.g., "use realistic data," "use this image"). The author found this relatively straightforward to implement.
The tool is positioned as a programmatic version of ScreenStudio or Cap, enabling automated demo creation similar to how Playwright handles end-to-end testing.
Repository Information
The package is available at: https://github.com/greentfrapp/testreel
The author notes they created it with Claude Code and will continue updating it based on their own usage.
📖 Read the full source: r/ClaudeAI
👀 See Also

A2P: An MCP Server That Enforces Engineering Discipline for AI Coding Agents
A2P (Architect-to-Product) is an AI engineering framework packaged as an MCP server that enforces a gated workflow: Architecture → Plan → Build → Audit → Security → Deploy, with each feature slice requiring RED → GREEN → REFACTOR → SAST → DONE progression.

Sherlock: Apple Developer Docs as Local MCP for Claude Code
Sherlock indexes 70k Apple API symbols into SQLite FTS5 and provides 5 MCP tools + 3 auto-triggering skills to ground Claude Code in real docs, preventing hallucinations.

Handoffs Pattern in Claude Workflows: Two-File Split vs One-Doc Summary
Long Claude sessions break on context decay. Handoffs compress what matters and start fresh. Two approaches: Matt Pocock's single-doc handoff skill vs a two-file split with persistent narrative and ephemeral prompt.

Gemma 4 26B vs Qwen 3.5 27B: Local Business Workflow Benchmark on RTX 4090
A developer tested Gemma 4 26B and Qwen 3.5 27B on an RTX 4090 workstation for 18 real business operator tasks. Gemma won 13-5, showing faster speed and better discipline for daily execution work, while Qwen excelled at broader strategic thinking.