CommunityProductivity & Collaborationgithub.com

geniusdapeng-collab/WorkLoom-video-edit

Official video editing script suite (v2): Merges scriptwriting and first-draft editing into a frame-level timeline—shot selection with four-dimensional weighting, source/main track separation, transition syntax, sound design (J-cut/L-cut/ducking/silence), and executable validation. Includes full prompt and executor boundaries.

What is WorkLoom-video-edit?

This skill is a comprehensive, professional-grade video editing script system (version 2) that transforms narrative plans into a frame-level, machine-executable timeline and a human-readable editing script. It is designed for use with AI agents like Claude Code, Cursor, or Codex to automate advanced video post-production tasks. The core innovation is a single 'executable contract' that merges shot selection, transitions, sound design, and quality validation into one coherent data structure, eliminating gaps and overlaps common in traditional scripting. Key features include a four-dimensional shot selection framework (information density, quality, continuity, uniqueness), a strict source/main track separation with temporal constraints, a professional transition syntax (including match cuts and jump cuts with required motivations), and sophisticated sound design capabilities (J-cuts, L-cuts, ducking, silence). The skill enforces runtime boundaries for clip durations, transitions, and sound handles, and includes a built-in verification system with hard failures for invalid states, making it suitable for high-quality automated or AI-assisted editing workflows.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/geniusdapeng-collab/WorkLoom-video-edit/tree/HEAD/bundles/video-edit/skills/edit-scripting

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

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

Documentation

Editing Script and Frame-Level Timeline (edit-scripting v2)

Pre-requisite (read first): docs/video-edit-creation-doctrine.md. The film-level fields in the editing script follow the same standards as the closure sheet: overall_style / music_selection / color_grading / story_overview; each scene group includes storyline / emotional_arc / editing_suggestions; the timeline declares a pacing profile; if default profile values are not met, only advisory items are generated. Subtitles are NOT written here—they are bound to shots via the "Editing Script Caption Version" using original material timecodes (see caption-craft).

1. From "Text Script" to "Executable Contract"

The old workflow split "scriptwriting" (scene-level fields) and "editing script draft" (original_timestamp + duration) into separate stages, causing:

  • Timelines calculated by models often overlapped, left gaps, or mismatched total duration;
  • Only 5 transition enums and a single "priority" for sound, unable to create layered edits;
  • Beautifully written scene details still required manual re-interpretation for execution.

v2 merges them into a single contract: edit_timeline (machine-executable) + edit_script (human-readable). Both must be consistent; in case of conflict, the timeline takes priority and the script is backfilled.

2. Four-Dimensional Shot Selection (Not "Pick the Nicest")

DimensionCriteriaCounterexample
Information DensityDoes the shot advance the narrative or provide new information?A second empty shot repeating the same idea.
Visual QualitySharpness/exposure/stability/noise (signal-level metrics)Shaky, blurry frames used for emotion (unless explicitly asking for "roughness").
ContinuityDoes it match preceding/following shots in scale/motion/eye-line/lighting/color?Three consecutive same-scale, same-angle shots (jump-cut feel).
UniquenessHas this shot been used before? Is it replaceable?Repeatedly using the same empty shot to fill time.

Priority: Narrative necessity > acceptable quality > smooth continuity > visual beauty. Never sacrifice narrative for beauty.

3. Timeline Contract (Executor Boundaries)

  • Source track: sourceIn/sourceOut (seconds, precise to milliseconds) + frame number; multiple selections from the same source must not overlap, with interval ≥1s (ideal ≥2s).
  • Main track: naturally derived from clip sequence; must be continuous with no gaps (end of previous = start of next), starting from 0.
  • Clip duration: 0.4–15s (up to 20s for educational content, must specify reason); clips shorter than 0.4s are invalid unless used as a timed beat.
  • Speed: 0.1–8×; slow motion is preferred only when source frame rate ≥ fps×2 (otherwise, state quality loss).
  • Transitions: cut (default, hard cut preferred)/dissolve/fade_from_black/fade_to_black/wipe/match_cut/jump_cut/whip_pan/zoom_blur; duration ≤2s. Match cuts and jump cuts must state motivation.
  • Sound: original/mute/ambience_only/bgm_only/duck_original/j_cut/l_cut; J-cut = next segment's audio starts early, L-cut = current segment's audio continues; offset written in jCutOffsetSeconds.
  • Subtitle placement: placement + number of lines; safety zone taken from target.safeAreas.

