Communitygithub.com

news-video-production

A complete workflow for producing vertical short news videos: read Feishu docs and scripts specified by the user, apply fixed 3-second-per-shot news templates (total duration = shots × 3s; voiceover/interviews are cut by speech), use T01–T04 theme packages, compose with Remotion, add trending TikTok music and sparse sound effects; after production, enforce mandatory checks on assets, subtitles, cover, and TikTok subtitle/action safe zones, deliver a CDN preview only after technical checks pass, and archive locally and to Feishu upon confirmation. Suitable for news shorts, industry briefings, battery-swapping/new energy topics, and tasks mentioning T01–T04, news video templates, Remotion editing, or TikTok safe zones.

What is news-video-production?

The news-video-production skill provides a complete, automated pipeline for creating vertical short news videos. It is designed for developer tools like Claude Code, Cursor, and Codex, and is particularly valuable for teams producing short-form news content, industry updates, or quick information videos. The skill reads scripts from Feishu documents, applies one of four predefined packaging templates (T01–T04—e.g., blueprint style, quick-card, topic-video background, or red-white geometric), and uses Remotion for programmatic video composition. Key capabilities include: fixed 3-second-per-shot pacing (or voice-driven cuts for spoken content), automatic asset retrieval and download, trendy TikTok background music integration, and sparse but impactful sound effects. The workflow enforces strict, automated quality checks before delivery—covering technical specs (bitrate, resolution, frame rate), safe-zone compliance for TikTok overlays (title top ≥ 240px, info card bottom ≥ 300px, etc.), subtitle integrity, asset correctness, and cover image formatting. Only after all checks pass is a CDN preview generated; user confirmation triggers local and Feishu archiving with version management. This skill streamlines repetitive production tasks, enforces brand consistency, and eliminates human error in safe-zone compliance, making it ideal for rapid, high-volume news video output.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/wuxi293-maker/news-video-production-skill/tree/HEAD/news-video-production

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

News Video Production

0. Read the Rules First

  • For any duration, layout, sound, or delivery decisions, first read references/hard-rules.md; latest preferences take precedence over old template documents and old SOPs.
  • For template selection and layout, read references/style-guide.md.
  • For applying or adding packaging themes, read references/theme-system.md; template engineering is in assets/theme-kit/.
  • For setting up Remotion projects and writing compositing code, read references/remotion.md.
  • For music, sound effects, and mixing, read references/audio.md.
  • After production, you MUST read references/self-check.md and run all checks before allowing CDN delivery.
  • For delivery, archiving, and Feishu upload, read references/delivery.md.
  • For changing environments, installing dependencies, or initializing projects, read references/install.md.
  • For exceptions, read references/pitfalls.md.

0.1 Paths and Environment

  • SKILL_DIR = the root directory of this Skill (containing SKILL.md). All scripts must use "$SKILL_DIR/scripts/..." to call, never hardcode /home, /Users, /runtime, or drive letters.
  • When using this in a different environment for the first time, run python3 "$SKILL_DIR/scripts/check_env.py" first to confirm Node 18+, FFmpeg, ffprobe, and npm/npx are available.
  • If Chromium is missing, run npx remotion browser ensure; if Feishu/CDN is unavailable, fall back to local archiving, a cloud drive, or any accessible mp4 link—do not block production.
  • Initialize a Remotion project: bash "$SKILL_DIR/scripts/scaffold_remotion.sh" ./remotion-news-video; on Windows, use scripts/scaffold_remotion.ps1.
  • For detailed dependencies, offline processing, and Windows paths, see references/install.md.

1. Receive the Task

Extract four categories of information from the user input:

  1. Script Source: Feishu document link + script name/chapter; read only the specified paragraphs.
  2. Template: T01 / T02 / T03 / T04; if the user does not specify, determine based on content per style-guide.md.
  3. Special Requirements: Number of title lines, whether to use screenshots, background video orientation, voiceover/no voiceover, cover image, publishing platform, safe-zone preset.
  4. Assets: Links or local files provided by the user; the assistant retrieves, screenshots, downloads, and saves the rest.

When critical materials are missing, first list the gaps; do not guess numbers, dates, responsible parties, factual representations, or system status.

2. Read the Script, Define Shots

  • Read only the specified document and sections; do not alter facts, numbers, or titles.
  • Extract: script title, each paragraph's body/key points, visual suggestions (for reference only), publishing copy, sources.
  • Delete invalid sections like "News Edition/Shot 1"; count the number of valid paragraphs as N.
  • News templates have a fixed 3 seconds per shot; total duration = number of shots × 3 seconds. To change total duration, add or remove shots—do not lengthen or shorten individual shots.
  • For voiceover/interview content, do not apply the 3-second rule: cut according to the script and speech rhythm, with per-shot duration calculated based on actual speech length.
  • First output a shot table: segment number, asset, body text, key words, transition, audio node, corresponding card.

3. Select the Template

NumberNameUse CaseKey Features
T01Deep Blue / Blueprint News VersionNeeds evidence feel, screenshots, announcements, data supportDark engineering blueprint background; full-frame asset/product pages; warm white news cards
T02White Card Quick News VersionShort info with strong visualsClean background color; full-frame real footage; white cards with red emphasis
T03Topic Video Background VersionLarger information volume, needs atmosphere and rhythmTopic-related video with blur as background; white cards with yellow highlights
T04Red-White Geometric VersionIndustry/exhibition/data quick news, red-white primary + yellow accentRed-white gradient background with geometric diagonals; full-frame asset strip; white rounded cards; data capsules
  • Longer videos (approx. 30+ seconds or 10+ shots) do not have to rigidly follow T01–T03; use common layouts, with background optionally from T03's topic video.
  • For new styles, prioritize adding a theme file in assets/theme-kit/ and register it in theme/registry.ts; do not modify common components. If a different structure is needed, use ThemeEntry.Film/Cover to override.
  • All templates must comply with the latest layouts and safe zones from hard-rules.md: titles left-aligned and bold, subtitles/info card bottom bar always visible, no stroke on cards, timeline inside the card, no account/column text in the end card.
  • T04's old version from 2026-11-26 has cards bottom-aligned (bottom 90px), which no longer meets the current TikTok safe zone; new videos must use the safe version coordinates with bottom ≥ 300px, see style-guide.md.

