# ulziisuren/unslop-mn architecture

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

- Interactive diagram: https://gitdiagram.com/ulziisuren/unslop-mn
- Repository: https://github.com/ulziisuren/unslop-mn
- Video tour (about a minute): https://gitdiagram.com/ulziisuren/unslop-mn/video

## Overview

unslop-mn is a Claude Code/Codex skill that audits AI-styled interfaces and guides a product-specific redesign; its Mongolian adaptation adds language, typography, and locale rules. The primary workflow is user request → audit → design direction → ordered refinement passes. The repository also includes tools for capturing live pages and producing a short redesign story video. Documentation establishes the skill’s stages and capabilities; sampled scripts show their own browser and file-processing behavior, but do not show that the skill invokes them.

Main entry points: [`skills/unslop/SKILL.md`](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md) (Unslop skill), [`skills/unslop/scripts/story.mjs`](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/story.mjs) (Story video), [`skills/unslop/scripts/snapshot.mjs`](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/snapshot.mjs) (Page snapshot), [`skills/unslop/references/visuals.md`](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/visuals.md) (Visual assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skill["Design skill"]
  node_skill["Unslop skill<br/>[SKILL.md]"]
  node_audit["Slop audit<br/>[SKILL.md]"]
  node_direction["Design direction<br/>[SKILL.md]"]
  node_passes["Refinement passes<br/>[SKILL.md]"]
  node_visuals["Visual assets<br/>[visuals.md]"]
end

subgraph group_guides["Design guidance"]
  node_mongolian["Mongolian rules<br/>[mongolian.md]"]
  node_tokens["Design tokens<br/>[tokens.md]"]
  node_effects["Effects guidance<br/>[effects.md]"]
  node_signs["Slop indicators<br/>[signs.md]"]
end

subgraph group_tools["Capture tools"]
  node_snapshot["Page snapshot<br/>[snapshot.mjs]"]
  node_story["Story video<br/>[story.mjs]"]
end

node_user(("Designer"))
node_target["Product interface"]
node_browser["Chromium browser"]
node_ffmpeg["ffmpeg"]

node_user -->|"requests redesign"| node_skill
node_skill -->|"starts with"| node_audit
node_audit -->|"sets direction"| node_direction
node_direction -->|"guides passes"| node_passes
node_passes -->|"redesigns interface"| node_target
node_skill -->|"uses guidance"| node_visuals
node_user -->|"captures page"| node_snapshot
node_snapshot -->|"drives"| node_browser
node_user -->|"creates video"| node_story
node_story -->|"renders frames"| node_browser
node_story -->|"encodes video"| node_ffmpeg

click node_skill "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md"
click node_audit "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md"
click node_direction "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md"
click node_passes "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md"
click node_visuals "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/visuals.md"
click node_mongolian "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/mongolian.md"
click node_tokens "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/tokens.md"
click node_effects "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/effects.md"
click node_signs "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/signs.md"
click node_snapshot "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/snapshot.mjs"
click node_story "https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/story.mjs"

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_audit,node_direction,node_passes,node_visuals,node_browser toneBlue
class node_mongolian,node_tokens,node_effects,node_signs toneAmber
class node_snapshot,node_story toneMint
class node_user,node_target,node_ffmpeg toneIndigo
```

## Components

### Design skill

- [Unslop skill](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md): `skills/unslop/SKILL.md`
- [Slop audit](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md): `skills/unslop/SKILL.md`
- [Design direction](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md): `skills/unslop/SKILL.md`
- [Refinement passes](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/SKILL.md): `skills/unslop/SKILL.md`
- [Visual assets](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/visuals.md): `skills/unslop/references/visuals.md`

### Design guidance

- [Mongolian rules](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/mongolian.md): `skills/unslop/references/mongolian.md`
- [Design tokens](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/tokens.md): `skills/unslop/references/tokens.md`
- [Effects guidance](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/effects.md): `skills/unslop/references/effects.md`
- [Slop indicators](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/references/signs.md): `skills/unslop/references/signs.md`

### Capture tools

- [Page snapshot](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/snapshot.mjs): `skills/unslop/scripts/snapshot.mjs`
- [Story video](https://github.com/ulziisuren/unslop-mn/blob/main/skills/unslop/scripts/story.mjs): `skills/unslop/scripts/story.mjs`

### Other components

- **Designer**
- **Product interface**
- **Chromium browser**
- **ffmpeg**

## Connections

- Designer → Unslop skill: requests redesign (evidence: `README.md`)
- Unslop skill → Slop audit: starts with (evidence: `README.md`)
- Slop audit → Design direction: sets direction (evidence: `README.md`)
- Design direction → Refinement passes: guides passes (evidence: `README.md`)
- Refinement passes → Product interface: redesigns interface (evidence: `README.md`)
- Unslop skill → Visual assets: uses guidance (evidence: `README.md`)
- Designer → Page snapshot: captures page (evidence: `README.md`)
- Page snapshot → Chromium browser: drives (evidence: `skills/unslop/scripts/snapshot.mjs`)
- Designer → Story video: creates video (evidence: `README.md`)
- Story video → Chromium browser: renders frames (evidence: `skills/unslop/scripts/story.mjs`)
- Story video → ffmpeg: encodes video (evidence: `skills/unslop/scripts/story.mjs`)
