--- name: china-yt-longform description: >- Batch-produce Alone-in-China / Chinese street-food YouTube long-form assets: CapCut-safe English SRT, viral covers from real footage faces/bodies, English titles/descriptions. Use when the user mentions 剪辑, 长视频, 封面, 字幕, SRT, CapCut 朗读, Alone in China, 夜市, 街拍, 骑行, V3批次, YT_COVER, YT_CAPTIONS, probe_durations, validate_deliverables, or folders of mp4s for YouTube upload. --- # China YT Long-form Batch Ops Pack root = parent of `.cursor/skills/china-yt-longform` (or ask user). Human SOP: `README.md` · Details: [reference.md](reference.md) Scripts: `scripts/probe_durations.py`, `validate_deliverables.py`, `new_batch.py`, `_gen_srt_copy.py`, `_make_covers_v4.py` ## Deliverables (each media subfolder) | File | Role | |------|------| | `YT_CAPTIONS_EN.srt` | EN CapCut 朗读 TTS | | `YT_COVER.jpg` | 1280×720 (`YT_COVER_ALT.jpg` optional) | | `YT_TITLES.txt` | 5 EN titles + description + tags | One subfolder = one YT video. Multiple mp4s = concat by summed duration. `_` / `.` prefixed dirs = tools/cache, not media. ## Workflow ``` - [ ] 1. python scripts/probe_durations.py - [ ] 2. CapCut-safe EN SRT (dense) - [ ] 3. YT_TITLES.txt - [ ] 4. Covers from REAL frames (no AI faces; no yellow boxes) - [ ] 5. python scripts/validate_deliverables.py → must pass ``` Default order: **SRT + titles → covers**. Pure AI; no unrelated Boom kits unless asked. ### New empty batch ```bash python scripts/new_batch.py "D:/Desktop/V3-YYYY-MM-DD主题" street nightmarket ``` Then drop mp4s, probe, edit pack scripts, generate, validate. ## CapCut SRT (hard) - English; match food / street / beauty / alone-in-China - **1 line/cue**; **no overlap**; gap ≈ 0.28–0.35s - Duration ≥ speech (~2.3–2.4 wps + buffer) - ≈ 1 cue / 8–12s; ≥8 min → **40–60+ cues** - Pass validate: overlap=0, multiline=0, last end ≈ duration ## Cover (hard) **Pixels (never print on image):** real faces/bodies (prefer women); face + readable figure. **On-image text only:** viewer hooks — `UNDER $3`, `SHE LOOKED AT MY CAMERA`, `MALATANG STEAM`… **Forbidden on cover:** 人脸 / 全身 / 中国女人 / FACE+FULL BODY / CHINA GIRL; yellow frames; sticker badges. Design: real-frame composite + left hooks + soft shade. Use v4-style; no yellow insets. ## Titles Viral, honest Alone-in-China / night-market / street POV. ## Fix loop | Complaint | Action | |-----------|--------| | Meta cover text | Viewer hooks only | | Yellow box | Remove frames/badges | | Sparse SRT | Add lines + regenerate | | validate fails | Fix listed issues, re-run | ## Script notes - Prefer pack `scripts/` tools; copy into batch root when customizing - Unicode JPG: `cv2.imencode` + `Path.write_bytes` - Deps: `pip install -r requirements.txt`