4. Find Assets

  • Assets are retrieved, screenshots taken, downloaded, and saved by the assistant; even links provided by the user must be saved locally.
  • Mix images and real video footage—do not use static images for the entire video.
  • Each asset appears only once; if assets are insufficient, use info cards, charts, or new assets—do not repeat the same angle.
  • Background/real footage fills the full frame; product cutouts are allowed in the "product page" layout, but must avoid covering titles and info cards, and must not crop out key parts of the product.
  • Real video footage must be uniformly converted to 30fps CFR: use setpts to align with the source frames, do not use motion interpolation; see remotion.md for the exact command.
  • Hard cuts are primary; 4–8 frame crossfades may be used between images↔real footage or product pages, and other transitions only for chapter/time-space jumps—do not stack transitions at every cut point.
  • Record a _source.json: purpose (fact/context), sourceUrl, license; for product cutouts, record the original image URL and the processing script.

5. Remotion Composition

  • Always use Remotion; no more PIL/Pillow frame-by-frame scripts.
  • Composition: 1080×1920, fps=30; news template durationInFrames = number of shots × 90 (3 seconds per shot); the cover freeze frame is counted separately; use --no-duration-check to verify other specs.
  • The main title uses only the script title, fixed throughout the video, left-aligned and bold; what changes per segment is the info card conclusion/body, not the main title.
  • Subtitles/info card bottom bar are always visible; no stroke on cards; timeline is placed inside the card; the end card does not retain the account and column text in the bottom-left corner.
  • TikTok safe zone constants: TP01/T01 title top ≥ 240px, platform minimum approx. 120px (T04 current 148px requires preview verification); bottom info card bottom edge ≥ 300px from bottom (card bottom y ≤ 1620); right side 120px (x > 960) no key data; left edge ≥ 56px.
  • After rendering the master, use FFmpeg to package it into a 12Mbps MP4; the actual video bitrate must not be lower than 11.0Mbps.
  • For detailed engineering structure, code snippets, and render commands, see references/remotion.md.

6. Audio

  • BGM: use only trending TikTok music, not AI-generated; must record the track name, source link, and download date; if old projects have unverified BGM, do not claim it's "TikTok trending."
  • BGM mixing gain approx. 0.20; prioritize voiceover clarity.
  • BGM can have 0.3–0.8 second fade-in/fade-out at the start and end to avoid hard starts/cuts; do not add meaningless crossfades in the middle.
  • Sound effects: apply only at key nodes like segment starts, data cards, and endings; approx. 10 effects per 100 seconds, not per shot.
  • Sound effects prioritize royalty-free real recordings; UI/mechanical clicks can use programmatic synthesis, but must retain the generation script and parameters; do not replace whoosh/impact with synthetic sounds.
  • See references/audio.md for details.

7. Pre-Delivery Self-Check (Hard Gate)

Must run the full check after every production; do not deliver via CDN or overwrite the local output until it passes.

  1. Technical check:
    python3 "$SKILL_DIR/scripts/qc_video.py" <final.mp4> --expected-duration <seconds> --json-out qc_report.json
    
  2. Frame sampling check: first/middle/last frames of key segments, subtitle transition frames, end card; must sample from the final mp4, not just Remotion stills.
  3. Safe zone check:
    python3 "$SKILL_DIR/scripts/safe_area_check.py" <final.mp4> --preset tp01 --times <seconds,seconds,...>
    
    Verify that titles, info cards, data, sources, end cards, and covers are not obscured by top/bottom/right action areas.
  4. Asset check: semantic correspondence, no black frames, freezes, glitches, low-res upscale, stretching, watermarks; product cutouts have no white edges, no cropping, not covered by cards.
  5. Subtitle check: bottom bar always present, no flickering on transitions, no double-line stacking, no overflow, no typos/orphan characters.
  6. Cover check: 3:4 (1080×1440), TP01 title top≥240, T04/TP02 title top≥120, subject and bottom info within safe zone; if the version has a bottom info card, do not crop directly from 0–1440 of the 9:16 version; use a separate frame without the card for the cover.

Write each item as "Pass/Not Pass/Reason/Modification" to qc_report.json or qc_notes.md. If not passing, fix, re-render, and re-check.

8. Delivery

  • First, send a CDN mp4 preview in the conversation; archive locally only after user confirmation.
  • Local directory: date_script_name/; video file name = script name; during production, use _v1/_v2/... to differentiate process versions; after user confirms the final version, keep only that final _vN.mp4 and the final cover, delete all process versions and temporary renders from the same project.
  • When referencing past videos, read only the last version (highest number, confirmed version); old versions are not used as style or asset references.
  • Cover naming: script_name_cover3x4_vN.jpg; keep only the cover matching the final video version; delete process covers.
  • For Feishu delivery, write to the specified document/cell; single files >20MB use CDN/split/cloud drive channels; cross-tenant attachments use the sheet material upload channel.
  • The delivery note must include: final version, duration, resolution, frame rate, measured bitrate, BGM source, and self-check conclusion.
  • For detailed process and pitfalls, see references/delivery.md and references/pitfalls.md.

Related Skills