--- name: edit-video description: The one-command first-pass edit. Takes footage from raw video/, transcribes it, cuts retakes and dead air while keeping a natural vlog rhythm, keeps B-roll, and builds the timeline in the open DaVinci Resolve project (footage in bins, a copy of the creator's template timeline, markers, zoom, grade, audio normalize). Use for "/edit-video", "edit the new video", "do it", or follow-up changes to a cut. --- # Edit video (the whole flow) The creator drops footage in `raw video/`, opens their Resolve project and says "do it". You run the whole thing and stop only for: - **a frame-rate mismatch** between footage and template timeline (ask; never choose for them), - **a failure that happened twice** (report the script's exact error and what they must fix). Prerequisite: `video-editor-setup` is done (folders, scripts, CLAUDE.md). ## 1. Check Run your `doctor` script. No video named? Pick what's in `raw video/` without a finished build report; if several, ask which. ## 2. Ingest Probe, read picture profiles, transcribe (verbatim, word timestamps), detect silences, write a manifest. Report anything odd: - picture profile *guessed* (no camera sidecar) → say so; never put a log LUT on non-log footage; - voice on one channel only (wireless receiver in stereo mode) → make sure the voice plays on both sides; - mixed frame rates; **vertical clips** (they will crop hard in a horizontal or 4:3 frame). ## 3. Cut Follow `rough-cut` for what to keep (by word index) and `vlog-pacing` for how much air to leave. Clips with no speech are B-roll: follow `broll`. A subagent ("story editor") is a good fit: give it the video name and the skills; it writes the keep-list and the markers and runs the planner. ## 4. Build Follow `resolve-scripting`. Order inside the build: 1. footage into the footage bin; 2. copy the template timeline into the timelines bin as "