Skip to main content
rule CX Codex

transitions — Claude Code rule for Remotion transitions

This rule guides Claude Code in adding fullscreen transitions between Remotion scenes or clips. Use it when building a composition from multiple scenes.

no license ★ 849 updated 2026-01-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/transitions.md
Open on GitHub

What transitions does

The rule covers TransitionSeries, where scenes run in sequences with transitions between them. It describes fade, slide, wipe, flip, and clock-wipe effects, plus directional slides and linear or spring-based timing.

The @remotion/transitions package is required. TransitionSeries absolutely positions its children, so check how the scenes sit in your composition. Adjacent scenes overlap during a transition, which makes the full composition shorter than the sum of scene durations; subtract each transition's duration when calculating the total.

What it helps with

  • add a fade between Remotion scenes
  • set the direction of a scene-change slide
  • calculate composition length with overlapping transitions
  • choose linear or spring timing

Example prompts for the agent

  • Add a fade between the Intro and Main scenes in my Remotion composition.
  • Set the transition between these scenes to slide in from the left.
  • Calculate the full composition duration, accounting for each transition.

How to install transitions

Manually: put the files in place

.claude/rules/transitions.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about transitions

How do I install transitions in Claude Code?

Add the rule file to your project at .claude/rules/transitions.md.

What does transitions do?

It guides scene and clip transitions in Remotion using TransitionSeries, with transition types and timing options.

How do transitions affect a Remotion composition's duration?

Adjacent scenes overlap while a transition plays, so subtract each transition's duration from the sum of the scene durations.

Similar IDE rules

All IDE rules for Design →

From the same set33

The whole set →

Project sponsors

Companies that keep this analytics open