Communitygithub.com

geniusdapeng-collab/WorkLoom-video-edit

字幕、标题、弹幕与贴纸的字号、平台位置和分层设计;保留公式与平台参考,执行完整传入文字和时间轴,不以源片画面采样或固定密度默认删改;绑定 G-SUB0..G-SUB6,供字幕师按声明参数执行。

WorkLoom-video-edit 是什么?

WorkLoom-video-edit is a Claude Code agent skill that 字幕、标题、弹幕与贴纸的字号、平台位置和分层设计;保留公式与平台参考,执行完整传入文字和时间轴,不以源片画面采样或固定密度默认删改;绑定 G-SUB0..G-SUB6,供字幕师按声明参数执行。.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/geniusdapeng-collab/WorkLoom-video-edit/tree/HEAD/bundles/ai-video/skills/subtitle-layout-design

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Subtitle Layout Design

Default Policy & Input

Successfully rendered footage defaults to entering formal post-production. The text layer takes the user-provided body text, line breaks, timeline, font, and platform as factual input; the original audio track is preserved. By default, do not extract frames to measure source brightness, texture, or contrast, do not reject based on visibility scores, and do not automatically transcribe, re-dub, or alter dialogue.

First record the actual canvas, font ID, platform, scene, and explicit parameters; the following design values are used to generate schemes, with user explicit requirements taking priority. Suggested line counts, word counts, or concurrent count limits must not be treated as default deletion thresholds.

1. Process Criteria & Font Size Derivation

Font Size = Short Side × Scene Base Ratio × Stroke Weight Correction × Platform Multiplier
Stroke Weight Correction = 1 + (2.5 − Font Stroke Weight) × 0.04
Stroke Outline Suggestion = Font Size × 0.06; for complex backgrounds, 0.08
Safe Margin Suggestion = Short Side × 0.05
SceneBase RatioSuggested Stroke WeightDesign Purpose
Title0.113..5Short-term recognition, distinct from subtitle layer
Subtitle0.0480.5..3Continuous reading, minimal decoration
Danmaku0.042..4Instant recognition, lane-based layout
Sticker0.072..5Express personality, position in specified area

Historical design references (subtitle short-side ratio 3.8%..7.5%, title 8.5%..16%) are not post-hoc quality gates for already rendered videos. Fixed subtitles should preferably be broken into lines first to avoid compressing character spacing; long text must be fully retained, never silently omitted.

2. Platform Position & Font Size Reference

PlatformAspect Ratio ReferenceSubtitle PositionTitle / Multiplier Suggestion
Default16:9Bottom center, margin 5%Top center, subtitle multiplier 1.0
Douyin / Kuaishou9:16Optionally lift 18%Subtitle 1.05, Title 1.15
Bilibili16:9Bottom center 6%Top danmaku lane reserved
Xiaohongshu3:4Bottom 8%Title multiplier 1.2, optional decorative text
WeChat Channels9:16Optionally lift 16%Subtitle multiplier 1.10
YouTube16:9Bottom or Lower-thirdSubtitle multiplier 0.95..1.0

Platform references come from the included font_db.json layout_policy; they are not real-time platform UI guarantees. Existing account font locking takes priority, and actual PlayResX/Y use the current canvas.

3. Safe Zone & Stroke Strategy

Platform interaction bars, bottom copy, and top subscription areas are provided by the formula's occlusion_zones as design references. When planning, prioritize lifting/lowering, breaking lines, or switching sides; user-specified positions must be executed faithfully. If actual illegal coordinates, missing fonts, or rendering failures occur, stop and do not bypass by frame-sampling reviews that pass the shot as successful.

  • By default, use the fixed formula's text color, stroke, and background. When dark text, light text, or semi-transparent backgrounds are needed, explicitly write them into the scheme.
  • For decorative backgrounds, you may suggest "font size × 0.08" stroke or a semi-transparent black background; a restrained style may use 0.04.
  • Do not automatically reject or loop rearrange based on historical diagnostic values like source brightness ≥62% or detail density ≥28%.

4. Line Breaks & Rhythm

  • Vertical screen design reference: approximately 18 Chinese characters / 42 English characters per line; horizontal screen: approximately 22 Chinese characters. When exceeded, break lines completely, never truncate body text.
  • Subtitles and titles can initially be designed for 2 lines; if the user has already provided multiple lines of body text, retain its content and execute according to actual line breaks and layout.
  • Intro title duration can reference 1.5..4 seconds, commonly 3 seconds; the actual timeline provided takes precedence.
  • Stickers can be designed with 200ms entrance and 1.5..3 second stay; do not override explicit time windows.
  • For bilingual subtitles, the second language can be 12% smaller and shifted down one line; retain the original body text and timeline for each language.
  • Danmaku is arranged by scrolling, top, and bottom modes. By default, retain all incoming entries; only enforce max_chars / max_concurrent constraints when explicitly set, and report processing accordingly. Do not default to 20 characters / 8 entry pruning.

5. Parameter Boundaries

  1. Font size, canvas, and time must be valid finite values. Cue start must not be negative, and end must be later than start.
  2. Fonts must actually exist and have a current use license; silent fallback to system fonts is prohibited.
  3. It is forbidden to overwrite source footage, delete user body text, re-transcribe based on audio quality, or supplement with TTS.
  4. Actual rendering failures must be explicitly reported. If no frame comparison is performed, presence.reviewed=false; if delta/ok is not measured, set to null.

6. SOP & Evidence

  1. Trigger: User requests text track. Read actual canvas, cues, fonts, and platform. Receipt: Input SHA-256, cue count, original text and timeline. Failure: Stop if no timeline, empty body, illegal paths, or missing permissions.
  2. Trigger: Layout parameters are complete. Run subtitlewrite.plan to generate ASS, using actual line breaks and PlayRes. Receipt: ASS file, font ID, font size, margins, and actual entry count. Failure: Report scheme generation errors as-is; do not delete entries to ensure success.
  3. Trigger: Explicit request to burn-in or softmux. Execute the target operation once. Receipt: fontselect, output hash, audio track preserved, and actual canvas. Failure: Stop delivery if tool exits non-zero, font fallback occurs, or artifacts are missing; leave source footage untouched.

7. Failure Modes (Cause → Disposition)

SymptomCause / DetectorDisposition
Font size differs from planPlayRes mismatches actual canvas or font multiplierCorrect the request scheme, save a version; do not regenerate the shot
Characters appear as boxesFont does not contain the character or font parsing failedIdentify missing characters and font, re-execute after selecting a licensed font
Missing multi-line body text or wordsASS conversion, line break, or expired default length rulesRetain complete words and original cues, fix the conversion; do not bypass by shortening dialogue. Note: current SRT Chinese punctuation cleanup is an explicit formatting rule; numbers and English punctuation are kept
Fewer danmaku entries than requestedImplicit density threshold or explicit constraint handling left no traceBy default, retain all; when explicit constraints are present, record each entry's processing and count
User wants a different positionSubjective feedbackReturn via text layer rework, output new scheme and receipt
Burn-in tool failsPath escaping, filter, or encoder errorReport the original error; do not claim subtitle completion

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

相关技能