Communitygithub.com

CleanExpo/Pi-Dev-Ops

Remotionコンポジション(.tsx)を作成・拡張します。BrandConfig、ストーリーボード、レイアウト仕様、モーション設定を統合。ブランド、ストーリーボード、デザイナー、モーション言語の出力が揃った後にSonnetレベルのワーカーとして起動し、成果物をremotion-studio/src/compositions/に生成し、src/Root.tsxに登録します。

Pi-Dev-Ops とは?

このスキルは、Remotionベースの動画生成パイプラインにおいて、実際のコンポジションファイル(.tsx)を生成・編集するための中心的なビルダースキルです。トリガーは、remotion-orchestratorのWave 4、またはユーザーがブランドとストーリーボードが既に存在する状態で「{topic}のコンポジションをビルドして」と依頼した場合です。 入力として、BrandConfig(ランタイム設定)、design.md(ビジュアルトークン)、ストーリーボードJSON、レイアウト仕様、モーションブロック、チャンネル仕様/アスペクト比を消費します。既存のコンポジションがあればそれをパッチし、なければテンプレート(Explainer.tsx)から新規作成します。 出力は、編集されたsrc/compositions/{Name}.tsx(またはシーンサブファイル)と、src/Root.tsxの登録エントリです。remotion-orchestratorにステータスレポート(tscチェック結果を含む)を送信します。 厳格な境界ルールが定義されており、ブランド値のインライン化禁止、durationInFramesの適切な計算、存在しないアセットパスのstaticFile禁止、エントリモーションは必ずsignatureEntry()を使用するなど、品質と一貫性を保ちます。コード行数が500行を超える場合はシーンを自動的に分割します。これはClaude CodeやCodexなどのAIエージェントがRemotionパイプライン内で高品質なコンポジションを自律的に構築するために不可欠なスキルです。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/CleanExpo/Pi-Dev-Ops/tree/HEAD/skills/remotion-composition-builder

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

remotion-composition-builder

実際に手を動かす部分です。他のすべてを読み取り、TSXを書き出します。

トリガー

  • remotion-orchestrator計画のWave 4。
  • ユーザーが「{topic}のコンポジションを作成して」と依頼し、ブランドとストーリーボードが既にわかっている場合。

入力

同じジョブ内の以前のスキル出力からすべて取得:

  • BrandConfig(src/brands/{slug}.ts から)— ランタイムと動作: 音声、ナレーション、モーション、オーディエンス、チャンネル、禁止ワード
  • {slug}.design.md(src/brands/loadDesign.ts の loadDesign(slug) で読み込み)— ビジュアルトークン: 色、タイポグラフィ、スペーシング、コンポーネント、レイアウト、エレベーション
  • ストーリーボードJSON(remotion-screen-storyteller から)
  • レイアウト仕様(remotion-designer から)— design.mdのトークンを名前で参照
  • モーションブロック(BrandConfig の一部)
  • チャンネル仕様/アスペクト比(remotion-marketing-strategist から)

BrandConfig と design.md の完全な所有権の境界については src/brands/CONTRACT.md を参照してください。

