# wezzard/antigravity-flow architecture

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

- Interactive diagram: https://gitdiagram.com/wezzard/antigravity-flow
- Repository: https://github.com/wezzard/antigravity-flow

## Overview

Antigravity Flow is a documentation-driven plugin that guides an AI agent through Google Flow filmmaking and creative-tool workflows. Users invoke focused skills to develop a storyboard, prepare reusable ingredients, generate clips, assemble scenes, or explore and create tools; a separate manual audit skill checks for Flow UI changes. The always-on rules govern browser delegation, authentication, confirmation and safety pauses, and local asset staging. The repository contains no application source excerpts, so relationships below are limited to workflows explicitly described in the README.

Main entry points: [`skills/flow-sync/SKILL.md`](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-sync/SKILL.md) (Flow audit), [`rules/AGENTS.md`](https://github.com/wezzard/antigravity-flow/blob/main/rules/AGENTS.md) (Operating rules), [`skills/flow-director/SKILL.md`](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-director/SKILL.md) (Story director), [`skills/flow-generate/SKILL.md`](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-generate/SKILL.md) (Shot generation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_guidance["Agent guidance"]
  node_rules["Operating rules<br/>[AGENTS.md]"]
  node_staging["Local asset staging<br/>[AGENTS.md]"]
end

subgraph group_production["Filmmaking workflow"]
  node_director["Story director<br/>[SKILL.md]"]
  node_promptguide["Veo prompt guide"]
  node_storyboard["Storyboard"]
  node_ingredients["Ingredient setup<br/>[SKILL.md]"]
  node_generate["Shot generation<br/>[SKILL.md]"]
  node_clips["Generated clips"]
  node_scene["Scene assembly<br/>[SKILL.md]"]
end

subgraph group_creative["Creative tools"]
  node_tools["Tools gallery<br/>[SKILL.md]"]
  node_catalog["Tools catalog<br/>[tools-catalog.md]"]
end

subgraph group_maintenance["Manual audit"]
  node_sync["Flow audit<br/>[SKILL.md]"]
  node_checklist["Audit checklist<br/>[audit-checklist.md]"]
end

node_user(("User"))
node_browser["Browser subagent"]
node_flow["Google Flow"]

node_user -->|"requests story"| node_director
node_director -->|"creates storyboard"| node_storyboard
node_director -->|"uses guide"| node_promptguide
node_user -->|"requests setup"| node_ingredients
node_user -->|"requests shots"| node_generate
node_generate -->|"produces clips"| node_clips
node_user -->|"requests assembly"| node_scene
node_scene -->|"sequences clips"| node_clips
node_user -->|"explores tools"| node_tools
node_tools -->|"uses catalog"| node_catalog
node_user -->|"triggers audit"| node_sync
node_sync -->|"follows checklist"| node_checklist
node_sync -->|"audits surfaces"| node_flow
node_sync -->|"diffs plugin"| node_rules
node_rules -->|"delegates UI"| node_browser
node_browser -->|"operates UI"| node_flow
node_rules -->|"stages assets"| node_staging
node_ingredients -->|"sets up project"| node_flow
node_generate -->|"generates shots"| node_flow
node_scene -->|"edits scenes"| node_flow
node_tools -->|"uses gallery"| node_flow

click node_rules "https://github.com/wezzard/antigravity-flow/blob/main/rules/AGENTS.md"
click node_staging "https://github.com/wezzard/antigravity-flow/blob/main/rules/AGENTS.md"
click node_director "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-director/SKILL.md"
click node_promptguide "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-director/references/veo-prompt-guide.md"
click node_ingredients "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-ingredients/SKILL.md"
click node_generate "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-generate/SKILL.md"
click node_scene "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-scene-builder/SKILL.md"
click node_tools "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-tools/SKILL.md"
click node_catalog "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-tools/references/tools-catalog.md"
click node_sync "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-sync/SKILL.md"
click node_checklist "https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-sync/references/audit-checklist.md"

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_rules,node_staging,node_user,node_browser toneBlue
class node_director,node_promptguide,node_storyboard,node_ingredients,node_generate,node_clips,node_scene toneAmber
class node_tools,node_catalog toneMint
class node_sync,node_checklist toneRose
class node_flow toneIndigo
```

## Components

### Agent guidance

- [Operating rules](https://github.com/wezzard/antigravity-flow/blob/main/rules/AGENTS.md): `rules/AGENTS.md`
- [Local asset staging](https://github.com/wezzard/antigravity-flow/blob/main/rules/AGENTS.md): `rules/AGENTS.md`

### Filmmaking workflow

- [Story director](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-director/SKILL.md): `skills/flow-director/SKILL.md`
- [Veo prompt guide](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-director/references/veo-prompt-guide.md): `skills/flow-director/references/veo-prompt-guide.md`
- **Storyboard**
- [Ingredient setup](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-ingredients/SKILL.md): `skills/flow-ingredients/SKILL.md`
- [Shot generation](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-generate/SKILL.md): `skills/flow-generate/SKILL.md`
- **Generated clips**
- [Scene assembly](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-scene-builder/SKILL.md): `skills/flow-scene-builder/SKILL.md`

### Creative tools

- [Tools gallery](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-tools/SKILL.md): `skills/flow-tools/SKILL.md`
- [Tools catalog](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-tools/references/tools-catalog.md): `skills/flow-tools/references/tools-catalog.md`

### Manual audit

- [Flow audit](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-sync/SKILL.md): `skills/flow-sync/SKILL.md`
- [Audit checklist](https://github.com/wezzard/antigravity-flow/blob/main/skills/flow-sync/references/audit-checklist.md): `skills/flow-sync/references/audit-checklist.md`

### Other components

- **User**
- **Browser subagent**
- **Google Flow**

## Connections

- User → Story director: requests story (evidence: `README.md`)
- Story director → Storyboard: creates storyboard (evidence: `README.md`)
- Story director → Veo prompt guide: uses guide (evidence: `README.md`)
- User → Ingredient setup: requests setup (evidence: `README.md`)
- User → Shot generation: requests shots (evidence: `README.md`)
- Shot generation → Generated clips: produces clips (evidence: `README.md`)
- User → Scene assembly: requests assembly (evidence: `README.md`)
- Scene assembly → Generated clips: sequences clips (evidence: `README.md`)
- User → Tools gallery: explores tools (evidence: `README.md`)
- Tools gallery → Tools catalog: uses catalog (evidence: `README.md`)
- User → Flow audit: triggers audit (evidence: `README.md`)
- Flow audit → Audit checklist: follows checklist (evidence: `README.md`)
- Flow audit → Google Flow: audits surfaces (evidence: `README.md`)
- Flow audit → Operating rules: diffs plugin (evidence: `README.md`)
- Operating rules → Browser subagent: delegates UI (evidence: `README.md`)
- Browser subagent → Google Flow: operates UI (evidence: `README.md`)
- Operating rules → Local asset staging: stages assets (evidence: `README.md`)
- Ingredient setup → Google Flow: sets up project (evidence: `README.md`)
- Shot generation → Google Flow: generates shots (evidence: `README.md`)
- Scene assembly → Google Flow: edits scenes (evidence: `README.md`)
- Tools gallery → Google Flow: uses gallery (evidence: `README.md`)
