# dunghieu2510/ricksclips_animation_skill_v1.2 architecture

> Architecture diagram of the GitHub repository dunghieu2510/ricksclips_animation_skill_v1.2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dunghieu2510/ricksclips_animation_skill_v1.2
- Repository: https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2

## Overview

Ricks Clips Animation Skill is a Claude Code skill and local production kit for making stylized 3D cartoon true-story Shorts. The main workflow is to prepare a film plan, create characters and motion, render the film, and assemble voice, music, effects, captions and colour treatment into a finished short. The README documents these capabilities; excerpts show the plan’s shared per-frame data and the sound mixer’s cue-driven assembly. Several branches are documented but their runtime wiring was not sampled, so those links are not inferred.

Main entry points: [`templates/threejs_film/film.js`](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/film.js) (Three.js film), [`templates/sound_kit/mix.py`](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/sound_kit/mix.py) (Sound mixer), [`tools/film_plan.py`](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/tools/film_plan.py) (Plan and bake), [`templates/vector2d_characters/code/castkit.mjs`](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/vector2d_characters/code/castkit.mjs) (Character cast)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_planning["Film planning"]
  node_filmplan["Plan and bake<br/>[film_plan.py]"]
  node_filmblueprint["Film blueprint<br/>[film_plan.py]"]
end

subgraph group_characters["Characters and motion"]
  node_cast["Character cast<br/>[castkit.mjs]"]
  node_puppet["2D puppet art<br/>[char2d.mjs]"]
  node_bodyrig["3D body rig<br/>[body3d.mjs]"]
  node_motion["Motion library<br/>[library.mjs]"]
  node_pieces["Staging effects"]
end

subgraph group_visuals["Visual production"]
  node_filmrenderer["Three.js film<br/>[film.js]"]
  node_poses["Pose system<br/>[poses.mjs]"]
  node_puppets["Puppet renderer<br/>[puppets.mjs]"]
  node_world["Film world and look<br/>[look3d.mjs]"]
  node_blenderlook["Blender look tools"]
end

subgraph group_sound["Sound production"]
  node_voice["Voice recording"]
  node_soundkit["Sound library and cues"]
  node_mixer["Sound mixer<br/>[mix.py]"]
  node_music["Music generation<br/>[music.py]"]
  node_audiofx["Audio DSP and effects<br/>[dsp.py]"]
end

subgraph group_quality["Quality and delivery"]
  node_checks["Film and frame checks"]
  node_short["Finished short"]
end

node_creator(("Film creator"))

node_creator -->|"plans film"| node_filmplan
node_filmplan -->|"bakes frames"| node_filmblueprint
node_filmblueprint -->|"drives render"| node_filmrenderer
node_creator -->|"specifies cast"| node_cast
node_cast -->|"builds characters"| node_puppet
node_creator -->|"directs action"| node_motion
node_creator -->|"uses rig"| node_bodyrig
node_creator -->|"uses staging"| node_pieces
node_filmrenderer -->|"draws puppets"| node_puppets
node_filmrenderer -->|"reads poses"| node_poses
node_filmrenderer -->|"uses look"| node_world
node_creator -->|"applies grade"| node_blenderlook
node_creator -->|"records voice"| node_voice
node_creator -->|"selects sound"| node_soundkit
node_voice -->|"supplies voice"| node_mixer
node_soundkit -->|"supplies cues"| node_mixer
node_creator -->|"creates music"| node_music
node_music -.->|"adds music"| node_mixer
node_creator -->|"creates effects"| node_audiofx
node_filmrenderer -.->|"checks frames"| node_checks
node_mixer -->|"checks mix"| node_checks
node_filmrenderer -->|"renders film"| node_short
node_mixer -->|"adds soundtrack"| node_short
node_blenderlook -.->|"grades film"| node_short