4. Transition Syntax Quick Reference (Professional Editing Terminology)

ScenarioRecommendedReason
Progression within same sceneHard cutLeast intrusive; jump cuts only for time compression.
Time/space jumpDissolve or blackClearly signals "skip" to avoid viewer disorientation.
Action continuityMatch cutUse matching action/shape/direction to establish causality.
Emotional shiftWhip pan/zoom blur (use sparingly)"Accent" for high-rhythm sections; use no more than 2–3 times per film.
Return to a motifHard cut with similar compositionCreates resonance without explanation.

Discipline: Transitions are "punctuation between sentences," not decoration. Every non-hard-cut transition must explain what problem it solves.

5. Sound Design (Half of Editing Is Sound)

  1. Original audio first: Keep original sound by default; replace only on explicit request. When original audio conflicts with BGM, first duck (duck), then consider lowering BGM volume.
  2. J-cut/L-cut: Prioritize use at scene transitions in interviews, voiceovers, travel narration; sound arriving before or lingering after the picture significantly reduces "stitching" feel.
  3. Silence and pauses: 0.5–1.5s of silence (including ambience) before emotional peaks is more effective than adding music; write into silenceNotes.
  4. Sound effects: Use only for on-screen actions (placing objects, closing doors, footsteps, page turns); do not pile effects for rhythm.
  5. Music beats: When a beat grid is available, snap cuts to beat points (±80ms); align chorus entry to emotional peaks.

6. Prompt Body (Directly Usable, v2)

You are an "Editing Director." Task: Convert a narrative plan into a frame-level timeline (machine-executable) and a human-readable editing script, ensuring both are consistent.

[Input]
- Narrative plan: structure/beat table/emotion curve/rhythm map/footage mapping: {{ story_plan }}
- Footage pool: shotId for each shot, frame-level interval, duration, scale, camera movement, quality score, emotion, usability, highlights, and keyframe IDs: {{ material_index }}
- Target: duration {{ duration_band }} | aspect ratio {{ aspect_ratio }} | fps {{ fps }} | platform {{ platform }} | safe areas {{ safe_areas }}
- Original audio strategy and BGM intent: {{ audio_intent }}

[Hard Rules]
1. Each clip must specify: source shotId, frame-level sourceIn/sourceOut, duration, shot selection reason (motive), and which highlight/keyframe it relates to.
2. Multiple selections of the same shotId on the source track must not overlap, with interval ≥1s; if not met, change footage or extend interval.
3. Main track is continuous with no gaps; total duration falls within target band (tolerance ≤5%).
4. Default transition is hard cut; any other transition must state motivation; transition duration ≤2s.
5. Sound design written into audio field (mode/fade in-out/J-cut offset/ducking); silence written into audioDesign.silenceNotes.
6. Timecodes always `HH:MM:SS.mmm`; descriptions like "about 3 seconds" are not allowed.

[Output JSON (two objects, same content)]
1) edit_timeline: follow schemas/edit-timeline.schema.json
2) edit_script: per-segment storyline/shot explanation/transition/sound/subtitle points (human-readable)

[Self-check (internal before output)]
- Total duration = sum of all segment durations (explain if transitions do not consume extra time)
- No overlaps, no gaps; clip durations within legal range
- Each segment has a shot selection reason; each segment references a valid id from the footage pool
- Transitions and sound modes are from valid enums

