# kishormorol/skillsallyouneed architecture

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

- Interactive diagram: https://gitdiagram.com/kishormorol/skillsallyouneed
- Repository: https://github.com/kishormorol/skillsallyouneed

## Overview

1. **Repository shape**
   - This is a **static, client-side catalog site** for AI assistant skills.
   - The architecture is intentionally minimal: one main application file (`index.html`), one machine-readable data file (`skills.json`), and a few supporting static assets (`manifest.json`, `sitemap.xml`).

2. **Single-page application core**
   - `index.html` is the **entire application shell**: markup, styles, and JavaScript live together.
   - That file likely owns the full runtime behavior: loading/rendering skill cards, opening the detail sheet, handling search/filter state, and wiring keyboard shortcuts.

3. **Primary data model**
   - The skill registry is the central domain object: each entry has an `id`, `name`, `ecosystem`, `category`, `status`, `description`, `trigger`, `howto`, `example`, and `source`.
   - The repo treats `skills.json` as the **public API and corpus export**, while `index.html` is the human-facing UI over the same dataset.

4. **Data source of truth and generation flow**
   - The README says new entries are added to the `SKILLS` array in `index.html` and then mirrored into `skills.json`.
   - That implies a **content-first workflow** where the embedded registry data drives the UI and the JSON endpoint, rather than fetching from a backend service.

5. **Search, filter, and sorting subsystem**
   - The app’s main interaction model is directory-style exploration:
     - full-text search
     - filter chips by ecosystem, category, and status
     - presets like Claude Code / Agentic / Stable / New additions
     - ordering by index or recency
   - This subsystem is the primary way users reduce the 124-entry corpus into a browseable subset.

6. **Card grid and detail-sheet navigation**
   - Skills are presented as cards in an editorial grid.
   - Clicking a card opens a **detail sheet** that contains the full skill record, related skills, and prev/next navigation.
   - Hash-based routing deep-links directly to a skill and auto-opens the sheet on load, so each skill is addressable as a shareable page state without separate server routes.

7. **State persistence and user preferences**
   - User-specific state is kept locally in the browser:
     - favorites/bookmarks via `localStorage`
     - dark mode via `localStorage`
     - onboarding dismissal via a one-time local flag
   - This means the app is **stateless on the server** but personalized in the browser.

8. **Utility actions around each skill**
   - The UI supports several “action” flows on top of the data:
     - copy trigger phrase to clipboard
     - native share via Web Share API
     - export the currently visible subset as JSON
     - jump randomly to a skill
   - These are all client-side behaviors built around the same in-memory filtered dataset.

9. **Read-only publishing and discovery**
   - `manifest.json` makes the site installable as a **PWA**, but there is no backend or authentication layer.
   - `sitemap.xml` and the JSON-LD dataset metadata improve crawler visibility and search indexing.
   - The hosting target is GitHub Pages, so deployment is just static file publishing.

10. **Print and offline-friendly presentation layer**
   - The site includes a dedicated print stylesheet and “printable magazine” framing.
   - That makes the UI behave as both an interactive reference tool and a static document, which is unusual and important for the architecture: the same data supports browsing, sharing, and print output.

11. **Community contribution workflow**
   - `.github/ISSUE_TEMPLATE/*` defines structured issue forms for reporting corrections and submitting new capabilities.
   - This shifts content maintenance into a lightweight editorial workflow rather than code-heavy contribution paths.
   - `CLAUDE.md` suggests the repo also has guidance for AI-assisted edits, reinforcing that content curation is a first-class part of the project.

12. **Diagram-level summary**
   - The clean architecture is: **static content + embedded app logic + browser persistence**.
   - External boundaries are limited to GitHub Pages hosting, browser APIs (`localStorage`, clipboard, share, print), and search engine consumers of `skills.json` / JSON-LD / sitemap.
   - There are no server-side services, databases, or runtime dependencies in the published system.

