# exfox15157/ai-skills architecture

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

- Interactive diagram: https://gitdiagram.com/exfox15157/ai-skills
- Repository: https://github.com/exfox15157/ai-skills

## Overview

ai-skills packages task-specific Agent Skills for browser-assisted shopping. The principal Shopee workflow sweeps listings and the voucher wallet, selects listings for detail checks, evaluates voucher and checkout-price evidence, then renders a buyer-facing report. Hotel search is a separate documented capability: compare checkout prices across three booking sites, including coupons and card cashback. The sampled workflow shows orchestration and report generation; the README supplies the hotel capability, while its implementation details were not sampled.

Main entry points: [`plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js) (Workflow Orchestrator), [`plugins/hotel-search/skills/hotel-search/SKILL.md`](https://github.com/exfox15157/ai-skills/blob/main/plugins/hotel-search/skills/hotel-search/SKILL.md) (Hotel Comparison Skill), [`plugins/shopee-vn/skills/shopee-vn/SKILL.md`](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/SKILL.md) (Shopee Skill), [`plugins/shopee-vn/skills/shopee-vn/tools/lint-report.js`](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/tools/lint-report.js) (Report Linter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shopee["Shopee Vietnam"]
  node_shopee_skill["Shopee Skill<br/>[SKILL.md]"]
  node_orchestrator["Workflow Orchestrator<br/>[shopee-3agent.js]"]
  node_listing_sweep["Listing Sweep"]
  node_page_library["Page Data Library<br/>[sh.js]"]
  node_product_scan["Product Review<br/>[scan-product.md]"]
  node_voucher_scan["Voucher Review<br/>[scan-voucher.md]"]
  node_review_rules["Scan Review"]
  node_voucher_data["Voucher Reference Data<br/>[vouchers.json]"]
  node_picker_data["Picker Reference Data<br/>[pickers.json]"]
  node_spec_data["Product Specs<br/>[specs.json]"]
  node_api_notes["API Notes<br/>[api-notes.md]"]
  node_constraints["Listing Constraints<br/>[constraints.md]"]
  node_listing_traps["Listing Traps<br/>[listing-traps.md]"]
  node_voucher_reference["Voucher Guidance<br/>[vouchers.md]"]
end

subgraph group_hotel["Hotel Search"]
  node_hotel_skill["Hotel Comparison Skill<br/>[SKILL.md]"]
  node_booking["Booking.com"]
  node_agoda["Agoda"]
  node_ivivu["iVIVU"]
end

subgraph group_reporting["Reporting"]
  node_reporter["Report Renderer<br/>[shopee-3agent.js]"]
  node_report_rules["Report Rules<br/>[reporter.md]"]
  node_report_template["Report Template<br/>[report-template.md]"]
  node_report_linter["Report Linter<br/>[lint-report.js]"]
end

node_buyer(("Shopper"))

node_buyer -->|"requests price check"| node_shopee_skill
node_shopee_skill -->|"runs default workflow"| node_orchestrator
node_orchestrator -->|"reads list rules"| node_listing_sweep
node_orchestrator -->|"uses page library"| node_page_library
node_orchestrator -.->|"dispatches detail scans"| node_product_scan
node_orchestrator -.->|"dispatches voucher scans"| node_voucher_scan
node_orchestrator -.->|"reviews scan results"| node_review_rules
node_orchestrator -->|"renders report"| node_reporter
node_reporter -.->|"follows report rules"| node_report_rules
node_reporter -.->|"formats report"| node_report_template
node_report_linter -.->|"checks report output"| node_reporter
node_buyer -->|"requests hotel comparison"| node_hotel_skill
node_hotel_skill -->|"compares checkout prices"| node_booking
node_hotel_skill -->|"compares checkout prices"| node_agoda
node_hotel_skill -->|"compares checkout prices"| node_ivivu

click node_shopee_skill "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/SKILL.md"
click node_orchestrator "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js"
click node_listing_sweep "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-lists.md"
click node_page_library "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/js/sh.js"
click node_product_scan "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/scan-product.md"
click node_voucher_scan "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/scan-voucher.md"
click node_review_rules "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-review.md"
click node_voucher_data "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/vouchers.json"
click node_picker_data "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/pickers.json"
click node_spec_data "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/specs.json"
click node_api_notes "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/api-notes.md"
click node_constraints "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/constraints.md"
click node_listing_traps "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/listing-traps.md"
click node_voucher_reference "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/vouchers.md"
click node_hotel_skill "https://github.com/exfox15157/ai-skills/blob/main/plugins/hotel-search/skills/hotel-search/SKILL.md"
click node_reporter "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js"
click node_report_rules "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/reporter.md"
click node_report_template "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/report-template.md"
click node_report_linter "https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/tools/lint-report.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_shopee_skill,node_orchestrator,node_listing_sweep,node_page_library,node_product_scan,node_voucher_scan,node_review_rules,node_voucher_data,node_picker_data,node_spec_data,node_api_notes,node_constraints,node_listing_traps,node_voucher_reference toneBlue
class node_hotel_skill,node_booking,node_agoda,node_ivivu toneAmber
class node_reporter,node_report_rules,node_report_template,node_report_linter toneMint
class node_buyer toneIndigo
```

## Components

### Shopee Vietnam

- [Shopee Skill](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/SKILL.md): `plugins/shopee-vn/skills/shopee-vn/SKILL.md`
- [Workflow Orchestrator](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js): `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`
- [Listing Sweep](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-lists.md): `plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-lists.md`
- [Page Data Library](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/js/sh.js): `plugins/shopee-vn/skills/shopee-vn/js/sh.js`
- [Product Review](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/scan-product.md): `plugins/shopee-vn/skills/shopee-vn/rules/scan-product.md`
- [Voucher Review](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/scan-voucher.md): `plugins/shopee-vn/skills/shopee-vn/rules/scan-voucher.md`
- [Scan Review](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-review.md): `plugins/shopee-vn/skills/shopee-vn/rules/orchestrator-review.md`
- [Voucher Reference Data](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/vouchers.json): `plugins/shopee-vn/skills/shopee-vn/data/vouchers.json`
- [Picker Reference Data](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/pickers.json): `plugins/shopee-vn/skills/shopee-vn/data/pickers.json`
- [Product Specs](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/data/specs.json): `plugins/shopee-vn/skills/shopee-vn/data/specs.json`
- [API Notes](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/api-notes.md): `plugins/shopee-vn/skills/shopee-vn/references/api-notes.md`
- [Listing Constraints](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/constraints.md): `plugins/shopee-vn/skills/shopee-vn/references/constraints.md`
- [Listing Traps](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/listing-traps.md): `plugins/shopee-vn/skills/shopee-vn/references/listing-traps.md`
- [Voucher Guidance](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/references/vouchers.md): `plugins/shopee-vn/skills/shopee-vn/references/vouchers.md`

### Hotel Search

- [Hotel Comparison Skill](https://github.com/exfox15157/ai-skills/blob/main/plugins/hotel-search/skills/hotel-search/SKILL.md): `plugins/hotel-search/skills/hotel-search/SKILL.md`
- **Booking.com**
- **Agoda**
- **iVIVU**

### Reporting

- [Report Renderer](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js): `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`
- [Report Rules](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/rules/reporter.md): `plugins/shopee-vn/skills/shopee-vn/rules/reporter.md`
- [Report Template](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/report-template.md): `plugins/shopee-vn/skills/shopee-vn/report-template.md`
- [Report Linter](https://github.com/exfox15157/ai-skills/blob/main/plugins/shopee-vn/skills/shopee-vn/tools/lint-report.js): `plugins/shopee-vn/skills/shopee-vn/tools/lint-report.js`

### Other components

- **Shopper**

## Connections

- Shopper → Shopee Skill: requests price check (evidence: `README.md`)
- Shopee Skill → Workflow Orchestrator: runs default workflow (evidence: `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`)
- Workflow Orchestrator → Listing Sweep: reads list rules (evidence: `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`)
- Workflow Orchestrator → Page Data Library: uses page library (evidence: `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`)
- Workflow Orchestrator → Product Review: dispatches detail scans
- Workflow Orchestrator → Voucher Review: dispatches voucher scans
- Workflow Orchestrator → Scan Review: reviews scan results
- Workflow Orchestrator → Report Renderer: renders report (evidence: `plugins/shopee-vn/skills/shopee-vn/workflows/shopee-3agent.js`)
- Report Renderer → Report Rules: follows report rules
- Report Renderer → Report Template: formats report
- Report Linter → Report Renderer: checks report output
- Shopper → Hotel Comparison Skill: requests hotel comparison (evidence: `README.md`)
- Hotel Comparison Skill → Booking.com: compares checkout prices (evidence: `README.md`)
- Hotel Comparison Skill → Agoda: compares checkout prices (evidence: `README.md`)
- Hotel Comparison Skill → iVIVU: compares checkout prices (evidence: `README.md`)
