docs(skills): share mobile demo recording and film tooling

Merged
KI
2mo ago
+850-0

What & why

Share the workflow and tooling teammates need to create new mobile demos:

  • mobile-demo-record: run the real iOS app against the local stack, drive it with Maestro, capture footage, and clean up demo state. Includes local Pages setup and known simulator limitations.
  • mobile-demo-film: plan and edit a new demo with a bundled Python renderer for phone framing, cutaway cards, unframed footage, end cards, frame-rate normalization, and contact sheets. Supports configurable portrait, landscape, or square output; frame rate, quality, fades, and phone geometry; validated specs; and reusable Python entrypoints. Includes prerequisites, CLI options, and composition examples.

The shared film guidance is feature-neutral. Personal post copy, competitor references, prior launch plans, and recordings are excluded. Recording also works independently using the documented ffmpeg command.

How I tested it

  • Both skills passed frontmatter validation; git diff --check passed.
  • Rendered synthetic test footage through normalization, phone segments with and without the island overlay, unframed footage, text/image cards, an end card, and contact-sheet generation. Verified the output with ffprobe: 1080×1920, 30fps, six seconds. Visually inspected the contact sheet.
  • python3 -B -m unittest discover -s .agents/skills/mobile-demo-film/scripts -p 'test_*.py' passed (4 tests, including real ffmpeg rendering across portrait/landscape/square sizes at 30/24/12fps, duration checks, invalid specs, and CLI errors).
  • Verified the original portrait spec still renders and visually checked a 1280×720, 24fps landscape contact sheet.
  • bun run lint passed after the refactor.
  • bun run typecheck passed earlier (42 tasks); subsequent changes add only Markdown and a standalone Python script.
  • Earlier bun run test was stopped after approximately eight minutes during host-service Git/filesystem fuzz tests. No failed test cases were reported before stopping; the full suite is incomplete. Mobile (94 tests) and desktop (4,011 tests) completed with zero failures.
  • The recording instructions document the preceding simulator recording session; I did not repeat an app recording for this PR.

Checklist

  • PR title follows conventional commits (type(scope): subject)
  • bun run lint and bun run typecheck pass (CI fails on lint warnings too)
  • "Allow edits from maintainers" is checked on fork PRs (not applicable: same-repository branch)

Summary by CodeRabbit

  • New Features

    • Added a workflow for recording mobile app demonstrations on an iOS simulator.
    • Added configurable tools for creating polished portrait demo videos with phone frames, overlays, title cards, transitions, color options, and raw footage.
    • Added video normalization, composition, validation, and contact-sheet generation capabilities.
  • Documentation

    • Added guidance covering setup, recording conventions, video editing, composition specifications, review, delivery, and cleanup.
  • Tests

    • Added coverage for video rendering, validation, normalization, contact sheets, and command-line error handling.