# soumatheusgomes/editonny architecture

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

- Interactive diagram: https://gitdiagram.com/soumatheusgomes/editonny
- Repository: https://github.com/soumatheusgomes/editonny

## Overview

editonny is a local video-editing skill invoked through Claude Code or Codex. The documented flow is: describe an edit and select footage, inspect and propose settings for approval, create and review a cut, choose finishing treatments, then render and verify an export. The graph preserves the documented editing, motion-scene, preview/review, and request-catalog capabilities. Several engine stages are documented but their internal call chain is not shown in the excerpts, so those links are omitted rather than inferred.

Main entry points: [`skills/editonny/scripts/editonny.py`](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/scripts/editonny.py) (Editonny skill), [`skills/editonny/engine/helpers/preview_server.py`](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/preview_server.py) (Preview API and server), [`skills/editonny/engine/helpers/intake.py`](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/intake.py) (Footage inspection), [`skills/editonny/engine/helpers/render_cut.py`](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/render_cut.py) (Render and export)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Skill and requests"]
  node_skill["Editonny skill<br/>[editonny.py]"]
  node_request["Edit request<br/>[prompt.ts]"]
end

subgraph group_engine["Editing engine"]
  node_intake["Footage inspection<br/>[intake.py]"]
  node_transcription["Transcription<br/>[transcribe.py]"]
  node_cut["Cut assembly<br/>[assemble_cut.py]"]
  node_captions["Captions and audio<br/>[captions.py]"]
  node_motion["Motion scenes<br/>[engine.py]"]
  node_music["Music library<br/>[music_library.py]"]
  node_render["Render and export<br/>[render_cut.py]"]
  node_verify["Export verification<br/>[verify_cut.py]"]
end

subgraph group_review["Local review"]
  node_preview_server["Preview API and server<br/>[preview_server.py]"]
  node_preview_ui["Preview interface<br/>[app-shell.mjs]"]
  node_watcher["Review action watcher<br/>[watch_preview.py]"]
end

subgraph group_web["Web experience"]
  node_catalog["Scene catalog"]
  node_create_page["Request builder<br/>[CreateView.tsx]"]
  node_site["Guide and website<br/>[page.tsx]"]
end

node_creator(("Creator"))
node_agent{{"Claude Code / Codex"}}
node_local_files[("Local edit files")]
node_external_generators{{"External generators"}}

node_creator -->|"describes edit"| node_agent
node_creator -->|"browses guide"| node_site
node_site -->|"copies request"| node_create_page
node_create_page -.->|"builds prompt"| node_request
node_agent -->|"invokes"| node_skill
node_skill -->|"inspects footage"| node_intake
node_intake -->|"reads sources"| node_local_files
node_skill -->|"transcribes speech"| node_transcription
node_skill -->|"assembles project"| node_cut
node_skill -->|"adds captions"| node_captions
node_skill -->|"creates scenes"| node_motion
node_skill -.->|"selects music"| node_music
node_skill -->|"renders edit"| node_render
node_render -->|"checks export"| node_verify
node_skill -->|"opens local review"| node_preview_server
node_preview_server -->|"serves edit media"| node_local_files
node_creator -->|"reviews sample"| node_preview_server
node_preview_server -.->|"serves interface"| node_preview_ui
node_watcher -->|"reads saved actions"| node_local_files
node_creator -->|"browses scenes"| node_catalog
node_skill -.->|"may request generation"| node_external_generators

