# gogoweiwei/material-ui-chrome-extension-ai-skill architecture

> Architecture diagram of the GitHub repository gogoweiwei/material-ui-chrome-extension-ai-skill, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gogoweiwei/material-ui-chrome-extension-ai-skill
- Repository: https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill

## Overview

This repository is an AI instruction package, not a running Chrome extension. A developer gives the SKILL.md rules to an AI coding assistant, which uses them to generate extension UI code; the examples show the intended manifest and popup output. The README documents this workflow and the examples, but no source excerpts are available, so the graph does not infer runtime behavior or connections among example files.

Main entry points: [`SKILL.md`](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/SKILL.md) (UI generation rules), [`examples/manifest.json`](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/manifest.json) (Extension manifest), [`examples/popup.html`](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.html) (Popup markup), [`examples/popup.js`](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.js) (Popup script)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_developer(("Developer"))
node_assistant(("AI assistant"))
node_skill["UI generation rules<br/>[SKILL.md]"]
node_manifest["Extension manifest<br/>[manifest.json]"]
node_popup_html["Popup markup<br/>[popup.html]"]
node_popup_js["Popup script<br/>[popup.js]"]

node_developer -->|"prompts with"| node_assistant
node_developer -->|"provides rules"| node_skill
node_assistant -->|"generates example"| node_manifest
node_assistant -->|"generates example"| node_popup_html
node_assistant -->|"generates example"| node_popup_js

click node_skill "https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/SKILL.md"
click node_manifest "https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/manifest.json"
click node_popup_html "https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.html"
click node_popup_js "https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.js"

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_developer,node_assistant toneIndigo
class node_skill toneBlue
class node_manifest,node_popup_html,node_popup_js toneTeal
```

## Components

### Other components

- **Developer**
- **AI assistant**
- [UI generation rules](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/SKILL.md): `SKILL.md`
- [Extension manifest](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/manifest.json): `examples/manifest.json`
- [Popup markup](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.html): `examples/popup.html`
- [Popup script](https://github.com/gogoweiwei/material-ui-chrome-extension-ai-skill/blob/main/examples/popup.js): `examples/popup.js`

## Connections

- Developer → AI assistant: prompts with (evidence: `README.md`)
- Developer → UI generation rules: provides rules (evidence: `README.md`)
- AI assistant → Extension manifest: generates example (evidence: `README.md`)
- AI assistant → Popup markup: generates example (evidence: `README.md`)
- AI assistant → Popup script: generates example (evidence: `README.md`)
