---
name: "theaterjs-cinematic-animation"
description: "Design and orchestrate complex cinematic web animations with Theater.js visual studio."
metadata:
  author: "Theater.js"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "orchestrate animation theaterjs"
  - "use theater.js studio"
  - "animate multiple objects synchronized"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Theater.js Programmatic Motion Design

Creates choreographed multi-element web animations with Theater.js: Sheets, Objects, Props, Keyframes, sequence playback, and real-time visual scrubbing extension.

## When to Invoke
Invoke this skill whenever you need to:
- orchestrate animation theaterjs
- use theater.js studio
- animate multiple objects synchronized

## Execution SOP & Rules
1. Initialize projects using const project = getProject('ProjectName', { state: projectState }).
2. Create sheet actors with sheet.object('Title', { opacity: types.number(1), y: types.number(0) }).
3. Use sheet.sequence.play({ iterationCount: 1 }) to trigger scripted animations.
4. Load @theater/studio dynamically in development only; omit studio bundle from production builds.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