Decision Principles (Including Thresholds and Failure Conditions)

  1. Timeline is the sole execution source of truth: If script conflicts with timeline, timeline takes precedence and script is backfilled; inconsistency prevents synthesis.
  2. Source track no overlap, main track no breaks: Minimum interval between same-source clips ≥1s (ideal ≥2s); main track continuous with end of previous = start of next.
  3. Clip duration is a hard range: 0.4–15s (up to 20s for educational content with reason); <0.4s invalid except for beats.
  4. Default transition is hard cut: Non-hard-cut transitions must state motivation, duration ≤2s; total non-hard-cut transitions ≤5 (whip pan/zoom blur ≤2).
  5. Failure condition: If any of the following exist—missing footage, authorization not covering current use, or infeasible frame rate—reject timeline generation (no silent degradation).

Playbook (Scenario → Action Sequence → Criteria)

  • Main line·Align by beat: Read structure → per-beat shot selection → set in/out → arrange main track → sound design (criteria: duration band hit + all selection reasons provided).
  • Branch·Accelerate rhythm: Shorten average shot duration, increase short shots (0.6–1.2s) and hard cuts (criteria: cutsPerMinute matches rhythm map).
  • Branch·Emotional passage: Lengthen single shots, leave ambient silence, use J-cut to bring in voiceover early (criteria: average shot duration in emotional passage ≥ adjacent passage ×1.5).
  • Branch·Transition bridging: Prioritize match cuts (action/shape/direction), then dissolve; whip pan only for rhythmic accent (criteria: motivation can be restated).

SOP (Each Step with Trigger/Response/Failure Path)

  1. Trigger (structure and review passed) → per-segment shot selection with motive → response: edit_script shot table; failure: if footage unavailable or authorization insufficient, swap footage or mark gap, do not force use.
  2. Trigger (shot table confirmed) → generate frame-level edit_timeline → response: timeline + validation block; failure: same-source overlap or main track break triggers rollback and re-sort, do not deliver defective timeline.
  3. Trigger (timeline generated) → local verification (edit:verify standard) → response: list of hard and advisory items; failure: if any hard item fails, entire timeline is rejected for synthesis, with per-segment correction instructions.

Key Metrics (With Baseline and Guardrails)

MetricDefinitionBaseline/ThresholdTypeSource
Duration Band Hit RateFinal duration within target band / targetTolerance ≤5%Guardrailedit:verify
Hard Item First-Pass RateTimelines passing first verification / total submissions≥95%QualityVerification report
Footage Usability RateReference footage with authorization and availability passed / all references100%GuardrailAuthorization list
Transition Rationality RateNon-hard-cut transitions with motivation / total non-hard-cut100%QualityScript sampling
Rollback RateTimelines rearranged due to structural issues / total submissions≤10%CostRework log

Failure Modes (Symptom → Detector → Action)

SymptomDetectorAction
Executor reports overlapping timelineSame-source clip interval insufficientAdjust in/out or replace with different footage; do not silently change duration.
Final product has stutters/black framesClip duration too short or transition parameters invalidMinimum clip 0.4s; transition ≤2s; black only for time jumps.
Sound doesn't connectJ-cut/L-cut or ducking missingAdd audio overlap at scene transitions; add duck where original audio and BGM conflict.
Result feels like a slideshowEvery clip uses full duration, no rhythm variationForce alternating short/long clips per tempoMap; add 0.6–1.2s short transitions.
Audience can't watchNo hook in first 3 secondsPlace highest-rated highlight in 0–3s; optionally frontload the result.

7. Self-Checklist (Manual Review)

  • Timeline is directly consumable by the executor (complete fields, valid enums, correct timecode format)
  • No same-source overlaps, interval met; main track continuous
  • Each non-hard-cut transition has a motivation description
  • Sound design covers the entire film (including silence and beats), not just "add a BGM"
  • Each clip points back to a valid footage id, and footage usability is marked as available
  • Script and timeline are consistent (duration, order, segment count)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

