DaVinci .drfx flatten & merge
Agent-facing Skill. Works in any environment that can load a Skill folder (not tied to one chat product).
When to use
User has one or more .drfx files and wants a clean library folder to add in Rainbow Bridge Fusion 预设 (Add folder / extension pack).
Goal
Produce:
text
<output>/
Edit/
Effects|Titles|Transitions|Generators|Fusion/
<template>/
_drfx_backup/ # original .drfx copies
整理说明_*.md # optional short reportRules:
- Reorganize folders only; do not rewrite
.settingcontents - Flatten vendor / collection middle layers when present
- On name collisions, add
_v1,_v2, … — never overwrite
Workflow
- Confirm source (file or directory of
.drfx) and output directory with the user. - Prefer running the bundled script (Python 3):
bash
python3 scripts/process_drfx.py --source "<source>" --output "<output>"Optional: --files a.drfx b.drfx to limit which packs. If Python is missing, help install it or implement the same zip-extract + reorganize logic yourself.
- Report briefly: packs processed, approx. template count, backup path, any errors.
- Tell the user: open Rainbow Bridge → Fusion 预设 → 添加文件夹或扩展包 → select
<output>(the folder that containsEdit/) → import to timeline when needed.
Do not ask the user to memorize CLI flags; you run the Skill.
Notes
.drfxis a zip archive; Resolve does not need to be running for this step.- Single-pack expand inside the app UI is different; this Skill is for batch / flatten / merge.
- Human-oriented product page: Rainbow Bridge docs → Fusion 预设.