Communitygithub.com

remotion-dev/add-cli-option

通过创建 AnyRemotionOption、注册 CLI 解析、连接配置设置器并更新文档,来添加新的 Remotion CLI 或配置选项。在添加或转换命令行标志或 Remotion 选项时使用。

add-cli-option 是什么?

该技能用于为 Remotion 框架添加新的 CLI 或配置选项。开发者通常需要创建 `AnyRemotionOption` 对象,定义选项的名称、类型、默认值等属性,然后注册到 CLI 解析流程中,并连接对应的配置设置器(setter)。此外,还需要更新相关文档以反映变更。该技能支持所有 Remotion 平台(如 Node.js CLI 和 Config API),通过统一的步骤确保选项添加的完整性和一致性。它避免了手动处理大量重复代码,提高了开发效率。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/remotion-dev/remotion/tree/main/.agents/skills/add-cli-option

在你喜欢的 AI 中提问

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

文档

add-cli-option 是做什么的?

通过创建 AnyRemotionOption、注册 CLI 解析、连接配置设置器并更新文档,来添加新的 Remotion CLI 或配置选项。在添加或转换命令行标志或 Remotion 选项时使用。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

remotion-dev/add-bug

Add a new Remotion bug entry to packages/bugs/api/[v].ts. Use when the user describes a bug and affected Remotion versions that should be surfaced through the bugs API.

remotion-dev/add-effect

Add a new effect to @remotion/effects, including implementation, package exports, docs, demos, preview images, Remotion skill updates, tests, formatting, and builds.

remotion-dev/add-expert

Add a new expert to the Remotion experts page

remotion-dev/add-new-package

Add a new package to the Remotion monorepo, including package scaffolding, monorepo registration, documentation, build scripts, tests, and release checklist updates. Use when creating a new @remotion package.

remotion-dev/add-sfx

Add a new sound effect to @remotion/sfx

remotion-dev/add-webcodecs-bug

Add a browser WebCodecs bug to the Remotion Mediabunny WebCodecs bugs docs page. Use when given a Chromium, WebKit, or Firefox issue URL that should be tracked in packages/docs/docs/mediabunny/webcodecs-bugs.mdx, especially when needing to look up the issue title, filing date, reporter, and resolution state before editing the MDX table.

remotion-dev/docs-demo

Add an interactive demo to the Remotion documentation. Use when creating a new <Demo> component for docs pages.

remotion-dev/homepage-video-assets

Use when rendering or replacing Remotion homepage creator strip videos, especially transparent Chrome WebM and Safari MP4 assets copied into both promo-pages and docs.

remotion-dev/make-pr

Open a pull request for the current feature

remotion-dev/remotion

Rebuild, install, and reload the private Remotion Canvas Capture unpacked Chrome extension. Use when the extension needs to be restored after a Codex worktree was deleted, rebuilt after source changes, moved to its durable install directory, or reloaded in Chrome or Chrome Canary.

remotion-dev/remotion-best-practices

Router for all Remotion skills

remotion-dev/remotion-captions

Transcribing, displaying and animating captions

remotion-dev/remotion-create

Create a new Remotion video

remotion-dev/remotion-docs

Search Remotion documentation

remotion-dev/remotion-interactivity

Structure Remotion markup for interactivity

remotion-dev/remotion-maps

Remotion Map animation knowledge

remotion-dev/remotion-markup

Content, animation and effects best practices

remotion-dev/remotion-multimedia

Interacting with Mediabunny

remotion-dev/remotion-render

Export a Remotion video

remotion-dev/remotion-saas

Build an app with Remotion

相关技能