CommunityCoding & Developmentgithub.com

geniusdapeng-collab/WorkLoom-video-edit

Open source component upgrade monitoring and execution skill. Trigger phrases: "Upgrade open source components", "Scan for open source component updates", "Execute open source component update plan", "Upgrade DeepSeek Harness and other base dependencies". Provides a complete closed loop: "Inventory registration → Periodic scanning → Update plan → One-click execution → Full gating → Release". Any AI Coding Agent can use it directly after cloning this repository.

What is WorkLoom-video-edit?

This skill, named 'oss-watch', is designed for AI Coding Agents to automate the monitoring and upgrading of open-source dependencies within a single repository. It provides a complete closed-loop workflow that includes inventory registration, periodic scanning, update plan generation, one-click execution of upgrades via separate pull requests, full gating with type checking, tests, and suites, and finally release. The skill supports multiple package channels (npm, github, docker, skill) with repository address tracking for critical change logs and breaking change assessment. It enforces strict upgrade discipline, such as not allowing direct commits of `pnpm update`, handling version bumps in separate commits (with `dsh` always isolated), and requiring human approval for major/destructive upgrades. The skill also includes a new capability assessment section for each upgrade plan, offering productization ideas for human review, and maintains a history of known pitfalls to avoid common issues.

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

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

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

Documentation

oss-watch · Open Source Component Upgrade Monitoring and Execution Skill

One-line usage: Tell the AI Coding Agent in this repository "Upgrade open source components", and it will automatically run the full process: scan → generate plan → you select scope → upgrade item by item → gating → release. Discipline: Scanning is automatic; upgrades go through separate PRs—"Update plan batching → Gating tests → Merge per agreement §1/§9.5"; destructive/major version upgrades require human review per §3, humans retain the right to halt and rollback. Direct pnpm update commits are forbidden. Optional reminder: This mechanism is an optional capability—when the developer does not initiate it, the repository does not perform any mandatory component checks or upgrade blocks; if you want to know if there are updates, just run pnpm oss:plan at any time.


0. Repository Identity

This repository belongs to the WorkLoom Zhìyuán open-source base family (Agent IM universal base and industry distributions). This skill only manages the component health of this current repository—you don't need to and don't have permission to care about other repositories.

1. Mechanism Quartet (Within the Repository)

ItemPathFunction
Component Inventoryoss-components.json (repo root)Monitored components: name / repo (GitHub URL) / channel / current / cadence / gate / notes
Scannerscripts/oss-watch.shChecks the latest version upstream based on cadence expiry, produces update plan; read-only, does not modify dependencies
Update Plandocs/oss-update-plan.md (scan artifact)"Who has a new version, how far behind, how to upgrade, what gates to pass, new capability assessment" execution ticket
State Ledger.oss-watch-state.json (git-tracked)Last scan time / last discovered version, ensuring cadence discipline continuity across sessions
pnpm oss:watch    # One-click trigger: scan expired components → generate/refresh "Open Source Component Update Plan"
pnpm oss:plan     # Only view current plan (no scan)

2. Registration Discipline for Component Repository Addresses (Answering "What happens if I don't include the URL")

It has an impact, and differs by channel—every component in the inventory must fill in the repo field:

channelUpdate check depends onConsequence of missing repo address
npm (react/hono/dsh, etc.)npm registry, not dependent on repoVersion comparison unaffected, but cannot jump to CHANGELOG for breaking changes, cannot determine repository health—major version upgrades become blind
github (stagehand/gui-agents, etc.)git ls-remote --tags <repo>, strongly dependentThe component becomes blind directly, scanner downgrades to "manual review"
docker (litellm/pgvector, etc.)Image tags + repository releases, strongly dependentCan only manually verify; missing address means loss of contact
skill (computer-use, etc.)Skill source snapshot diff, strongly dependentCannot trace back updates

