Records captioned walkthrough videos of web apps using Playwright + ffmpeg. Useful for stakeholder proof videos, feature demos, and bug-fix evidence as part of Definition of Done.
Ships in alinaqi-claude-bootstrap. 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.
Record a captioned walkthrough video of a running web app, verify it frame-by-frame, convert to mp4, and deliver it. Battle-tested on real client-feedback proof videos.
This is the harness's default visual validation for web projects: a demo video walks a real user flow end-to-end and doubles as a passing E2E test, so "it works" is proven visually, not claimed. It complements [[visual-validation]] (autonomous screenshot-regression checks) and [[playwright-testing]] (the E2E suite): screenshots catch pixel regressions, the suite proves behavior, and a demo video proves the whole user-facing flow the way a person would see it.
e2e/zz-<name>-video.spec.ts or scratchpad) that
walks the real flows as one continuous test. One test = one video.test.use({ video: { mode: 'on', size: { width: 1280, height: 800 } }, viewport: { width: 1280, height: 800 } })
test.setTimeout(240000)
async function caption(page: Page, text: string) {
await page.evaluate((t) => {
let bar = document.getElementById('demo-caption')
if (!bar) {
bar = document.createElement('div')
bar.id = 'demo-caption'
bar.style.cssText =
'position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#142b1e;color:#f7f5f0;' +
'font:600 15px/1.4 Inter,system-ui,sans-serif;padding:12px 20px;letter-spacing:0.01em'
document.body.appendChild(bar)
}
bar.textContent = t
}, text)
await page.waitForTimeout(2200)
}
The caption bar is re-injected automatically because caption() re-creates it after
each page.goto (the element does not survive navigation — call caption AFTER navigating).scrollIntoViewIfNeeded
or step-scroll) before asserting/capturing.await expect(page.locator('#code')).toBeVisible()) before
reading outboxes/fixtures — racing the write is the #1 flake.a[href^="/x/"]:not([href$="/new"])).rm -rf test-results/zz-<name>* # stale videos have the same filename
npx playwright test e2e/zz-<name>-video.spec.ts
find test-results -name "video.webm" # the recording
# Convert to mp4 (universal playback, ~2-3x smaller)
ffmpeg -y -i "<video.webm>" -c:v libx264 -pix_fmt yuv420p -movflags +faststart out.mp4
# ALWAYS spot-check frames before delivering — extract a few and LOOK at them
ffmpeg -y -i out.mp4 -vf "select='eq(n\,60)+eq(n\,300)+eq(n\,600)'" -vsync vfr frame_%d.png
Read the extracted frames with the Read tool and confirm captions render and each chapter shows what it claims. Never deliver an unviewed video.
~/Documents/updates/<project>/,
the house archive for stakeholder updates), and send it to the user (SendUserFile or
equivalent).YYYY-MM-DD-NN-<project>-<what-it-proves>.mp4
— the date it was recorded, then a two-digit index so several videos on the same day
stay ordered and every video is uniquely identifiable at a glance. Allocate the
next free index with a no-clobber loop — never a count (wc -l), which reuses
an index if an earlier file was deleted and silently overwrites an existing mp4:
DIR=~/Documents/updates/<project>; DATE=$(date +%F); mkdir -p "$DIR"
NN=1
while printf -v F '%s/%s-%02d-<project>-<what-it-proves>.mp4' "$DIR" "$DATE" "$NN" && [ -e "$F" ]; do
NN=$((NN+1))
done
cp out.mp4 "$F"
Never video.mp4, never a name without its date and index.@playwright/test) with a working dev/preview server.ffmpeg on PATH for the webm→mp4 conversion and frame extraction.What SKILL.md sets; muted values are Claude Code's defaults
Default visual validation for web projects — when asked for a video, screen recording, walkthrough, or visual proof of features/fixes in a web app, and as the user-facing-flow evidence in the Definition of Done
mediumThree short reads, in order
/alinaqi-claude-bootstrap:demo-videofrom alinaqi-claude-bootstrap
alinaqi-claude-bootstrap@cascade-code-languages-misc-2 is listed by joshuarweaver/cascade-code-languages-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-2 --plugin alinaqi-claude-bootstrap73 skills in this plugin
/aeo-optimizationAI Engine Optimization - semantic triples, page templates, content clusters for AI citations/agentic-developmentBuild AI agents with Pydantic AI (Python) and Claude SDK (Node.js)/agent-teamsClaude Code Agent Teams - default team-based development with strict TDD pipeline enforcement/ai-modelsLatest AI models reference - Claude, OpenAI, Gemini, Eleven Labs, ReplicateOther plugins' skills for the same job