# larashero3-dotcom/lieflat-charts architecture

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

- Interactive diagram: https://gitdiagram.com/larashero3-dotcom/lieflat-charts
- Repository: https://github.com/larashero3-dotcom/lieflat-charts

## Overview

Lieflat Charts is an Agent Skill for producing editorial data visualizations and, when requested, complete HTML reports. The main workflow is an agent interpreting a user’s request, choosing a chart style and palette or a report layout, and generating HTML from the matching templates. The repository also provides shared Mono design tokens and color presets. The README documents these capabilities, but implementation details in SKILL.md and templates were not sampled, so internal routing between them is not asserted.

Main entry points: [`templates`](https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates) (Chart galleries), [`SKILL.md`](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/SKILL.md) (Skill instructions), [`templates/reports`](https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates/reports) (Report templates), [`catalog.md`](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/catalog.md) (Chart catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Agent workflow"]
  node_agent(("Compatible AI agent"))
  node_skill["Skill instructions<br/>[SKILL.md]"]
  node_catalog["Chart catalog<br/>[catalog.md]"]
  node_html["Generated HTML"]
end

subgraph group_visuals["Chart system"]
  node_chart_templates["Chart galleries"]
  node_editorial["Lupi templates<br/>[lupi-gallery.html]"]
  node_glance["Glance templates"]
  node_basics["Basics templates"]
  node_interactive["Interactive charts<br/>[big-force.html]"]
  node_color_templates["Color variants"]
end

subgraph group_reports["Report system"]
  node_report_catalog["Report catalog<br/>[report-catalog.md]"]
  node_report_templates["Report templates"]
end

subgraph group_design["Visual language"]
  node_mono["Mono tokens<br/>[mono-tokens.js]"]
  node_presets["Color presets<br/>[color-presets.js]"]
end

node_user(("User"))

node_user -->|"requests charts or reports"| node_agent
node_agent -->|"uses skill"| node_skill
node_skill -->|"selects chart types"| node_catalog
node_agent -->|"generates charts"| node_chart_templates
node_chart_templates -->|"includes"| node_editorial
node_chart_templates -->|"includes"| node_glance
node_chart_templates -->|"includes"| node_basics
node_agent -->|"creates relationship charts"| node_interactive
node_agent -->|"chooses color variant"| node_color_templates
node_agent -->|"uses Mono styling"| node_mono
node_agent -->|"chooses palette"| node_presets
node_agent -->|"selects report layout"| node_report_catalog
node_agent -->|"generates reports"| node_report_templates
node_chart_templates -->|"produces HTML"| node_html
node_report_templates -->|"produces HTML"| node_html

click node_skill "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/SKILL.md"
click node_catalog "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/catalog.md"
click node_chart_templates "https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates"
click node_editorial "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/lupi-gallery.html"
click node_glance "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/glance-gallery.html"
click node_basics "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/basics-gallery.html"
click node_interactive "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/big-force.html"
click node_color_templates "https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates/color"
click node_mono "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/mono-tokens.js"
click node_presets "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/color-presets.js"
click node_report_catalog "https://github.com/larashero3-dotcom/lieflat-charts/blob/main/report-catalog.md"
click node_report_templates "https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates/reports"

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_agent,node_skill,node_catalog,node_html,node_user toneBlue
class node_chart_templates,node_editorial,node_glance,node_basics,node_interactive,node_color_templates toneAmber
class node_report_catalog,node_report_templates toneMint
class node_mono,node_presets toneRose
```

## Components

### Agent workflow

- **Compatible AI agent**
- [Skill instructions](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/SKILL.md): `SKILL.md`
- [Chart catalog](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/catalog.md): `catalog.md`
- **Generated HTML**

### Chart system

- [Chart galleries](https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates): `templates`
- [Lupi templates](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/lupi-gallery.html): `templates/lupi-gallery.html`
- [Glance templates](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/glance-gallery.html): `templates/glance-gallery.html`
- [Basics templates](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/basics-gallery.html): `templates/basics-gallery.html`
- [Interactive charts](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/templates/big-force.html): `templates/big-force.html`
- [Color variants](https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates/color): `templates/color`

### Report system

- [Report catalog](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/report-catalog.md): `report-catalog.md`
- [Report templates](https://github.com/larashero3-dotcom/lieflat-charts/tree/main/templates/reports): `templates/reports`

### Visual language

- [Mono tokens](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/mono-tokens.js): `mono-tokens.js`
- [Color presets](https://github.com/larashero3-dotcom/lieflat-charts/blob/main/color-presets.js): `color-presets.js`

### Other components

- **User**

## Connections

- User → Compatible AI agent: requests charts or reports (evidence: `README.md`)
- Compatible AI agent → Skill instructions: uses skill (evidence: `README.md`)
- Skill instructions → Chart catalog: selects chart types (evidence: `README.md`)
- Compatible AI agent → Chart galleries: generates charts (evidence: `README.md`)
- Chart galleries → Lupi templates: includes (evidence: `README.md`)
- Chart galleries → Glance templates: includes (evidence: `README.md`)
- Chart galleries → Basics templates: includes (evidence: `README.md`)
- Compatible AI agent → Interactive charts: creates relationship charts (evidence: `README.md`)
- Compatible AI agent → Color variants: chooses color variant (evidence: `README.md`)
- Compatible AI agent → Mono tokens: uses Mono styling (evidence: `README.md`)
- Compatible AI agent → Color presets: chooses palette (evidence: `README.md`)
- Compatible AI agent → Report catalog: selects report layout (evidence: `README.md`)
- Compatible AI agent → Report templates: generates reports (evidence: `README.md`)
- Chart galleries → Generated HTML: produces HTML (evidence: `README.md`)
- Report templates → Generated HTML: produces HTML (evidence: `README.md`)