click node_filmplan "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/tools/film_plan.py"
click node_filmblueprint "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/tools/film_plan.py"
click node_cast "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/vector2d_characters/code/castkit.mjs"
click node_puppet "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/vector2d_characters/code/char2d.mjs"
click node_bodyrig "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/body_rig/body3d.mjs"
click node_motion "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/motion_styles/library.mjs"
click node_pieces "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/pieces"
click node_filmrenderer "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/film.js"
click node_poses "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/poses.mjs"
click node_puppets "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/puppets.mjs"
click node_world "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/look3d.mjs"
click node_blenderlook "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/blender_look"
click node_soundkit "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/sound_kit"
click node_mixer "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/sound_kit/mix.py"
click node_music "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/audio/music.py"
click node_audiofx "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/audio/dsp.py"
click node_checks "https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/tools"

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_filmplan,node_filmblueprint toneBlue
class node_cast,node_puppet,node_bodyrig,node_motion,node_pieces toneAmber
class node_filmrenderer,node_poses,node_puppets,node_world,node_blenderlook toneMint
class node_voice,node_soundkit,node_mixer,node_music,node_audiofx toneRose
class node_checks,node_short,node_creator toneIndigo
```

## Components

### Film planning

- [Plan and bake](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/tools/film_plan.py): `tools/film_plan.py`
- [Film blueprint](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/tools/film_plan.py): `tools/film_plan.py`

### Characters and motion

- [Character cast](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/vector2d_characters/code/castkit.mjs): `templates/vector2d_characters/code/castkit.mjs`
- [2D puppet art](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/vector2d_characters/code/char2d.mjs): `templates/vector2d_characters/code/char2d.mjs`
- [3D body rig](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/body_rig/body3d.mjs): `templates/body_rig/body3d.mjs`
- [Motion library](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/motion_styles/library.mjs): `templates/motion_styles/library.mjs`
- [Staging effects](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/pieces): `templates/pieces`

### Visual production

- [Three.js film](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/film.js): `templates/threejs_film/film.js`
- [Pose system](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/poses.mjs): `templates/threejs_film/poses.mjs`
- [Puppet renderer](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/puppets.mjs): `templates/threejs_film/puppets.mjs`
- [Film world and look](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/threejs_film/look3d.mjs): `templates/threejs_film/look3d.mjs`
- [Blender look tools](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/blender_look): `templates/blender_look`

### Sound production

- **Voice recording**
- [Sound library and cues](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/templates/sound_kit): `templates/sound_kit`
- [Sound mixer](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/sound_kit/mix.py): `templates/sound_kit/mix.py`
- [Music generation](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/audio/music.py): `templates/audio/music.py`
- [Audio DSP and effects](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/blob/main/templates/audio/dsp.py): `templates/audio/dsp.py`

### Quality and delivery

- [Film and frame checks](https://github.com/dunghieu2510/ricksclips_animation_skill_v1.2/tree/main/tools): `tools`
- **Finished short**

### Other components

- **Film creator**

## Connections

- Film creator → Plan and bake: plans film (evidence: `README.md`)
- Plan and bake → Film blueprint: bakes frames (evidence: `tools/film_plan.py`)
- Film blueprint → Three.js film: drives render (evidence: `tools/film_plan.py`)
- Film creator → Character cast: specifies cast (evidence: `README.md`)
- Character cast → 2D puppet art: builds characters (evidence: `templates/vector2d_characters/code/castkit.mjs`)
- Film creator → Motion library: directs action (evidence: `README.md`)
- Film creator → 3D body rig: uses rig (evidence: `README.md`)
- Film creator → Staging effects: uses staging (evidence: `README.md`)
- Three.js film → Puppet renderer: draws puppets (evidence: `templates/threejs_film/film.js`)
- Three.js film → Pose system: reads poses (evidence: `templates/threejs_film/film.js`)
- Three.js film → Film world and look: uses look (evidence: `templates/threejs_film/film.js`)
- Film creator → Blender look tools: applies grade (evidence: `README.md`)
- Film creator → Voice recording: records voice (evidence: `README.md`)
- Film creator → Sound library and cues: selects sound (evidence: `README.md`)
- Voice recording → Sound mixer: supplies voice (evidence: `templates/sound_kit/mix.py`)
- Sound library and cues → Sound mixer: supplies cues (evidence: `templates/sound_kit/mix.py`)
- Film creator → Music generation: creates music (evidence: `README.md`)
- Music generation → Sound mixer: adds music
- Film creator → Audio DSP and effects: creates effects (evidence: `README.md`)
- Three.js film → Film and frame checks: checks frames
- Sound mixer → Film and frame checks: checks mix (evidence: `templates/sound_kit/mix.py`)
- Three.js film → Finished short: renders film (evidence: `README.md`)
- Sound mixer → Finished short: adds soundtrack (evidence: `templates/sound_kit/mix.py`)
- Blender look tools → Finished short: grades film
