# blaine12100/fabric-learning architecture

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

- Interactive diagram: https://gitdiagram.com/blaine12100/fabric-learning
- Repository: https://github.com/blaine12100/fabric-learning
- Video tour (about a minute): https://gitdiagram.com/blaine12100/fabric-learning/video

## Overview

fabric-learning is a Claude Code study plugin: users onboard, ask Fabric questions, catch up on changes, and track progress. Its principal learning flow gathers material from documented sources, then returns a personalized, cited answer; catch-up and progress are separate user-facing workflows. The graph preserves documented source and skill branches. Some collectors and orchestration are represented from the README and source index rather than inspected excerpts, so those links are documented rather than inferred from filenames.

Main entry points: [`scripts/gather.py`](https://github.com/blaine12100/fabric-learning/blob/main/scripts/gather.py) (Source orchestration), [`scripts/youtube.py`](https://github.com/blaine12100/fabric-learning/blob/main/scripts/youtube.py) (YouTube), [`scripts/learn.py`](https://github.com/blaine12100/fabric-learning/blob/main/scripts/learn.py) (Microsoft Learn), [`skills/fabric-learn/SKILL.md`](https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-learn/SKILL.md) (Learn skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skills["User skills"]
  node_onboard["Onboarding<br/>[SKILL.md]"]
  node_learnskill["Learn skill<br/>[SKILL.md]"]
  node_catchup["Catch-up skill<br/>[SKILL.md]"]
  node_progress["Progress skill<br/>[SKILL.md]"]
end

subgraph group_research["Research sources"]
  node_gather["Source orchestration<br/>[gather.py]"]
  node_learnsource["Microsoft Learn<br/>[learn.py]"]
  node_github["GitHub discovery<br/>[github.py]"]
  node_community["Community feeds<br/>[community.py]"]
  node_reddit["Reddit<br/>[reddit.py]"]
  node_youtube["YouTube<br/>[youtube.py]"]
  node_fabricstack["Fabric Stack catalogue<br/>[fabricstack.py]"]
end

subgraph group_runtime["Shared runtime"]
  node_citationcheck["Citation checking<br/>[check_citations.py]"]
  node_cache[("Disk cache<br/>[cache.py]")]
  node_fetch["HTTP fetch<br/>[fetch.py]"]
  node_commands["CLI commands<br/>[commands.py]"]
  node_feeds["Feed parsing<br/>[feeds.py]"]
  node_text["Text processing<br/>[text.py]"]
  node_tools["Private tools<br/>[tools.py]"]
  node_cli["CLI contract<br/>[cli.py]"]
end

subgraph group_state["Learning state"]
  node_profile[("Learner profile<br/>[profile.py]")]
end

node_learner(("Learner"))
node_githubservice{{"GitHub"}}
node_learnservice{{"Microsoft Learn"}}
node_youtubeservice{{"YouTube"}}
node_websources{{"Blogs and forums"}}

node_learner -->|"starts profile"| node_onboard
node_learner -->|"asks question"| node_learnskill
node_learner -->|"requests digest"| node_catchup
node_learner -->|"checks progress"| node_progress
node_onboard -->|"builds profile"| node_profile
node_learnskill -->|"personalizes answer"| node_profile
node_catchup -->|"personalizes digest"| node_profile
node_progress -->|"reads learning state"| node_profile
node_learnskill -->|"researches question"| node_gather
node_catchup -->|"gathers updates"| node_gather
node_gather -->|"dispatches sources"| node_learnsource
node_gather -->|"dispatches sources"| node_github
node_gather -->|"dispatches sources"| node_community
node_gather -->|"dispatches sources"| node_reddit
node_gather -->|"dispatches sources"| node_youtube
node_gather -->|"dispatches sources"| node_fabricstack
node_gather -->|"searches sources"| node_websources
node_learnsource -->|"queries pages"| node_learnservice
node_github -->|"searches repositories"| node_githubservice
node_youtube -->|"searches transcripts"| node_youtubeservice
node_learnsource -->|"fetches pages"| node_fetch
node_learnsource -->|"selects excerpts"| node_text
node_learnsource -->|"emits results"| node_cli
node_github -->|"runs gh"| node_commands
node_github -->|"emits results"| node_cli
node_youtube -->|"ensures yt-dlp"| node_tools
node_youtube -->|"runs yt-dlp"| node_commands
node_youtube -->|"fetches transcript data"| node_fetch
node_youtube -->|"emits results"| node_cli
node_community -->|"parses feeds"| node_feeds
node_reddit -->|"parses feeds"| node_feeds
node_feeds -->|"fetches feeds"| node_fetch
node_fetch -->|"reads and writes"| node_cache
node_commands -->|"reads and writes"| node_cache
node_learnskill -.->|"checks citations"| node_citationcheck
node_catchup -.->|"checks citations"| node_citationcheck

click node_onboard "https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-onboard/SKILL.md"
click node_learnskill "https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-learn/SKILL.md"
click node_catchup "https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-catchup/SKILL.md"
click node_progress "https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-progress/SKILL.md"
click node_profile "https://github.com/blaine12100/fabric-learning/blob/main/scripts/profile.py"
click node_gather "https://github.com/blaine12100/fabric-learning/blob/main/scripts/gather.py"
click node_learnsource "https://github.com/blaine12100/fabric-learning/blob/main/scripts/learn.py"
click node_github "https://github.com/blaine12100/fabric-learning/blob/main/scripts/github.py"
click node_community "https://github.com/blaine12100/fabric-learning/blob/main/scripts/community.py"
click node_reddit "https://github.com/blaine12100/fabric-learning/blob/main/scripts/reddit.py"
click node_youtube "https://github.com/blaine12100/fabric-learning/blob/main/scripts/youtube.py"
click node_fabricstack "https://github.com/blaine12100/fabric-learning/blob/main/scripts/fabricstack.py"
click node_citationcheck "https://github.com/blaine12100/fabric-learning/blob/main/scripts/check_citations.py"
click node_cache "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/cache.py"
click node_fetch "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/fetch.py"
click node_commands "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/commands.py"
click node_feeds "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/feeds.py"
click node_text "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/text.py"
click node_tools "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/tools.py"
click node_cli "https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/cli.py"

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_onboard,node_learnskill,node_catchup,node_progress toneBlue
class node_gather,node_learnsource,node_github,node_community,node_reddit,node_youtube,node_fabricstack toneAmber
class node_citationcheck,node_cache,node_fetch,node_commands,node_feeds,node_text,node_tools,node_cli toneMint
class node_profile toneRose
class node_learner,node_githubservice,node_learnservice,node_youtubeservice,node_websources toneIndigo
```

## Components

### User skills

- [Onboarding](https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-onboard/SKILL.md): `skills/fabric-onboard/SKILL.md`
- [Learn skill](https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-learn/SKILL.md): `skills/fabric-learn/SKILL.md`
- [Catch-up skill](https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-catchup/SKILL.md): `skills/fabric-catchup/SKILL.md`
- [Progress skill](https://github.com/blaine12100/fabric-learning/blob/main/skills/fabric-progress/SKILL.md): `skills/fabric-progress/SKILL.md`

### Research sources

- [Source orchestration](https://github.com/blaine12100/fabric-learning/blob/main/scripts/gather.py): `scripts/gather.py`
- [Microsoft Learn](https://github.com/blaine12100/fabric-learning/blob/main/scripts/learn.py): `scripts/learn.py`
- [GitHub discovery](https://github.com/blaine12100/fabric-learning/blob/main/scripts/github.py): `scripts/github.py`
- [Community feeds](https://github.com/blaine12100/fabric-learning/blob/main/scripts/community.py): `scripts/community.py`
- [Reddit](https://github.com/blaine12100/fabric-learning/blob/main/scripts/reddit.py): `scripts/reddit.py`
- [YouTube](https://github.com/blaine12100/fabric-learning/blob/main/scripts/youtube.py): `scripts/youtube.py`
- [Fabric Stack catalogue](https://github.com/blaine12100/fabric-learning/blob/main/scripts/fabricstack.py): `scripts/fabricstack.py`

### Shared runtime

- [Citation checking](https://github.com/blaine12100/fabric-learning/blob/main/scripts/check_citations.py): `scripts/check_citations.py`
- [Disk cache](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/cache.py): `scripts/lib/cache.py`
- [HTTP fetch](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/fetch.py): `scripts/lib/fetch.py`
- [CLI commands](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/commands.py): `scripts/lib/commands.py`
- [Feed parsing](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/feeds.py): `scripts/lib/feeds.py`
- [Text processing](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/text.py): `scripts/lib/text.py`
- [Private tools](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/tools.py): `scripts/lib/tools.py`
- [CLI contract](https://github.com/blaine12100/fabric-learning/blob/main/scripts/lib/cli.py): `scripts/lib/cli.py`

### Learning state

- [Learner profile](https://github.com/blaine12100/fabric-learning/blob/main/scripts/profile.py): `scripts/profile.py`

### Other components

- **Learner**
- **GitHub**
- **Microsoft Learn**
- **YouTube**
- **Blogs and forums**

## Connections

- Learner → Onboarding: starts profile (evidence: `README.md`)
- Learner → Learn skill: asks question (evidence: `README.md`)
- Learner → Catch-up skill: requests digest (evidence: `README.md`)
- Learner → Progress skill: checks progress (evidence: `README.md`)
- Onboarding → Learner profile: builds profile (evidence: `README.md`)
- Learn skill → Learner profile: personalizes answer (evidence: `README.md`)
- Catch-up skill → Learner profile: personalizes digest (evidence: `README.md`)
- Progress skill → Learner profile: reads learning state (evidence: `README.md`)
- Learn skill → Source orchestration: researches question (evidence: `README.md`)
- Catch-up skill → Source orchestration: gathers updates (evidence: `README.md`)
- Source orchestration → Microsoft Learn: dispatches sources (evidence: `README.md`)
- Source orchestration → GitHub discovery: dispatches sources (evidence: `README.md`)
- Source orchestration → Community feeds: dispatches sources (evidence: `README.md`)
- Source orchestration → Reddit: dispatches sources (evidence: `README.md`)
- Source orchestration → YouTube: dispatches sources (evidence: `README.md`)
- Source orchestration → Fabric Stack catalogue: dispatches sources (evidence: `README.md`)
- Source orchestration → Blogs and forums: searches sources (evidence: `README.md`)
- Microsoft Learn → Microsoft Learn: queries pages (evidence: `scripts/learn.py`)
- GitHub discovery → GitHub: searches repositories (evidence: `scripts/github.py`)
- YouTube → YouTube: searches transcripts (evidence: `scripts/youtube.py`)
- Microsoft Learn → HTTP fetch: fetches pages (evidence: `scripts/learn.py`)
- Microsoft Learn → Text processing: selects excerpts (evidence: `scripts/learn.py`)
- Microsoft Learn → CLI contract: emits results (evidence: `scripts/learn.py`)
- GitHub discovery → CLI commands: runs gh (evidence: `scripts/github.py`)
- GitHub discovery → CLI contract: emits results (evidence: `scripts/github.py`)
- YouTube → Private tools: ensures yt-dlp (evidence: `scripts/youtube.py`)
- YouTube → CLI commands: runs yt-dlp (evidence: `scripts/youtube.py`)
- YouTube → HTTP fetch: fetches transcript data (evidence: `scripts/youtube.py`)
- YouTube → CLI contract: emits results (evidence: `scripts/youtube.py`)
- Community feeds → Feed parsing: parses feeds (evidence: `scripts/community.py`)
- Reddit → Feed parsing: parses feeds (evidence: `scripts/reddit.py`)
- Feed parsing → HTTP fetch: fetches feeds (evidence: `scripts/lib/feeds.py`)
- HTTP fetch → Disk cache: reads and writes (evidence: `scripts/lib/fetch.py`)
- CLI commands → Disk cache: reads and writes (evidence: `scripts/lib/commands.py`)
- Learn skill → Citation checking: checks citations (evidence: `README.md`)
- Catch-up skill → Citation checking: checks citations (evidence: `README.md`)
