# codebreaker02/chief-motion-skill architecture

> Architecture diagram of the GitHub repository codebreaker02/chief-motion-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/codebreaker02/chief-motion-skill
- Repository: https://github.com/codebreaker02/chief-motion-skill

## Overview

chief-motion-skill is a Claude Code-directed motion-graphics workflow: a user supplies a brief, reviews a shotlist, and receives beat-synced video exports after iterative critique. The README documents the major stages and names the implementing scripts, so the graph preserves the production workflow and optional voiceover. Source excerpts were limited to package.json; relationships and unsampled subsystem responsibilities below rely on README descriptions, not inspection of those implementations.

Main entry points: [`.claude/skills/chief-motion-skill/scripts/review.py`](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/review.py) (Render critique), [`.claude/skills/chief-motion-skill/SKILL.md`](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/SKILL.md) (Skill workflow), [`.claude/skills/chief-motion-skill/templates/docs/shotlist.md`](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/shotlist.md) (Style & shotlist), [`.claude/skills/chief-motion-skill/scripts/capture.mjs`](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/capture.mjs) (Brand capture)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_direction["Direction &amp; planning"]
  node_skill["Skill workflow<br/>[SKILL.md]"]
  node_intake["Brief &amp; preset<br/>[brief.md]"]
  node_shotlist["Style &amp; shotlist<br/>[shotlist.md]"]
end

subgraph group_assets["Brand &amp; audio assets"]
  node_capture["Brand capture<br/>[capture.mjs]"]
  node_styleguide["Style guide<br/>[style_guide.md]"]
  node_music["Score synthesis<br/>[music.py]"]
  node_beatgrid["Beat analysis<br/>[beats.py]"]
  node_voiceover["Voiceover<br/>[vo.py]"]
end

subgraph group_production["Film production"]
  node_engine["Scene engine<br/>[core.js]"]
  node_motion["Motion primitives<br/>[motion.js]"]
  node_film["Film composition<br/>[film.js]"]
  node_browser["Browser renderer<br/>[render.mjs]"]
  node_sfx["UI sound design<br/>[sfx.mjs]"]
  node_sync["Beat synchronization<br/>[sync.mjs]"]
  node_mixer["Audio mix<br/>[mix.py]"]
end

subgraph group_review["Review &amp; delivery"]
  node_review["Render critique<br/>[review.py]"]
  node_reviewlog["Review record<br/>[review_log.md]"]
  node_exports["Format exports<br/>[preset.mjs]"]
end

node_user(("Film requester"))
node_claude(("Claude Code"))
node_site(("Product website"))
node_fish{{"Fish Audio MCP"}}

node_user -->|"requests film"| node_skill
node_skill -->|"directs workflow"| node_claude
node_claude -->|"gathers brief"| node_intake
node_claude -->|"captures brand"| node_capture
node_capture -->|"visits site"| node_site
node_claude -->|"writes guide"| node_styleguide
node_claude -->|"presents plan"| node_shotlist
node_shotlist -->|"awaits approval"| node_user
node_claude -->|"synthesizes score"| node_music
node_music -->|"analyzes score"| node_beatgrid
node_claude -->|"builds scenes"| node_film
node_film -->|"uses scenes"| node_engine
node_engine -->|"uses springs"| node_motion
node_claude -->|"renders film"| node_browser
node_claude -->|"creates UI sounds"| node_sfx
node_claude -->|"syncs hits"| node_sync
node_claude -->|"mixes audio"| node_mixer
node_claude -->|"critiques render"| node_review
node_review -->|"records rounds"| node_reviewlog
node_review -->|"guides fixes"| node_claude
node_claude -->|"exports formats"| node_exports
node_claude -.->|"adds voiceover"| node_voiceover
node_voiceover -.->|"uses MCP"| node_fish

