flow-video
Skill0 starsChanged 8 days agoApache-2.0View on GitHub
Record read-only walkthrough videos of a running web app — per-role tours that map every page a role sees, and scripted use-case videos with Thai captions. Use when asked for a demo, walkthrough, screen recording, flow or use-case video, a "what does each role see" map, or onboarding and handover material. Not for UX auditing (ux-review), test strategy (qa-testing) or designing flows (product-management).
In this repository27 other files it gives its agents.
- ai-agentsSkill
- ai-agent-workflowsSkill
- ai-native-estimationSkill
- ai-product-deliverySkill
- book-dev-engineering-loopSkill
- business-analysisSkill
- client-discovery-and-proposalsSkill
- content-distributionSkill
- data-engineeringSkill
- game-engineeringSkill
- govern-ai-skillsSkill
- graphic-designSkill
- lead-research-and-crmSkill
- main-only-developmentSkill
- product-managementSkill
- product-ownerSkill
- project-managementSkill
- qa-testingSkill
- security-and-privacySkill
- skill-templateSkill
- solo-empire-operatorSkill
- solution-architectureSkill
- subagent-orchestrationSkill
- system-docpackSkill
- unused-file-cleanupSkill
- ux-reviewSkill
- xr-engineeringSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Run source ~/ai-stack/ui-test-env.sh first on this WSL machine.
- Very specific: line 30
Add --only UC-02 to redo one video.
- Distinctive: line 63
Use demo data, and keep internal IDs, admin pages and other clients out of frame.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flow Video
Show the product as it really behaves, one role and one use case at a time. A video is evidence of what exists today, not a design: record only routes and actions that are live in the environment you point at.
Workflow
- Map roles and use cases. Take them from the system's docpack (
ux-flows,srsuse cases), ux-review P1–P2 output, or the code (role enums, route guards, menu config). Give each use case an ID that matches the docs (UC-01,FR-03). List per role: who they are, what they come to do, and the 2–5 use cases that matter most. Ask the owner only for business names the code does not show. - Pick the environment. Local or staging for anything that writes. Production
only with review accounts, read-only, under
../ux-review/references/production-test-accounts.md. - Sign in each role once with
../qa-testing/scripts/ui_login.mjs. Sessions live in~/.local/state/ui-review/sessions/<app>-<role>.json, never in a repository. Runsource ~/ai-stack/ui-test-env.shfirst on this WSL machine. - Write the scenario file (
references/scenario-format.md): onetourper role first, then onestepsscenario per use case. Each step'ssayis one short Thai sentence about what the user does and why, not a description of the UI. Look up real selectors on the rendered page (role, visible text,href). Do not guess them. - Record:
node scripts/flow_video.mjs --scenarios flows.json --out <dir>. Add--only UC-02to redo one video. The gallery keeps the others. Use--slow 1.3for a client audience and--mp4when it will be sent on LINE or by email. - Review every video yourself. Open each
<id>/NN.pngstoryboard frame. Check that the caption matches what is on screen, that the target is highlighted, that no step landed on an error, empty state or sign-in page, and that no personal or client data shows that the audience must not see. A failed scenario writesfailed.pngand exits 1. Fix the selector or the flow and record it again. - Check the page map (
page-map.md) against the intended permissions. A page in a role's menu that refuses (✗) and a page missing from a role that should have it are findings. Log them throughux-revieworqa-testing. - Publish inside the boundary. Link the gallery and page map from the
system's docpack
ux-flowsdoc (use case ID → video file). Keep the videos out of git (large binaries, they may show data). Store them in the evidence folder, or in the client folder for client work. - Re-record when a flow changes. A release that changes a recorded flow or a role's menu re-records the affected videos in the same change, so the videos never describe an older app.
Decision rules
- Writes: a scenario that must create or change data sets
"writes": true, and the file sets"readOnly": false. The command then needs--allow-writes, and the run must target local or staging. On production that requires the owner's written approval of that exact flow, plus a clean-up. - Blocked writes: in read-only mode only GET, HEAD and OPTIONS reach the server,
and WebSockets are mocked.
blockedWriteslists what was stopped. A step that submits a form ends the scenario asblocked. A use case whose point is a write (submit, approve) is recorded up to the button, with anexpectstep ("this button sends it for approval"). Do not fake the result. - Expired session: a scenario that lands on the sign-in page stops with an error rather than record the public site under the role's name. Sign in again.
- Audience edition: for a client, show only that client's roles and use cases. Use demo data, and keep internal IDs, admin pages and other clients out of frame. Sending a video outside is an external action and needs approval.
- No narration audio: captions are burned in and also exported as
.vtt. Voice-over is a separate, owner-approved step. - Videos are not a review: they show the flow. They do not sign it off. UX
findings still go through
ux-reviewandqa-testing.
Resources
scripts/flow_video.mjsrecords tours and use cases. It writes.webm/.mp4,.vtt, step frames,manifest.json,page-map.mdandindex.html.references/scenario-format.mdcovers the JSON format, step actions, selectors, pacing and examples. Read it before writing a scenario file.../qa-testing/scripts/ui_login.mjssaves a role session.../ux-review/references/production-test-accounts.mdsets the rules for review accounts on production.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