geniusdapeng-collab/WorkLoom-video-edit

配乐交付规范官方套件:原节目默认来源、显式独立分轨授权、单次实际混音、曲目许可与字节证据,完整平台/电平/选段工艺参数和用户返修归因。成功源镜不经声音品质复检,不按余量/可闻度/卡点分数自动重试或降级;绑定 G-BGM0..G-BGM5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

曲库与许可合规官方套件(随 bundles/ai-video 分发):无版权曲库怎么接、许可白名单与商用红线、TASL 署名怎么出、AI 生成音乐的许可陷阱(MusicGen 权重 CC-BY-NC)、自算作曲为什么是默认路径。安装后被 BGM 配乐师调用;绑定围栏 G-BGM0..G-BGM5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

配乐定调官方套件(随 bundles/ai-video 分发):题材×场景×情绪→调式/调性/BPM/和弦/配器/结构的选型法,含 32 个题材配方(16 既有 + T-15 新增 16)、速度决策(配方 BPM vs 剪辑点反推)、禁忌清单与"允许不配"。安装后被 BGM 配乐师调用;绑定围栏 G-BGM0..G-BGM5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

人声分离纪律官方套件(随 bundles/ai-video 分发):什么时候真需要分轨、两档引擎链(demucs/audio-separator → ffmpeg 中心声道近似)、质量等级与诚实标注、单声道与失败处理、与 UVR/Spleeter 的关系。安装后被 BGM 配乐师调用;绑定围栏 G-BGM0..G-BGM5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

SRT/ASS、字体解析、实际烧录与文字扩展轨的完整执行纪律;默认一次处理、原片原声保持,核对时间轴和真实产物,不抽帧评审可现度或循环选优;遵守 G-SUB 围栏的原片、字体、权限和执行回执约束。

geniusdapeng-collab/WorkLoom-video-edit

摄影知识库调用技能(随 bundles/ai-video 分发):19 篇九章式摄影知识(光学/景别/运镜/光线/色彩/材质/天气/风格/情绪),每篇第六章是「意图→提示词」核心调用区。用于写镜头提示词前定光圈/焦距/景别/光位/色调/材质,把参数意图翻译成画面语言。绑定制片与摄影指导岗位及围栏 G-KB0–G-KB4;卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

调色交付规范官方套件:Rec.709 本地加工、平台派生、滤镜和来源证据、真实产物哈希、版本回滚与用户反馈归因。成功渲染素材默认接受,保留完整参数与工艺参考,未测画面品质如实为空,实际缺件、授权或加工失败保持阻断;绑定 G-COL0..G-COL4,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

调色执行纪律官方套件(随 bundles/ai-video 分发):规格读取、明确校正与风格配方、单次请求加工、多镜参考匹配、来源和输出字节留痕,保留目标值与 profile 工艺知识。成功源镜默认接受,独立诊断不接入品质否决或自动重做;绑定 G-COL0..G-COL4,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

题材、场景、情绪与平台到单次调色配方的选型方法;保留题材表、参数建议、操作流程与失败诊断,成功渲染素材默认进入后期,不以画面评分复核或重做。

geniusdapeng-collab/WorkLoom-video-edit

多镜色彩一致性官方套件:指定参考镜、逐镜派生曝光和色度校正、完整批次结果、原片只读与当前字节证据。保留参考选择与诊断残差的工艺知识,成功源镜默认接受,成片不以残差、肤色或主观跳变自动拒绝重做;绑定 G-COL0..G-COL4,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

评论三级分流 SOP 官方套件(随 bundles/ai-video 分发,F8.1 官方套件级):评论采集→意图分类→三级分流(夸赞 auto/咨询 review/负面 review+告警/敏感 block)、投诉维权关键词必审+告警、外发回执落账。安装后被评论区运营调用;绑定围栏 G10,卸载即撤销(F8.2/L8.3)。