click node_skill "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/scripts/editonny.py"
click node_request "https://github.com/soumatheusgomes/editonny/blob/main/web/src/features/request/prompt.ts"
click node_intake "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/intake.py"
click node_transcription "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/transcribe.py"
click node_cut "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/assemble_cut.py"
click node_captions "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/captions.py"
click node_motion "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/visuals/engine.py"
click node_music "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/music_library.py"
click node_render "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/render_cut.py"
click node_verify "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/verify_cut.py"
click node_preview_server "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/preview_server.py"
click node_preview_ui "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/preview/app-shell.mjs"
click node_watcher "https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/watch_preview.py"
click node_catalog "https://github.com/soumatheusgomes/editonny/tree/main/web/src/features/catalog"
click node_create_page "https://github.com/soumatheusgomes/editonny/blob/main/web/src/features/create/CreateView.tsx"
click node_site "https://github.com/soumatheusgomes/editonny/blob/main/web/src/app/%5Blocale%5D/page.tsx"

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_request toneBlue
class node_intake,node_transcription,node_cut,node_captions,node_motion,node_music,node_render,node_verify,node_local_files toneAmber
class node_preview_server,node_preview_ui,node_watcher toneMint
class node_catalog,node_create_page,node_site toneRose
class node_creator,node_agent,node_external_generators toneIndigo
```

## Components

### Skill and requests

- [Editonny skill](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/scripts/editonny.py): `skills/editonny/scripts/editonny.py`
- [Edit request](https://github.com/soumatheusgomes/editonny/blob/main/web/src/features/request/prompt.ts): `web/src/features/request/prompt.ts`

### Editing engine

- [Footage inspection](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/intake.py): `skills/editonny/engine/helpers/intake.py`
- [Transcription](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/transcribe.py): `skills/editonny/engine/helpers/transcribe.py`
- [Cut assembly](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/assemble_cut.py): `skills/editonny/engine/helpers/assemble_cut.py`
- [Captions and audio](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/captions.py): `skills/editonny/engine/helpers/captions.py`
- [Motion scenes](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/visuals/engine.py): `skills/editonny/engine/helpers/visuals/engine.py`
- [Music library](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/music_library.py): `skills/editonny/engine/helpers/music_library.py`
- [Render and export](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/render_cut.py): `skills/editonny/engine/helpers/render_cut.py`
- [Export verification](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/verify_cut.py): `skills/editonny/engine/helpers/verify_cut.py`

### Local review

- [Preview API and server](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/preview_server.py): `skills/editonny/engine/helpers/preview_server.py`
- [Preview interface](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/preview/app-shell.mjs): `skills/editonny/engine/preview/app-shell.mjs`
- [Review action watcher](https://github.com/soumatheusgomes/editonny/blob/main/skills/editonny/engine/helpers/watch_preview.py): `skills/editonny/engine/helpers/watch_preview.py`

### Web experience

- [Scene catalog](https://github.com/soumatheusgomes/editonny/tree/main/web/src/features/catalog): `web/src/features/catalog`
- [Request builder](https://github.com/soumatheusgomes/editonny/blob/main/web/src/features/create/CreateView.tsx): `web/src/features/create/CreateView.tsx`
- [Guide and website](https://github.com/soumatheusgomes/editonny/blob/main/web/src/app/%5Blocale%5D/page.tsx): `web/src/app/[locale]/page.tsx`

### Other components

- **Creator**
- **Claude Code / Codex**
- **Local edit files**
- **External generators**

## Connections

- Creator → Claude Code / Codex: describes edit (evidence: `README.md`)
- Creator → Guide and website: browses guide (evidence: `README.md`)
- Guide and website → Request builder: copies request (evidence: `README.md`)
- Request builder → Edit request: builds prompt
- Claude Code / Codex → Editonny skill: invokes (evidence: `README.md`)
- Editonny skill → Footage inspection: inspects footage (evidence: `README.md`)
- Footage inspection → Local edit files: reads sources (evidence: `README.md`)
- Editonny skill → Transcription: transcribes speech (evidence: `README.md`)
- Editonny skill → Cut assembly: assembles project (evidence: `README.md`)
- Editonny skill → Captions and audio: adds captions (evidence: `README.md`)
- Editonny skill → Motion scenes: creates scenes (evidence: `README.md`)
- Editonny skill → Music library: selects music
- Editonny skill → Render and export: renders edit (evidence: `README.md`)
- Render and export → Export verification: checks export (evidence: `README.md`)
- Editonny skill → Preview API and server: opens local review (evidence: `README.md`)
- Preview API and server → Local edit files: serves edit media (evidence: `skills/editonny/engine/helpers/preview_server.py`)
- Creator → Preview API and server: reviews sample (evidence: `README.md`)
- Preview API and server → Preview interface: serves interface
- Review action watcher → Local edit files: reads saved actions (evidence: `skills/editonny/engine/helpers/watch_preview.py`)
- Creator → Scene catalog: browses scenes (evidence: `README.md`)
- Editonny skill → External generators: may request generation (evidence: `README.md`)