Repositories with multi-namespace tags (e.g., tauri's tauri-v2.x and v1.x coexisting) must add a tag_prefix field (tauri in the inventory already has tauri-v), otherwise semver sorting may select the wrong namespace.

3. Cadence Strategy (cadence)

CadenceTargetExpiry determination
weeklyFast-iteration stars: @deepseek-ai/dsh, vite, playwright/computer-use, stagehand, browser-use≥7 days
monthlyStable mainstream libraries and self-hosted services (react/trpc/hono/pg/zod/litellm/langfuse, etc.)≥30 days
eventComponents with poisoning history / in KEV list (litellm)No waiting period, check on alert

Components that haven't reached their cadence are automatically skipped—large component lists won't disrupt development rhythm.

4. Standard Process (Agent Execution Script)

0. Environment Precheck (Always run before executing upgrades, distilled from 2026-08-26 combat experience)

# ① Node version: project engines requires >=24 (dsh rc.2+ has hard dependency on node:zlib's zstd API)
node -v   # Must be ≥24; if not: NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node nvm install 24 && corepack enable
# ② corepack/pnpm proxy (necessary when direct connection to npmjs is unavailable):
export COREPACK_NPM_REGISTRY=https://registry.npmmirror.com COREPACK_INTEGRITY_KEYS=0
# ③ Database: docker start workloom-im-pg
#    Note container maps 5432 but .env uses 5433—if forwarding is missing: socat TCP-LISTEN:5433,fork,reuseaddr TCP:127.0.0.1:5432 &
# ④ Clear residual services before tests/suites (prevent port conflicts):
pkill -f "[t]sx.*src/index"; pkill -f "[v]ite"
#    ⚠ pkill patterns must use [t] character class—bare pkill -f "tsx.*" will match pkill's own command line causing suicide
# ⑤ Suite must run isolated in a clean repository: dirty repo reset = drop/create database → pnpm db:migrate → pnpm db:seed → run once

1. Scan: pnpm oss:watch → read out the plan (component/current version/latest version/gap/suggestion) → user selects scope

2. Upgrade Item by Item (one commit per batch, dsh is always a separate batch)

TypeAction
npm pinned dependencypnpm update <pkg>@<target> --filter <workspace> (if filter doesn't match, use pnpm -C <package-dir> update ) → sync inventory current
dsh version lockSeparate batch → update packages/runtime/dsh-gate pin → check dependency changes (rc.2 removed node-pty, dsh-gate.sh has conditional handling; when upgrading further, first diff the dependency tree)
External service selectionOnly update inventory registration and suggested image tags, don't modify runtime

3. Gating Matrix (Must pass after upgrade, execute all gates for component upgrades, not just smoke)

gatecommandapplicable to
smokepnpm typechecktypescript/@types and other pure type components
standardtypecheck + pnpm testGeneral npm dependencies
fullstandard + pnpm suite (full scenario suite)Runtime path components (trpc/hono/react/pg/react-router)
runtime-gatefull + bash scripts/dsh-gate.sh (E6: fence waterfall + hash chain + H-5 kill -9 replay)dsh and Agent runtime related

Any failure → immediately rollback that batch, mark in plan as "⛔ Blocked + reason", forbid release with issues.

4. Release

  • All green → commit (chore(oss): <pkg> a→b (gating details) ) → push → mark as "✅ Released (hash)" in docs/oss-update-plan.md
  • It is recommended to take a complete snapshot of the repository (git bundle/mirror rep) before release, so that the whole thing can be rolled back in case of incidents

5. New Capability Assessment (Required for every upgrade plan · Human decision)

Bottom-level component upgrades often bring new capabilities, not just fixes. The "New Capability Assessment" section in the plan lists clues; productization is judged by humans. Example from the 2026-08 batch:

ComponentNew capability cluesProductization idea (pending human decision)
vite 8.2.2rolldown kernel + native codeSplitting configurationBuild speedup; fix large chunk warnings with route-level splitting
typescript 7.0.2Native toolchain, order-of-magnitude typecheck speedCan increase all-repo typecheck frequency to every commit
react-router 8.3.0Enhanced data routing/middleware capabilitiesData-heavy pages can use server-side data flow, reduce initial loading time
vitest 4.1.11Enhanced browser mode/concurrency isolatione2e can migrate to browser mode, add Canvas visual regression
@deepseek-ai/dsh rc.2zstd session persistence + removed node-pty dependencyAudit chain storage cost reduction; long session archiving enables timeline replay
react-query 5.102.5Incremental query/cache detail optimizationHeartbeat polling can have more granular invalidation

6. Historical Pitfalls (Re-read before every upgrade)

  1. Node version is a hard gate: dsh rc.2+ requires Node ≥24 (createZstdDecompress); lower versions throw node:zlib does not provide export—align engines before upgrading.
  2. find silent abort under set -euo pipefail: PTY=$(find non-existent-dir ...) returns non-zero, killing the script—fallback with || true (already fixed in dsh-gate.sh).
  3. Fixture gating mutual interference: "Only seed if empty table" collided with "pre-populate during extended runtime state" → e2e failed 7 times in a row on fresh install (D36). Idempotent fixtures must not use empty-table gating (fixed).
  4. Residual services write to wrong DB: Suite targets a different service process (concurrency limits falsely reported, simulated/real cross-contamination)—must pkill -f "[t]sx.*src/index" before testing.
  5. Suite state residue: Mode-switching test cases require isolated clean repositories; when failing, first think "is the repository clean", then think about code.
  6. corepack dual trap: Default registry can't fetch pnpm + image signature verification fails—always set COREPACK_NPM_REGISTRY + COREPACK_INTEGRITY_KEYS=0.
  7. pnpm --filter package name matching unstable: For private workspace packages, use pnpm -C <dir> directly.
  8. Tag namespace: tauri dual-track tags (tauri-v2/v1.x)—configure tag_prefix in inventory.
  9. Forwarding interrupted by sandbox sleep: 5433 suddenly ECONNREFUSED—first check socat process, don't suspect the code.
  10. Interruption residue misdiagnosis: Test rows left by a previously interrupted suite can pollute subsequent assertions—clean repository is the highest priority troubleshooting action.

7. Registration Discipline

  • New runtime dependencies must be registered in oss-components.json simultaneously (including repo address); AGPL licenses only in separate processes and explicitly noted.
  • Archived/discontinued upstream repositories should be reviewed for activity quarterly; supply chain/CVE events trigger the event channel for immediate checks.
  • This mechanism is distributed with the repository's open source: in your own fork/clone, you only need to manage this single repository for changing inventory, adjusting cadence, and running upgrades.

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