/playwright-recast:script-writerfrom playwright-recast
Generates voiceover scripts and SRT subtitles from technical video descriptions or Gherkin feature files, translating UI actions into benefit-driven marketing narration.
Ships in playwright-recast. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Transform technical descriptions of video content into polished voiceover scripts and subtitle text.
.feature fileThe script can be generated from:
playwright-recast + playwright-bdd uses Gherkin .feature files where doc strings are the voiceover/subtitle text:
Feature: Product demo
Scenario: Setup monitoring
When the user opens the chat
"""
This doc string becomes the voiceover and subtitle for this step.
"""
And the user selects a skill
"""
Each step gets its own doc string — one per video segment.
"""
How it works:
Given/When/Then/And) = one video segment"""...""") under each step = voiceover + subtitle for that segmentSubtitleEntry[] via .subtitlesFromTrace()the user opens the chat) is the technical actionWhen writing doc strings:
Never describe the UI mechanically. Translate every action into client value — what it saves, simplifies, speeds up, or improves.
Every script follows this 4-part arc:
Adapt output to the input source:
From free-form description:
VOICEOVER:
[Continuous flowing text]
SUBTITLES:
[Same content split into short lines/blocks]
From Gherkin feature file — produce the updated feature with doc strings:
When the user opens the chat
"""
[narrator text for this step]
"""
SRT format (when requested):
1
00:00:00,000 --> 00:00:06,000
[subtitle text for segment 1]
2
00:00:06,001 --> 00:00:12,000
[subtitle text for segment 2]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thepatriczek/playwright-recast --plugin playwright-recast3 skills in this plugin
/recast-guideGuide for using playwright-recast to convert Playwright traces into demo videos. Use when the user asks to create product demos, generate videos from tests, add voiceover to traces, or process Playwright recordings./studio-workflowGenerate a polished demo video from a Playwright trace recording. Reads trace actions, writes voiceover scripts, generates SRT subtitles, and runs the recast pipeline. Use when the user has recorded a browser session with recast-studio and wants to produce a video, or says "generate video from trace", "process my recording", "make a demo".Other plugins' skills for the same job