# parameters

A Claude Code rule that explains how to add video parameterization using Zod schemas in Remotion compositions. Lets users edit parameters visually in the sidebar instead of hardcoding them.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 849 repo stars
- Author: coleam00
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/parameters.md
- Updated: 2026-01-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/parameters

## What it does

The rule covers installing Zod version 3.22.3, with install commands that vary by package manager: `npm i zod@3.22.3`, `bun i zod@3.22.3`, `yarn add zod@3.22.3`, or `pnpm i zod@3.22.3`.

It then walks through defining a schema alongside the component, passing it to `Composition` via the `schema` prop, and how this opens a sidebar for editing props. Remotion supports all Zod schemas but requires the root type to be `z.object()` since component props form an object.

An additional section covers adding a color picker with `zColor()` from `@remotion/zod-types`. Install the package using `npx remotion add @remotion/zod-types` (or the equivalent for your package manager), then use `zColor()` in your schema.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/parameters.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/parameters.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/parameters.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/parameters.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/parameters.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/coleam00/second-brain-skills/tree/HEAD/.claude/skills/remotion/rules/parameters.md

## When to use it
- add video parameterization with a Zod schema
- set up a sidebar to edit composition props
- integrate a color picker into video parameters
- install the correct Zod version for Remotion

## Example prompts
- Show me how to make a Remotion video parametrizable with a Zod schema
- Add a color picker to composition parameters using `@remotion/zod-types`
- Install Zod 3.22.3 and create a schema for a video component

## Similar
- [wrapped-video](https://affpapa.org/en/nevibecode/skills/wrapped-video.md) — skill · 2700 installs
- [remotion-best-practices](https://affpapa.org/en/nevibecode/skills/remotion-dev-remotion-best-practices.md) — skill · 860000 installs
- [remotion-create](https://affpapa.org/en/nevibecode/skills/remotion-dev-remotion-create.md) — skill · 375000 installs
- [remotion-render](https://affpapa.org/en/nevibecode/skills/101-skills-remotion-render.md) — skill · 130300 installs
- [countdown-video](https://affpapa.org/en/nevibecode/skills/countdown-video.md) — skill · 3600 installs
- [remotion](https://affpapa.org/en/nevibecode/skills/nexu-io-remotion.md) — skill · 3100 installs

From the same set: [coleam00/second-brain-skills](https://affpapa.org/en/nevibecode/by/coleam00/second-brain-skills.md) — 33 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
