SuperAPI AI 工具集

reelme

设计与创作

查看项目

更新于 10-16 08:10

技能介绍

用途:为任意开源项目生成 2D 动画讲解视频,产出 MP4、GIF 以及可编辑的 Remotion 源码。适用于需要项目介绍视频或版本更新(feature announcement)演示的场景。

主要能力:提供两种模式——项目介绍(读取 README、清单文件与最多 3 个关键源码文件,提取名称、标语、问题、安装命令、仓库地址、关键特性、代码示例)与版本公告(读取 CHANGELOG,运行 git log --oneline -20 与 git diff <latest-tag>..HEAD --stat)。支持多种场景类型(problem、feature-list、code-reveal、terminal、data-flow、browser、file-tree、mobile、os-window、hotkey、stat-callout、split、cta 等),可配置主色、logo、背景风格(deep/branded/light)与画幅(16:9、1:1、9:16)。可先预览再渲染,并给出分发建议。

使用方式:先检查 .reelme/src/brief.json 是否存在,判断是新建还是更新;确定模式、读取仓库、访谈关键参数、确认分镜大纲后写入 brief.json,再执行脚手架: SKILL_DIR=$(find "$HOME" -maxdepth 6 -name "SKILL.md" -path "*/reelme/SKILL.md" 2>/dev/null | head -1 | xargs dirname) rsync -a ... "$SKILL_DIR/template/" ".reelme/" cp .reelme/brief.json .reelme/src/brief.json cd .reelme && pnpm install && pnpm approve-builds --all 预览与渲染:cd .reelme && pnpm start(Remotion Studio,http://localhost:3000)或 cd .reelme && pnpm render。产物位于 .reelme/out/video.mp4 与 .reelme/out/video.gif。更新模式只需修改 .reelme/src/brief.json 后重新渲染。

限制:需 Node ≥18,pnpm approve-builds --all 为必需步骤(esbuild 需 post-install 脚本);brief.json 必须放在 .reelme/src/brief.json;建议场景总数 3–5 个;font 使用带空格的显示名;logo 路径缺失时警告并以空值继续;更新模式不重新脚手架。缺失信息暂未提供。