click node_skill "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/SKILL.md"
click node_intake "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/brief.md"
click node_shotlist "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/shotlist.md"
click node_capture "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/capture.mjs"
click node_styleguide "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/style_guide.md"
click node_music "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/music.py"
click node_beatgrid "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/beats.py"
click node_voiceover "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/vo.py"
click node_engine "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/core.js"
click node_motion "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/lib/motion.js"
click node_film "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/film.js"
click node_browser "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/render.mjs"
click node_sfx "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/sfx.mjs"
click node_sync "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/sync.mjs"
click node_mixer "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/mix.py"
click node_review "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/review.py"
click node_reviewlog "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/review_log.md"
click node_exports "https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/preset.mjs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_skill,node_intake,node_shotlist toneBlue
class node_capture,node_styleguide,node_music,node_beatgrid,node_voiceover toneAmber
class node_engine,node_motion,node_film,node_browser,node_sfx,node_sync,node_mixer,node_user toneMint
class node_review,node_reviewlog,node_exports toneRose
class node_claude,node_site,node_fish toneIndigo
```

## Components

### Direction & planning

- [Skill workflow](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/SKILL.md): `.claude/skills/chief-motion-skill/SKILL.md`
- [Brief & preset](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/brief.md): `.claude/skills/chief-motion-skill/templates/brief.md`
- [Style & shotlist](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/shotlist.md): `.claude/skills/chief-motion-skill/templates/docs/shotlist.md`

### Brand & audio assets

- [Brand capture](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/capture.mjs): `.claude/skills/chief-motion-skill/scripts/capture.mjs`
- [Style guide](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/style_guide.md): `.claude/skills/chief-motion-skill/templates/docs/style_guide.md`
- [Score synthesis](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/music.py): `.claude/skills/chief-motion-skill/scripts/music.py`
- [Beat analysis](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/beats.py): `.claude/skills/chief-motion-skill/scripts/beats.py`
- [Voiceover](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/vo.py): `.claude/skills/chief-motion-skill/scripts/vo.py`

### Film production

- [Scene engine](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/core.js): `.claude/skills/chief-motion-skill/engine/core.js`
- [Motion primitives](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/lib/motion.js): `.claude/skills/chief-motion-skill/engine/lib/motion.js`
- [Film composition](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/engine/film.js): `.claude/skills/chief-motion-skill/engine/film.js`
- [Browser renderer](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/render.mjs): `.claude/skills/chief-motion-skill/scripts/render.mjs`
- [UI sound design](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/sfx.mjs): `.claude/skills/chief-motion-skill/scripts/sfx.mjs`
- [Beat synchronization](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/sync.mjs): `.claude/skills/chief-motion-skill/scripts/sync.mjs`
- [Audio mix](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/mix.py): `.claude/skills/chief-motion-skill/scripts/mix.py`

### Review & delivery

- [Render critique](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/review.py): `.claude/skills/chief-motion-skill/scripts/review.py`
- [Review record](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/templates/docs/review_log.md): `.claude/skills/chief-motion-skill/templates/docs/review_log.md`
- [Format exports](https://github.com/codebreaker02/chief-motion-skill/blob/main/.claude/skills/chief-motion-skill/scripts/preset.mjs): `.claude/skills/chief-motion-skill/scripts/preset.mjs`

### Other components

- **Film requester**
- **Claude Code**
- **Product website**
- **Fish Audio MCP**

## Connections

- Film requester → Skill workflow: requests film (evidence: `README.md`)
- Skill workflow → Claude Code: directs workflow (evidence: `README.md`)
- Claude Code → Brief & preset: gathers brief (evidence: `README.md`)
- Claude Code → Brand capture: captures brand (evidence: `README.md`)
- Brand capture → Product website: visits site (evidence: `README.md`)
- Claude Code → Style guide: writes guide (evidence: `README.md`)
- Claude Code → Style & shotlist: presents plan (evidence: `README.md`)
- Style & shotlist → Film requester: awaits approval (evidence: `README.md`)
- Claude Code → Score synthesis: synthesizes score (evidence: `README.md`)
- Score synthesis → Beat analysis: analyzes score (evidence: `README.md`)
- Claude Code → Film composition: builds scenes (evidence: `README.md`)
- Film composition → Scene engine: uses scenes (evidence: `README.md`)
- Scene engine → Motion primitives: uses springs (evidence: `README.md`)
- Claude Code → Browser renderer: renders film (evidence: `README.md`)
- Claude Code → UI sound design: creates UI sounds (evidence: `README.md`)
- Claude Code → Beat synchronization: syncs hits (evidence: `README.md`)
- Claude Code → Audio mix: mixes audio (evidence: `README.md`)
- Claude Code → Render critique: critiques render (evidence: `README.md`)
- Render critique → Review record: records rounds (evidence: `README.md`)
- Render critique → Claude Code: guides fixes (evidence: `README.md`)
- Claude Code → Format exports: exports formats (evidence: `README.md`)
- Claude Code → Voiceover: adds voiceover (evidence: `README.md`)
- Voiceover → Fish Audio MCP: uses MCP (evidence: `README.md`)
