# sequencing

sequencing — a rule for managing component timing in Remotion videos. Uses Sequence for delays and Series for sequential playback, with support for nested and overlapping scenes.

- 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/sequencing.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/sequencing

## What it does

The rule covers timing patterns in Remotion. `Sequence` delays an element's appearance using `from` and `durationInFrames`, while `premountFor` preloads the component before playback. `Series` plays elements sequentially without overlap but can be configured for overlapping scenes via negative `offset` values.

Inside `Sequence`, `useCurrentFrame()` returns a local frame starting from zero, simplifying animation calculations. The rule includes examples of nested sequences for complex timing and embedding compositions through `width` and `height` parameters. All elements wrap in `AbsoluteFill` by default; set `layout="none"` to disable wrapping.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/sequencing.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/sequencing.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

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

### Windsurf (Devin Desktop)

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

### Cline

**Manually: put the files in place**
- File: `.clinerules/sequencing.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/sequencing.md

## When to use it
- delay an element's appearance on the video timeline
- play scenes sequentially without gaps
- create overlapping transitions between elements
- manage local frame timing in nested components
- embed one composition inside another with size control

## Example prompts
- Wrap your title in `Sequence` with `from={1 * fps}` and `durationInFrames={2 * fps}`
- Use `Series` for intro, main, and outro segments with durations of 45, 60, and 30 frames
- Add overlap between scenes using `offset={-15}` on the second `Series.Sequence`

## Similar
- [remotion-composition](https://affpapa.org/en/nevibecode/skills/remotion-composition.md) — skill · 208 installs
- [remotion-best-practices](https://affpapa.org/en/nevibecode/skills/remotion-dev-remotion-best-practices.md) — skill · 860000 installs
- [remotion-to-hyperframes](https://affpapa.org/en/nevibecode/skills/remotion-to-hyperframes.md) — skill · 651200 installs
- [remotion-markup](https://affpapa.org/en/nevibecode/skills/remotion-dev-remotion-markup.md) — skill · 367400 installs
- [countdown-video](https://affpapa.org/en/nevibecode/skills/countdown-video.md) — skill · 3600 installs
- [wrapped-video](https://affpapa.org/en/nevibecode/skills/wrapped-video.md) — skill · 2700 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