geniusdapeng-collab/WorkLoom-video-edit

封面设计官方套件:按明确标题、主视觉镜号/时刻、平台与账号字体色板一次本地合成,保留字号、安全区、人物布局和标题工艺知识。成功源镜默认接受,不调用模型选帧或整图质量评审,不做 PSNR/墨迹投票自动重做;实际来源、字体、请求和产物失败明确,绑定 G-MAT1/G-SUB3。

geniusdapeng-collab/WorkLoom-video-edit

封面设计知识库(cover-kb)调用技能。为封面设计师岗位提供「平台规范 / 账号定位 / 题材映射 / 钩子公式 / 构图工艺」的结构化检索与注入纪律(14 篇九章式,确定性检索,无向量库)。绑定围栏 G-SUB2/G-SUB3/G-MAT1;卸载即撤销封面 know-how 注入能力。

geniusdapeng-collab/WorkLoom-video-edit

母版、旁挂字幕、软轨、封面、变体、工程与清单的完整交付纪律;含产物表、变体设计、执行参数、来源哈希与逐层失败 SOP。按声明配方实际执行,保留来源与真实错误,不以差异评分、声音质量或默认增强模型再次拒收素材;绑定 G-DLV0..G-DLV9,供后期交付与封面岗位调用。

geniusdapeng-collab/WorkLoom-video-edit

返修闭环官方套件:反馈归因、层影响分析、基础工程版本/SHA 前置条件、独占版本认领、本地增量重合成与复用证据。保留完整反馈表、并发冲突和存储失败 SOP;成功镜头默认接受,组件或旧品质失败不重新生成,点名新生成保持 G8/G-DLV5,绑定 G-DLV4..G-DLV7。

geniusdapeng-collab/WorkLoom-video-edit

导演评审官方套件(随 bundles/ai-video 分发,F8.1 官方套件级):6 问评审 + 5 维评分 + 硬阻断打回、事实红线一票否决、跨集连贯性校验,含硬阻断优先级/平均分不得掩盖短板/事实红线以 confirmed 字段为准等决策原则、四种评审形态打法、五步 SOP 与失败模式表。安装后被连贯审查官调用;绑定围栏 G6,卸载即撤销(F8.2/L8.3)。

geniusdapeng-collab/WorkLoom-video-edit

字体许可合规官方套件(字幕师专业套件):OFL-1.1/Apache-2.0/厂商免费商用三类白名单判定、OFL 四条义务(可商用/禁单售/改后改名/保留声明)、不做子集化的理由、客户自备商用字体的登记口径、证据留痕与围栏 G-SUB5 对应关系。安装后被字幕师调用;绑定围栏 G-SUB1/G-SUB5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

字体选型官方套件(字幕师专业套件):场景×语言硬过滤、五维加权打分(作品类型/BGM节奏/粗细/艺术气息/气质关键词)、账号视觉锤锁定、中英混排搭配、上位提示词气质命中、否决项与"允许报告无合适字体"。安装后被字幕师调用;绑定围栏 G-SUB0/G-SUB1/G-SUB3/G-SUB5,卸载即撤销。

geniusdapeng-collab/WorkLoom-video-edit

情报五站方法论官方套件(随 bundles/ai-video 分发,F8.1 官方套件级):采集/评价/竞品/核验/装订五站流水,含决策原则(无源不入库/置信度三级/域名去重/冲突不仲裁)、实物 8 路与服务 6 路两套打法、五步 SOP(每步带回执与失败路径)、关键指标护栏与失败模式表。安装后被情报科五站与调研员调用;绑定围栏 G1,卸载即撤销(F8.2/L8.3)。

geniusdapeng-collab/WorkLoom-video-edit

原声 program、显式签章分轨与配乐的来源、策略、时间轴和一次混流方法;默认保留原声,不自动分离或测声音品质,真实非法分轨与混流失败明确停止。

Related Skills