方法

  1. コンポジションを特定 — src/compositions/{Name}.tsx は存在するか?
    • はい → そのままパッチ(既存のAPIを維持)。
    • いいえ → Explainer.tsx をテンプレートとして新しいファイルを作成。
  2. インポートを接続 — ランタイム用に import { brands } from '../brands'、ビジュアルトークン用に import { loadDesign, colour, spacing, componentRecipe, typography } from '../design'、モーションヘルパー用に ../motion からインポート。
  3. スキーマを定義 — ストーリーボードの形状に一致する入力プロパティ用の z.object。
  4. シーンを構成 — ストーリーボードの各シーンに1つの <Sequence>。各シーンコンポーネントは cfg = brands[props.brand](モーション/音声/ナレーション用)および tokens = loadDesign(props.brand)(色/タイポグラフィ/スペーシング/コンポーネントレシピ用)を読み取り、それらを合成します。componentRecipe(tokens, 'cta-primary') を使用して、16進数をインライン化する代わりに、完全に解決されたCSS対応オブジェクトを取得します。
  5. オーディオ — 各シーンにパスが設定されている場合、<Audio src={staticFile(scene.voiceoverAudioPath)} /> を配線します。
  6. Rootに登録 — src/Root.tsx に <Composition id="{Name}" ... /> を追加または更新。durationInFrames = sum(scene.durationSec) * fps。
  7. ファイルの衛生管理 — コンポジションファイルは500行以下に。それを超えた場合はシーンを src/compositions/{Name}/scenes/*.tsx に抽出。
  8. 型チェック — npx tsc --noEmit を実行。エラーがあれば修正して1回再試行。

出力

編集されたファイル:

  • src/compositions/{Name}.tsx(またはシーンサブファイル)
  • src/Root.tsx(登録エントリ)

remotion-orchestrator へのステータスレポート:

{ "composition": "Explainer", "filesChanged": [...], "tscPassed": true, "ready": true }

境界

  • ブランド値を決してインライン化しない(16進コード、フォント名、スペーシングリテラル)— 常に tokens(ビジュアル)または cfg(ランタイム)から読み取る。どちらが何を所有するかは CONTRACT.md を参照。
  • durationInFrames をストーリーボードのシーン継続時間 × fps の合計なしに設定しない。
  • 存在しないアセットパスに対して staticFile() を使用しない — レンダリング時に沈黙するのではなく、ビルド時に大きなエラーを出す。
  • エントリモーションに signatureEntry() を使用しないことを迂回しない — モーション言語の一貫性を保つ。
  • BrandConfig.ts と {slug}.design.md の間でトークンを重複させない。値が .design.md にある場合、.ts で再宣言してはならない。

再利用されるもの

引き継ぎ先

remotion-render-pipeline が実際にレンダリングを行います。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

CleanExpo/Pi-Dev-Ops

Produce one or many consistent, on-brand faceless marketing videos from a topic: script, ElevenLabs voiceover with timestamps, one styled illustration per beat, ffmpeg stitch to 1080p, optional Unlisted YouTube upload. The look is a named style from styles.md (flat-line, hand-doodle, bold-kinetic, cinematic-photoreal, minimal-corporate, retro-print), so one command yields repeatable output per brand. The automated pipeline; distinct from faceless-video and video-director.

CleanExpo/Pi-Dev-Ops

Produce a faceless YouTube-style video (hand-drawn doodle / simple-illustration channels like Zen, Nick Invest) end-to-end from a single topic. ASKS FACT-vs-STORY mode first (non-fiction educational vs fiction storytelling) and branches the whole run — built to serve multiple clients/channels, not one fixed format. Reverse-engineers a proven reference video's script format, writes a new script in that format, generates an ElevenLabs voiceover with timestamps, creates one styled Artlist (AI Toolkit) image per timestamp, and stitches everything with FFmpeg — fully automated, no human recording. Use when the user says "faceless video", "/faceless-video", "doodle video", "make a YouTube short/long-form in the Zen style", or wants an organic faceless-channel content piece. Composes with video-distribution-strategist (channel/launch) and video-director (when motion/edit polish is wanted instead of stills).

CleanExpo/Pi-Dev-Ops

The 15+ year brand director extension of `brand-guardian` specifically for video — frame-by-frame audit of brand-mark integrity, Gun Metal `#1a1a1a` + Candy Red `#dc143c` consistency, NO AI slop, NO Lucide icons, custom geometric marks ONLY, real logos correctly placed. PASS / FAIL gate before any client-facing video ships. Use after `video-colorist` completes the grade pass.

CleanExpo/Pi-Dev-Ops

The 15+ year Director-of-Photography persona (Roger Deakins / Emmanuel Lubezki / Hoyte van Hoytema-tier) that owns shot composition, lens psychology, motion language, and the decision of which source (Remotion / Hyperframes / stock cinematic) each scene uses. Extends the existing `remotion-designer` + `remotion-motion-language` skills with a frame-by-frame shot-language framework. Use when the user says "cinematography", "shot list", "framing", "DoP", "lens choice", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year colorist persona (Light Iron / Company 3 / The Mill-tier) that applies per-brand LUT + grade pass to every Unite-Group video. Closes the "raw Remotion render colours" gap — today Remotion outputs whatever colours BrandConfig declares with zero cinematic grade. Use when the user says "colour", "grade", "LUT", "look", "cinematic finish", or invoked by `video-director` Phase 3 (post-production) after `video-sound-designer` mixes audio.

CleanExpo/Pi-Dev-Ops

The Creative Director persona that owns brief intake, composition selection and narrative POV for every Unite-Group video. ENTRY POINT for the Video Agency: use for any video creation brief (explainer, promo, social cut, demo reel, case study, testimonial, client video). Dispatches the full production team: script-writer, cinematographer, editor, sound designer, colorist, brand-guardian.

CleanExpo/Pi-Dev-Ops

The 15+ year platform-native distribution expert (early TikTok creator economy + YouTube algorithm + LinkedIn organic reach + IG Reels native specialist) that owns per-platform aspect ratio + duration cap + caption format + hook density + thumbnail composition. Extends `remotion-marketing-strategist` with platform-native specs locked per BrandConfig. Use when the user says "which platform", "distribution", "channel-fit", "thumbnail", "captions", or invoked by `video-director` Phase 4 (QA + Delivery) for per-platform cuts.

CleanExpo/Pi-Dev-Ops

The 15+ year screenwriter persona (Pixar / Apple keynote / Nike spot tier) that engineers hooks (0-3s), retention beats (7-15s), narrative tension curves, and CTA placement. Extends the existing `remotion-screen-storyteller` skill with a structural framework lifted from Pixar's 22 Rules + Apple keynote architecture. Use when the user says "script", "voiceover", "narration", "hook", "story arc", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year sound designer persona (Skywalker Sound / Sound Lounge / Audio Network-tier) that mixes ElevenLabs voiceover with music bed, sound effects, ambient texture, and audio polish. Closes the single biggest gap in the existing Remotion pipeline — today voiceover is the ONLY audio; this skill adds music + SFX + mix. Use when the user says "sound design", "audio mix", "music bed", "SFX", "score this", or invoked by `video-director` Phase 3 (post-production).

CleanExpo/Pi-Dev-Ops

Converts a BrandResearch dossier into THREE artifacts — (1) typed BrandConfig TypeScript at Synthex/packages/brand-config/src/brands/{slug}.ts (runtime/behaviour — voice, voiceover, motion, audience, channel, forbiddenWords); (2) spec-conformant {slug}.design.md at Synthex/packages/brand-config/src/brands/{slug}.design.md (visual tokens — colour, typography, spacing, components, layout, elevation); (3) human-readable 9-section .md projection at Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md derived from BOTH. Boundary contract at Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md. Triggered after remotion-brand-research, or when the user pastes brand assets and says "codify". PRs are auto-merge:false — a human reviews before merge.

CleanExpo/Pi-Dev-Ops

Researches a portfolio company's visual identity from public sources (homepage, about page, marketing copy, GitHub README) and produces a structured BrandResearch dossier. Triggered when `Synthex/packages/brand-config/src/brands/{slug}.ts` (canonical home per RA-1985 / Synthex SYN-897) is missing, older than 90 days, or the user explicitly says "refresh brand for {brand}". Output feeds remotion-brand-codify.

CleanExpo/Pi-Dev-Ops

Generates a complete, accessible palette (primary, secondary, accent, 4-step neutral, semantic, and dark variant) from one to three hex anchors plus a colour-family classification. Validates WCAG-AA contrast for all text-on-background pairs. Triggered when a BrandConfig has fewer than 5 defined colours or contrast fails.

CleanExpo/Pi-Dev-Ops

Visual-design specialist for Remotion compositions. Sets layout grid, typography hierarchy, white-space, scene framing, and visual rhythm for a given composition + brand. Triggered after remotion-composition-builder for QA, or upfront when authoring a new composition type. Produces a layout spec consumed by remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video needs creative direction — hook, visual sequence, scene purpose, motion restraint, and CTA direction before render.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video has timing, sync, transition, caption, pacing, or audio-fit risk and needs editing discipline before render.

CleanExpo/Pi-Dev-Ops

Use when /remotion-video needs existing Synthex ElevenLabs, brand-config, Remotion, output storage, Claude, or Hermes integration without adding vendors.

CleanExpo/Pi-Dev-Ops

Tunes a video's format and message for the target channel — LinkedIn, YouTube, Instagram Reel, internal training. Sets aspect ratio, total duration, hook timing, CTA timing, and pacing. Triggered when the brief mentions a specific channel or campaign goal. Output feeds remotion-screen-storyteller and remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Designs a brand-specific motion vocabulary — easing curves, default scene durations, signature entry/exit, transition frames. Each brand gets one signature move (rise / sweep / pulse / iris / whip) that recurs across compositions to build motion-recognition. Triggered when BrandConfig.motion is empty.

CleanExpo/Pi-Dev-Ops

/remotion-video one-shot Remotion command skill and ENTRY POINT for the Remotion Skills Package. Use for video, explainer, ad, promo, reel, intro, social cut, marketing, training, or launch videos. Reads the brief, classifies intent, enforces one single Synthex ElevenLabs voice, emits a production/wave plan, and dispatches the right sub-skills in topological order. Always invoked first.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video job needs production gates, render evidence, output discipline, and pass/fail validation before it can be called shippable.

関連スキル