# dynamic-content-sequencing

dynamic-content-sequencing computes scene display timing from text length and pacing parameters. It gives longer paragraphs more screen presence without hardcoding frame counts.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/dynamic-content-sequencing.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/dynamic-content-sequencing

## What it does

The rule handles sequential scenes like quote decks, stats, or multi-step cards. Instead of assigning manual frame numbers to each block, it derives durations using a base interval, character counts, and pause buffers. Cumulative offsets determine exact transition boundaries along the timeline.

Runtime logic relies on a GSAP timeline runner. The update handler checks timestamps against the schedule, updating DOM elements only when the active index changes to prevent unnecessary layout recalculations. Reserving container dimensions via `min-height` in CSS is necessary, because text length changes will otherwise cause visual layout shifts.

The pattern also supports blending neighboring slides with an overlap parameter or assigning distinct motion rules to specific slides.

## Install

### Claude Code (native platform)

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

### GitHub Copilot

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

### Windsurf (Devin Desktop)

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

### Cline

**Manually: put the files in place**
- File: `.clinerules/dynamic-content-sequencing.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/dynamic-content-sequencing.md

## When to use it
- calculate display durations automatically based on string length
- switch content blocks in a GSAP timeline without per-frame DOM thrashing
- assemble multi-card video sequences without hardcoded frame offsets
- blend transition boundaries between slides using crossfade overlap

## Example prompts
- Build a timeline sequence for four feature highlights using dynamic-content-sequencing.
- Apply dynamic-content-sequencing to calculate timing for our customer quote deck with GSAP.
- Configure dynamic-content-sequencing with a 0.3-second crossfade between narrative cards.

## Similar
- [gsap-sequencing](https://affpapa.org/en/nevibecode/skills/gsap-sequencing.md) — skill · 163 installs
- [gsap-timeline](https://affpapa.org/en/nevibecode/skills/gsap-timeline.md) — skill · 83900 installs
- [control-target-sync](https://affpapa.org/en/nevibecode/rules/control-target-sync.md) — rule · ★ 328 repo stars
- [logo-animation](https://affpapa.org/en/nevibecode/skills/logo-animation.md) — skill · 5800 installs
- [gsap](https://affpapa.org/en/nevibecode/skills/gsap.md) — skill · 3 installs
- [animate-text](https://affpapa.org/en/nevibecode/skills/animate-text.md) — skill · 2800 installs

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 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
