# lakshya1282/motion-transplant architecture

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

- Interactive diagram: https://gitdiagram.com/lakshya1282/motion-transplant
- Repository: https://github.com/lakshya1282/motion-transplant

## Overview

Motion Transplant is an agent skill for reverse-engineering web animations and rebuilding them in a user's project. Its documented workflow moves from locating and capturing an animation through specification, sandboxing, mathematical verification, integration, accessibility checks, and delivery. README documentation also describes browser telemetry for discovery, sampling, and curve fitting. No skill-file excerpts were provided, so the graph reflects documented capabilities and relationships only.

Main entry points: [`SKILL.md`](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md) (Locate animation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_analysis["Animation analysis"]
  node_locate["Locate animation<br/>[SKILL.md]"]
  node_discover["Runtime discovery<br/>[SKILL.md]"]
  node_capture["Capture evidence<br/>[SKILL.md]"]
  node_sampler["Motion sampler<br/>[SKILL.md]"]
  node_curve_fit["Curve fitting<br/>[SKILL.md]"]
  node_specify["Write specification<br/>[SKILL.md]"]
end

subgraph group_rebuild["Rebuild and verification"]
  node_sandbox["Sandbox rebuild<br/>[SKILL.md]"]
  node_verify["Verify motion<br/>[SKILL.md]"]
end

subgraph group_delivery["Integration and delivery"]
  node_integrate["Integrate animation<br/>[SKILL.md]"]
  node_responsive["Responsive and access<br/>[SKILL.md]"]
  node_report["Delivery report<br/>[SKILL.md]"]
end

node_user(("User / agent"))
node_target["User project"]

node_user -->|"requests transplant"| node_locate
node_locate -->|"scans runtime"| node_discover
node_locate -->|"selects animation"| node_capture
node_capture -->|"samples motion"| node_sampler
node_capture -->|"records evidence"| node_specify
node_sampler -->|"fits curves"| node_curve_fit
node_specify -->|"guides rebuild"| node_sandbox
node_sandbox -->|"measures prototype"| node_verify
node_verify -->|"requests adjustment"| node_sandbox
node_verify -->|"approves rebuild"| node_integrate
node_target -->|"receives animation"| node_integrate
node_integrate -->|"checks adaptations"| node_responsive
node_responsive -->|"summarizes delivery"| node_report

click node_locate "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_discover "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_capture "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_sampler "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_curve_fit "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_specify "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_sandbox "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_verify "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_integrate "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_responsive "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md"
click node_report "https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.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_locate,node_discover,node_capture,node_sampler,node_curve_fit,node_specify,node_user,node_target toneBlue
class node_sandbox,node_verify toneAmber
class node_integrate,node_responsive,node_report toneMint
```

## Components

### Animation analysis

- [Locate animation](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Runtime discovery](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Capture evidence](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Motion sampler](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Curve fitting](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Write specification](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`

### Rebuild and verification

- [Sandbox rebuild](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Verify motion](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`

### Integration and delivery

- [Integrate animation](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Responsive and access](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`
- [Delivery report](https://github.com/lakshya1282/motion-transplant/blob/main/SKILL.md): `SKILL.md`

### Other components

- **User / agent**
- **User project**

## Connections

- User / agent → Locate animation: requests transplant (evidence: `README.md`)
- Locate animation → Runtime discovery: scans runtime (evidence: `README.md`)
- Locate animation → Capture evidence: selects animation (evidence: `README.md`)
- Capture evidence → Motion sampler: samples motion (evidence: `README.md`)
- Capture evidence → Write specification: records evidence (evidence: `README.md`)
- Motion sampler → Curve fitting: fits curves (evidence: `README.md`)
- Write specification → Sandbox rebuild: guides rebuild (evidence: `README.md`)
- Sandbox rebuild → Verify motion: measures prototype (evidence: `README.md`)
- Verify motion → Sandbox rebuild: requests adjustment (evidence: `README.md`)
- Verify motion → Integrate animation: approves rebuild (evidence: `README.md`)
- User project → Integrate animation: receives animation (evidence: `README.md`)
- Integrate animation → Responsive and access: checks adaptations (evidence: `README.md`)
- Responsive and access → Delivery report: summarizes delivery (evidence: `README.md`)