Main entry points: [`index.html`](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html) (index.html), [`skills.json`](https://github.com/kishormorol/skillsallyouneed/blob/main/skills.json) (skills.json), [`README.md`](https://github.com/kishormorol/skillsallyouneed/blob/main/README.md) (README.md), [`manifest.json`](https://github.com/kishormorol/skillsallyouneed/blob/main/manifest.json) (manifest.json)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Client app"]
  node_index["index.html<br/>SPA shell<br/>[index.html]"]
  node_registry[("Skill registry<br/>embedded corpus<br/>[index.html]")]
  node_browse{{"Browse flow<br/>search/filter<br/>[index.html]"}}
  node_grid["Skill cards<br/>catalog grid<br/>[index.html]"]
  node_detail["Detail sheet<br/>skill view<br/>[index.html]"]
  node_routing(("Hash route<br/>deep link<br/>[index.html]"))
  node_prefs[("Local state<br/>browser prefs<br/>[index.html]")]
  node_actions{{"Skill actions<br/>utility flows<br/>[index.html]"}}
  node_print["Print view<br/>stylesheet<br/>[index.html]"]
end

subgraph group_publish["Publishing"]
  node_skillsjson[("skills.json<br/>public export<br/>[skills.json]")]
  node_manifest["manifest.json<br/>PWA metadata<br/>[manifest.json]"]
  node_sitemap["sitemap.xml<br/>crawler map<br/>[sitemap.xml]"]
  node_legacy["SkillsAllYouNeed.html<br/>alternate page"]
end

subgraph group_contrib["Contribution"]
  node_issues["Issue forms<br/>editorial intake<br/>[ISSUE_TEMPLATE]"]
  node_guidance["CLAUDE.md<br/>edit guide<br/>[CLAUDE.md]"]
  node_readme["README.md<br/>project docs<br/>[README.md]"]
end

node_index -->|"embeds"| node_registry
node_index -->|"drives"| node_browse
node_browse -->|"narrows"| node_grid
node_grid -->|"opens"| node_detail
node_detail -->|"syncs"| node_routing
node_routing -->|"restores"| node_index
node_index -->|"persists"| node_prefs
node_index -->|"provides"| node_actions
node_index -->|"styles"| node_print
node_registry -->|"mirrors"| node_skillsjson
node_skillsjson -.->|"indexed by"| node_sitemap
node_manifest -->|"launches"| node_index
node_legacy -.->|"parallel entry"| node_index
node_readme -->|"describes"| node_registry
node_issues -.->|"supports"| node_readme
node_guidance -.->|"informs"| node_index

click node_index "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_registry "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_browse "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_grid "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_detail "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_routing "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_prefs "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_actions "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_print "https://github.com/kishormorol/skillsallyouneed/blob/main/index.html"
click node_skillsjson "https://github.com/kishormorol/skillsallyouneed/blob/main/skills.json"
click node_manifest "https://github.com/kishormorol/skillsallyouneed/blob/main/manifest.json"
click node_sitemap "https://github.com/kishormorol/skillsallyouneed/blob/main/sitemap.xml"
click node_legacy "https://github.com/kishormorol/skillsallyouneed/blob/main/SkillsAllYouNeed.html"
click node_issues "https://github.com/kishormorol/skillsallyouneed/blob/main/.github/ISSUE_TEMPLATE"
click node_guidance "https://github.com/kishormorol/skillsallyouneed/blob/main/CLAUDE.md"
click node_readme "https://github.com/kishormorol/skillsallyouneed/blob/main/README.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_index,node_registry,node_browse,node_grid,node_detail,node_routing,node_prefs,node_actions,node_print toneBlue
class node_skillsjson,node_manifest,node_sitemap,node_legacy toneAmber
class node_issues,node_guidance,node_readme toneMint
```

## Components

### Client app

Static browser application and in-page skill explorer.

- [index.html](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): SPA shell · Single-page application shell with markup, styles, embedded data, and client-side behavior. · `index.html`
- [Skill registry](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): embedded corpus · Primary in-page skill data model mirrored into the JSON export. · `index.html`
- [Browse flow](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): search/filter · Full-text search, chips, presets, and sorting used to narrow the catalog. · `index.html`
- [Skill cards](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): catalog grid · Editorial card grid for browsing the skills corpus. · `index.html`
- [Detail sheet](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): skill view · Expanded skill panel with full record, related skills, and prev/next navigation. · `index.html`
- [Hash route](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): deep link · Hash-based skill addressing that opens a specific detail view on load. · `index.html`
- [Local state](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): browser prefs · Favorites, dark mode, and onboarding dismissal persisted in localStorage. · `index.html`
- [Skill actions](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): utility flows · Copy trigger, share, export visible subset, and random jump actions. · `index.html`
- [Print view](https://github.com/kishormorol/skillsallyouneed/blob/main/index.html): stylesheet · Printable magazine-style presentation for static output and offline reading. · `index.html`

### Publishing

Static distribution, discovery, and install metadata.

- [skills.json](https://github.com/kishormorol/skillsallyouneed/blob/main/skills.json): public export · Machine-readable catalog export and public dataset endpoint. · `skills.json`
- [manifest.json](https://github.com/kishormorol/skillsallyouneed/blob/main/manifest.json): PWA metadata · Installable app metadata for browser and home-screen integration. · `manifest.json`
- [sitemap.xml](https://github.com/kishormorol/skillsallyouneed/blob/main/sitemap.xml): crawler map · Discovery file for search engines and indexing systems. · `sitemap.xml`
- [SkillsAllYouNeed.html](https://github.com/kishormorol/skillsallyouneed/blob/main/SkillsAllYouNeed.html): alternate page · Additional HTML entry or legacy/static variant alongside the main app shell. · `SkillsAllYouNeed.html`

### Contribution

Editorial workflow and repo guidance for updating the catalog.

- [Issue forms](https://github.com/kishormorol/skillsallyouneed/blob/main/.github/ISSUE_TEMPLATE): editorial intake · Structured GitHub issue templates for corrections and new capability submissions. · `.github/ISSUE_TEMPLATE`
- [CLAUDE.md](https://github.com/kishormorol/skillsallyouneed/blob/main/CLAUDE.md): edit guide · Repository guidance for AI-assisted edits and content maintenance. · `CLAUDE.md`
- [README.md](https://github.com/kishormorol/skillsallyouneed/blob/main/README.md): project docs · Top-level documentation describing the catalog workflow and repository usage. · `README.md`

## Connections

- index.html → Skill registry: embeds · The app shell contains the core skill corpus.
- index.html → Browse flow: drives · Search, filters, presets, and sorting are implemented in the client shell.
- Browse flow → Skill cards: narrows · Filtered results are rendered as skill cards.
- Skill cards → Detail sheet: opens · Selecting a card shows the detailed skill sheet.
- Detail sheet → Hash route: syncs · The detail view is addressable through hash-based deep links.
- Hash route → index.html: restores · Page load can reopen the matching skill state.
- index.html → Local state: persists · User-specific state is stored in the browser.
- index.html → Skill actions: provides · Utility actions operate on the current in-memory dataset.
- index.html → Print view: styles · The app includes a print-oriented presentation layer.
- Skill registry → skills.json: mirrors · The same catalog content is exported as machine-readable JSON.
- skills.json → sitemap.xml: indexed by · Discovery metadata helps crawlers find the public catalog.
- manifest.json → index.html: launches · PWA metadata points browsers to the main app shell.
- SkillsAllYouNeed.html → index.html: parallel entry · A second HTML file exists alongside the primary shell.
- README.md → Skill registry: describes · Documentation explains the content-first registry workflow.
- Issue forms → README.md: supports · Structured contribution forms complement the documented workflow.
- CLAUDE.md → index.html: informs · Repo guidance focuses edits around the main application file.
