# newsand/tsukuyomi architecture

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

- Interactive diagram: https://gitdiagram.com/newsand/tsukuyomi
- Repository: https://github.com/newsand/tsukuyomi

## Overview

Tsukuyomi is a Cursor creative-coding skill pack. A user brings a motion or visual-design request to either cast (adapt and implement within an existing project) or paint (create a visual system); both guide the agent through staged decisions and implementation, with audits at the end. Internal skills supply cross-platform principles and web, Android, and Apple guidance. Paint can also use UI/UX Pro Max to search its design data and generate a persistent design system. Relationships among unsampled skill content are based on README-documented pipelines; source excerpts show the UI/UX Pro Max script calls.

Main entry points: [`skills/cast/SKILL.md`](https://github.com/newsand/tsukuyomi/blob/main/skills/cast/SKILL.md) (Cast), [`skills/paint/SKILL.md`](https://github.com/newsand/tsukuyomi/blob/main/skills/paint/SKILL.md) (Paint), [`skills/_jutsu/ui-ux-pro-max/scripts/design_system.py`](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/design_system.py) (System Generator), [`skills/_jutsu/ui-ux-pro-max/scripts/search.py`](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/search.py) (Design Search)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Request Orchestration"]
  node_cast["Cast<br/>[SKILL.md]"]
  node_paint["Paint<br/>[SKILL.md]"]
  node_implementation["Project Implementation"]
  node_preview["Preview Approval"]
end

subgraph group_principles["Shared Principles"]
  node_motion["Motion Principles"]
  node_mobile["Mobile Principles"]
  node_desktop["Desktop Principles"]
  node_audit["Design Audit"]
end

subgraph group_platforms["Platform Guidance"]
  node_webmotion["Web Motion"]
  node_framermotion["Framer Motion"]
  node_css["Native CSS"]
  node_webgraphics["Web Graphics"]
  node_canvas["Generative Canvas"]
  node_compose["Compose Motion"]
  node_composegraphics["Compose Graphics"]
  node_multiplatform["Compose Multiplatform"]
  node_swiftmotion["SwiftUI Motion"]
  node_swiftgraphics["SwiftUI Graphics"]
end

subgraph group_design["Design Intelligence"]
  node_uipro["UI/UX Pro Max<br/>[SKILL.md]"]
  node_search["Design Search<br/>[search.py]"]
  node_searchcore["BM25 Search Core<br/>[core.py]"]
  node_generator["System Generator<br/>[design_system.py]"]
  node_designdata[("Design Data")]
end

node_user(("User"))

node_user -->|"requests polish"| node_cast
node_user -->|"requests design"| node_paint
node_cast -->|"loads foundation"| node_motion
node_cast -->|"guides implementation"| node_implementation
node_cast -->|"presents options"| node_preview
node_cast -->|"runs mini-audit"| node_audit
node_paint -->|"loads foundation"| node_motion
node_paint -->|"generates system"| node_uipro
node_paint -->|"presents theses"| node_preview
node_paint -->|"guides implementation"| node_implementation
node_paint -->|"runs full audit"| node_audit
node_cast -->|"loads by context"| node_mobile
node_cast -->|"loads by context"| node_desktop
node_cast -->|"loads by stack"| node_webmotion
node_cast -->|"loads by stack"| node_framermotion
node_cast -->|"loads by stack"| node_css
node_cast -->|"loads by stack"| node_webgraphics
node_cast -->|"loads by stack"| node_canvas
node_cast -->|"loads by stack"| node_compose
node_cast -->|"loads by stack"| node_composegraphics
node_cast -->|"loads by stack"| node_multiplatform
node_cast -->|"loads by stack"| node_swiftmotion
node_cast -->|"loads by stack"| node_swiftgraphics
node_paint -->|"loads by context"| node_mobile
node_paint -->|"loads by context"| node_desktop
node_uipro -->|"runs search"| node_search
node_search -->|"calls search functions"| node_searchcore
node_search -->|"calls generator"| node_generator
node_generator -->|"uses search core"| node_searchcore
node_searchcore -->|"searches CSV data"| node_designdata
node_generator -->|"reads reasoning data"| node_designdata
node_generator -->|"persists design system"| node_implementation

click node_cast "https://github.com/newsand/tsukuyomi/blob/main/skills/cast/SKILL.md"
click node_paint "https://github.com/newsand/tsukuyomi/blob/main/skills/paint/SKILL.md"
click node_motion "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/motion-principles"
click node_mobile "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/mobile-principles"
click node_desktop "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/desktop-principles"
click node_audit "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/design-audit"
click node_webmotion "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/gsap"
click node_framermotion "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/framer-motion"
click node_css "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/css-native"
click node_webgraphics "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/threejs-r3f"
click node_canvas "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/canvas-generative"
click node_compose "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-motion"
click node_composegraphics "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-graphics"
click node_multiplatform "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-multiplatform"
click node_swiftmotion "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/swiftui-motion"
click node_swiftgraphics "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/swiftui-graphics"
click node_uipro "https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/SKILL.md"
click node_search "https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/search.py"
click node_searchcore "https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/core.py"
click node_generator "https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/design_system.py"
click node_designdata "https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/ui-ux-pro-max/data"

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_cast,node_paint,node_implementation,node_preview,node_user toneBlue
class node_motion,node_mobile,node_desktop,node_audit toneAmber
class node_webmotion,node_framermotion,node_css,node_webgraphics,node_canvas,node_compose,node_composegraphics,node_multiplatform,node_swiftmotion,node_swiftgraphics toneMint
class node_uipro,node_search,node_searchcore,node_generator,node_designdata toneRose
```

## Components

### Request Orchestration

- [Cast](https://github.com/newsand/tsukuyomi/blob/main/skills/cast/SKILL.md): `skills/cast/SKILL.md`
- [Paint](https://github.com/newsand/tsukuyomi/blob/main/skills/paint/SKILL.md): `skills/paint/SKILL.md`
- **Project Implementation**
- **Preview Approval**

### Shared Principles

- [Motion Principles](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/motion-principles): `skills/_jutsu/motion-principles`
- [Mobile Principles](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/mobile-principles): `skills/_jutsu/mobile-principles`
- [Desktop Principles](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/desktop-principles): `skills/_jutsu/desktop-principles`
- [Design Audit](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/design-audit): `skills/_jutsu/design-audit`

### Platform Guidance

- [Web Motion](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/gsap): `skills/_jutsu/gsap`
- [Framer Motion](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/framer-motion): `skills/_jutsu/framer-motion`
- [Native CSS](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/css-native): `skills/_jutsu/css-native`
- [Web Graphics](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/threejs-r3f): `skills/_jutsu/threejs-r3f`
- [Generative Canvas](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/canvas-generative): `skills/_jutsu/canvas-generative`
- [Compose Motion](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-motion): `skills/_jutsu/compose-motion`
- [Compose Graphics](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-graphics): `skills/_jutsu/compose-graphics`
- [Compose Multiplatform](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/compose-multiplatform): `skills/_jutsu/compose-multiplatform`
- [SwiftUI Motion](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/swiftui-motion): `skills/_jutsu/swiftui-motion`
- [SwiftUI Graphics](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/swiftui-graphics): `skills/_jutsu/swiftui-graphics`

### Design Intelligence

- [UI/UX Pro Max](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/SKILL.md): `skills/_jutsu/ui-ux-pro-max/SKILL.md`
- [Design Search](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/search.py): `skills/_jutsu/ui-ux-pro-max/scripts/search.py`
- [BM25 Search Core](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/core.py): `skills/_jutsu/ui-ux-pro-max/scripts/core.py`
- [System Generator](https://github.com/newsand/tsukuyomi/blob/main/skills/_jutsu/ui-ux-pro-max/scripts/design_system.py): `skills/_jutsu/ui-ux-pro-max/scripts/design_system.py`
- [Design Data](https://github.com/newsand/tsukuyomi/tree/main/skills/_jutsu/ui-ux-pro-max/data): `skills/_jutsu/ui-ux-pro-max/data`

### Other components

- **User**

## Connections

- User → Cast: requests polish (evidence: `README.md`)
- User → Paint: requests design (evidence: `README.md`)
- Cast → Motion Principles: loads foundation (evidence: `README.md`)
- Cast → Project Implementation: guides implementation (evidence: `README.md`)
- Cast → Preview Approval: presents options (evidence: `README.md`)
- Cast → Design Audit: runs mini-audit (evidence: `README.md`)
- Paint → Motion Principles: loads foundation (evidence: `README.md`)
- Paint → UI/UX Pro Max: generates system (evidence: `README.md`)
- Paint → Preview Approval: presents theses (evidence: `README.md`)
- Paint → Project Implementation: guides implementation (evidence: `README.md`)
- Paint → Design Audit: runs full audit (evidence: `README.md`)
- Cast → Mobile Principles: loads by context (evidence: `README.md`)
- Cast → Desktop Principles: loads by context (evidence: `README.md`)
- Cast → Web Motion: loads by stack (evidence: `README.md`)
- Cast → Framer Motion: loads by stack (evidence: `README.md`)
- Cast → Native CSS: loads by stack (evidence: `README.md`)
- Cast → Web Graphics: loads by stack (evidence: `README.md`)
- Cast → Generative Canvas: loads by stack (evidence: `README.md`)
- Cast → Compose Motion: loads by stack (evidence: `README.md`)
- Cast → Compose Graphics: loads by stack (evidence: `README.md`)
- Cast → Compose Multiplatform: loads by stack (evidence: `README.md`)
- Cast → SwiftUI Motion: loads by stack (evidence: `README.md`)
- Cast → SwiftUI Graphics: loads by stack (evidence: `README.md`)
- Paint → Mobile Principles: loads by context (evidence: `README.md`)
- Paint → Desktop Principles: loads by context (evidence: `README.md`)
- UI/UX Pro Max → Design Search: runs search (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/search.py`)
- Design Search → BM25 Search Core: calls search functions (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/search.py`)
- Design Search → System Generator: calls generator (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/search.py`)
- System Generator → BM25 Search Core: uses search core (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/design_system.py`)
- BM25 Search Core → Design Data: searches CSV data (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/core.py`)
- System Generator → Design Data: reads reasoning data (evidence: `skills/_jutsu/ui-ux-pro-max/scripts/design_system.py`)
- System Generator → Project Implementation: persists design system (evidence: `README.md`)
