procedural-fish-render
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProcedural Fish Render
Procedural Fish 渲染
Workflow
工作流程
- Resolve and run the helper script:
skill_dirbashskill_dir="" for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do if [ -d "$base/skills/procedural-fish-render" ]; then skill_dir="$base/skills/procedural-fish-render" break fi done [ -n "$skill_dir" ] || { echo "procedural-fish-render skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; } /usr/local/bin/python3 "$skill_dir/scripts/render_procedural_fish.py" - Optional parameters:
bash
/usr/local/bin/python3 "$skill_dir/scripts/render_procedural_fish.py" \ --workspace "$(pwd)" \ --output "out/procedural-fish-custom.mov" \ --props-file "shared/project/render-presets/default.json" - Return the final absolute video path printed by the script.
- 解析 并运行辅助脚本:
skill_dirbashskill_dir="" for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do if [ -d "$base/skills/procedural-fish-render" ]; then skill_dir="$base/skills/procedural-fish-render" break fi done [ -n "$skill_dir" ] || { echo "procedural-fish-render skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; } /usr/local/bin/python3 "$skill_dir/scripts/render_procedural_fish.py" - 可选参数:
bash
/usr/local/bin/python3 "$skill_dir/scripts/render_procedural_fish.py" \ --workspace "$(pwd)" \ --output "out/procedural-fish-custom.mov" \ --props-file "shared/project/render-presets/default.json" - 返回脚本打印的最终视频绝对路径。
Behavior
行为规则
- Repository source is fixed to by default.
https://github.com/vibe-motion/procedural-fish - If local repo exists, the script performs +
git fetch+git checkout main.git pull --ff-only - If local repo does not exist, the script clones it.
- Rendering always uses project command .
pnpm run remotion:render - Default output is .
out/procedural-fish-transparent.mov - Default props file is .
shared/project/render-presets/default.json
- 默认仓库源固定为 。
https://github.com/vibe-motion/procedural-fish - 如果本地已存在该仓库,脚本会执行 +
git fetch+git checkout main操作。git pull --ff-only - 如果本地不存在该仓库,脚本会克隆它。
- 渲染始终使用项目命令 。
pnpm run remotion:render - 默认输出路径为 。
out/procedural-fish-transparent.mov - 默认配置文件为 。
shared/project/render-presets/default.json