# dante-viq/skills-app architecture

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

- Interactive diagram: https://gitdiagram.com/dante-viq/skills-app
- Repository: https://github.com/dante-viq/skills-app

## Overview

This is a Laravel learning platform for children and their families, combining interest-based learning discovery with parent-managed assignments and progress tracking. A child selects interests during onboarding, then learning screens request personalized content; parents can assign work and review activity. The source index and excerpts support the main discovery, referral, and assignment relationships. Curation, universal-skill learning, and impact features are also represented, but their detailed runtime wiring is not shown, so those links are omitted.

Main entry points: [`app/Services/Discovery/AutomatedContentDiscovery.php`](https://github.com/dante-viq/skills-app/blob/skills/app/Services/Discovery/AutomatedContentDiscovery.php) (Content discovery), [`app/Models/ParentAssignment.php`](https://github.com/dante-viq/skills-app/blob/skills/app/Models/ParentAssignment.php) (Parent assignments), [`app/Http/Controllers/Child/LearningController.php`](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/Child/LearningController.php) (Learning screens), [`app/Services/ML/ResourceReferralService.php`](https://github.com/dante-viq/skills-app/blob/skills/app/Services/ML/ResourceReferralService.php) (Resource referrals)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning experience"]
  node_onboarding["Interest onboarding"]
  node_learning_views["Learning screens"]
  node_universal["Universal learning"]
end

subgraph group_recommend["Discovery and recommendations"]
  node_discovery["Content discovery"]
  node_recommendation["Recommendation service"]
  node_content_recs["Content recommendations"]
  node_referrals["Resource referrals"]
  node_recommender["Recommender training"]
end

subgraph group_family["Family and progress"]
  node_parent_manager["Assignment manager"]
  node_parent_dashboard["Parent dashboard"]
  node_skill_gate["Skill requirements"]
  node_impact["Impact tracking"]
end

subgraph group_content["Content and curation"]
  node_curation["External curation<br/>[SourceManager.php]"]
  node_curated_resources[("Curated resources")]
end

subgraph group_data["Learning data"]
  node_learning_resources[("Learning resources")]
  node_interests[("Learner interests<br/>[UserInterest.php]")]
  node_interactions[("Learning interactions")]
  node_assignments[("Parent assignments")]
  node_activities[("Child activities<br/>[ChildActivity.php]")]
  node_users[("User profiles<br/>[User.php]")]
end

node_child(("Child learner"))
node_parent(("Parent"))

node_child -->|"sets interests"| node_onboarding
node_onboarding -->|"stores interests"| node_interests
node_onboarding -->|"triggers discovery"| node_discovery
node_child -.->|"requests learning"| node_learning_views
node_learning_views -->|"requests content"| node_discovery
node_learning_views -->|"requests recommendations"| node_recommendation
node_learning_views -->|"requests referrals"| node_referrals
node_universal -->|"requests content"| node_discovery
node_discovery -->|"reads interests"| node_interests
node_discovery -->|"reads curated content"| node_curated_resources
node_discovery -->|"reads learning content"| node_learning_resources
node_recommendation -->|"uses resources"| node_learning_resources
node_recommendation -->|"uses interactions"| node_interactions
node_referrals -->|"uses curated items"| node_curated_resources
node_referrals -->|"uses learning items"| node_learning_resources
node_referrals -->|"uses learner profile"| node_users
node_parent -.->|"manages assignments"| node_parent_manager
node_parent_manager -->|"creates and reads"| node_assignments
node_parent_manager -->|"reads activity"| node_activities
node_parent_dashboard -->|"reads assignments"| node_assignments
node_parent_dashboard -->|"reads activity"| node_activities
node_skill_gate -->|"checks learner"| node_users
node_skill_gate -.->|"checks pending work"| node_assignments
node_curation -->|"manages sources"| node_curated_resources
node_learning_resources -->|"relates interactions"| node_interactions
node_assignments -->|"has activities"| node_activities
node_users -->|"relates assignments"| node_assignments
node_users -->|"relates interactions"| node_interactions

click node_onboarding "https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/Child/OnboardingController.php"
click node_learning_views "https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/Child/LearningController.php"
click node_universal "https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/UniversalLearningController.php"
click node_discovery "https://github.com/dante-viq/skills-app/blob/skills/app/Services/Discovery/AutomatedContentDiscovery.php"
click node_recommendation "https://github.com/dante-viq/skills-app/blob/skills/app/Services/RecommendationService.php"
click node_content_recs "https://github.com/dante-viq/skills-app/blob/skills/app/Services/ContentRecommendationService.php"
click node_referrals "https://github.com/dante-viq/skills-app/blob/skills/app/Services/ML/ResourceReferralService.php"
click node_recommender "https://github.com/dante-viq/skills-app/blob/skills/app/Console/Commands/TrainRecommender.php"
click node_parent_manager "https://github.com/dante-viq/skills-app/blob/skills/app/Livewire/ParentAssignmentManager.php"
click node_parent_dashboard "https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/ParentDashboardController.php"
click node_skill_gate "https://github.com/dante-viq/skills-app/blob/skills/app/Http/Middleware/CheckUniversalSkillRequirements.php"
click node_impact "https://github.com/dante-viq/skills-app/blob/skills/app/Models/ImpactContribution.php"
click node_curation "https://github.com/dante-viq/skills-app/blob/skills/app/Services/ExternalResource/SourceManager.php"
click node_curated_resources "https://github.com/dante-viq/skills-app/blob/skills/app/Models/CuratedResource.php"
click node_learning_resources "https://github.com/dante-viq/skills-app/blob/skills/app/Models/LearningResource.php"
click node_interests "https://github.com/dante-viq/skills-app/blob/skills/app/Models/UserInterest.php"
click node_interactions "https://github.com/dante-viq/skills-app/blob/skills/app/Models/UserInteraction.php"
click node_assignments "https://github.com/dante-viq/skills-app/blob/skills/app/Models/ParentAssignment.php"
click node_activities "https://github.com/dante-viq/skills-app/blob/skills/app/Models/ChildActivity.php"
click node_users "https://github.com/dante-viq/skills-app/blob/skills/app/Models/User.php"

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_onboarding,node_learning_views,node_universal toneBlue
class node_discovery,node_recommendation,node_content_recs,node_referrals,node_recommender toneAmber
class node_parent_manager,node_parent_dashboard,node_skill_gate,node_impact toneMint
class node_curation,node_curated_resources toneRose
class node_learning_resources,node_interests,node_interactions,node_assignments,node_activities,node_users,node_child,node_parent toneIndigo
```

## Components

### Learning experience

- [Interest onboarding](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/Child/OnboardingController.php): `app/Http/Controllers/Child/OnboardingController.php`
- [Learning screens](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/Child/LearningController.php): `app/Http/Controllers/Child/LearningController.php`
- [Universal learning](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/UniversalLearningController.php): `app/Http/Controllers/UniversalLearningController.php`

### Discovery and recommendations

- [Content discovery](https://github.com/dante-viq/skills-app/blob/skills/app/Services/Discovery/AutomatedContentDiscovery.php): `app/Services/Discovery/AutomatedContentDiscovery.php`
- [Recommendation service](https://github.com/dante-viq/skills-app/blob/skills/app/Services/RecommendationService.php): `app/Services/RecommendationService.php`
- [Content recommendations](https://github.com/dante-viq/skills-app/blob/skills/app/Services/ContentRecommendationService.php): `app/Services/ContentRecommendationService.php`
- [Resource referrals](https://github.com/dante-viq/skills-app/blob/skills/app/Services/ML/ResourceReferralService.php): `app/Services/ML/ResourceReferralService.php`
- [Recommender training](https://github.com/dante-viq/skills-app/blob/skills/app/Console/Commands/TrainRecommender.php): `app/Console/Commands/TrainRecommender.php`

### Family and progress

- [Assignment manager](https://github.com/dante-viq/skills-app/blob/skills/app/Livewire/ParentAssignmentManager.php): `app/Livewire/ParentAssignmentManager.php`
- [Parent dashboard](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Controllers/ParentDashboardController.php): `app/Http/Controllers/ParentDashboardController.php`
- [Skill requirements](https://github.com/dante-viq/skills-app/blob/skills/app/Http/Middleware/CheckUniversalSkillRequirements.php): `app/Http/Middleware/CheckUniversalSkillRequirements.php`
- [Impact tracking](https://github.com/dante-viq/skills-app/blob/skills/app/Models/ImpactContribution.php): `app/Models/ImpactContribution.php`

### Content and curation

- [External curation](https://github.com/dante-viq/skills-app/blob/skills/app/Services/ExternalResource/SourceManager.php): `app/Services/ExternalResource/SourceManager.php`
- [Curated resources](https://github.com/dante-viq/skills-app/blob/skills/app/Models/CuratedResource.php): `app/Models/CuratedResource.php`

### Learning data

- [Learning resources](https://github.com/dante-viq/skills-app/blob/skills/app/Models/LearningResource.php): `app/Models/LearningResource.php`
- [Learner interests](https://github.com/dante-viq/skills-app/blob/skills/app/Models/UserInterest.php): `app/Models/UserInterest.php`
- [Learning interactions](https://github.com/dante-viq/skills-app/blob/skills/app/Models/UserInteraction.php): `app/Models/UserInteraction.php`
- [Parent assignments](https://github.com/dante-viq/skills-app/blob/skills/app/Models/ParentAssignment.php): `app/Models/ParentAssignment.php`
- [Child activities](https://github.com/dante-viq/skills-app/blob/skills/app/Models/ChildActivity.php): `app/Models/ChildActivity.php`
- [User profiles](https://github.com/dante-viq/skills-app/blob/skills/app/Models/User.php): `app/Models/User.php`

### Other components

- **Child learner**
- **Parent**

## Connections

- Child learner → Interest onboarding: sets interests (evidence: `app/Http/Controllers/Child/OnboardingController.php`)
- Interest onboarding → Learner interests: stores interests (evidence: `app/Http/Controllers/Child/OnboardingController.php`)
- Interest onboarding → Content discovery: triggers discovery (evidence: `app/Http/Controllers/Child/OnboardingController.php`)
- Child learner → Learning screens: requests learning
- Learning screens → Content discovery: requests content (evidence: `app/Http/Controllers/Child/LearningController.php`)
- Learning screens → Recommendation service: requests recommendations (evidence: `app/Http/Controllers/Child/LearningController.php`)
- Learning screens → Resource referrals: requests referrals (evidence: `app/Http/Controllers/Child/LearningController.php`)
- Universal learning → Content discovery: requests content (evidence: `app/Http/Controllers/UniversalLearningController.php`)
- Content discovery → Learner interests: reads interests (evidence: `app/Services/Discovery/AutomatedContentDiscovery.php`)
- Content discovery → Curated resources: reads curated content (evidence: `app/Services/Discovery/AutomatedContentDiscovery.php`)
- Content discovery → Learning resources: reads learning content (evidence: `app/Services/Discovery/AutomatedContentDiscovery.php`)
- Recommendation service → Learning resources: uses resources (evidence: `app/Services/RecommendationService.php`)
- Recommendation service → Learning interactions: uses interactions (evidence: `app/Services/RecommendationService.php`)
- Resource referrals → Curated resources: uses curated items (evidence: `app/Services/ML/ResourceReferralService.php`)
- Resource referrals → Learning resources: uses learning items (evidence: `app/Services/ML/ResourceReferralService.php`)
- Resource referrals → User profiles: uses learner profile (evidence: `app/Services/ML/ResourceReferralService.php`)
- Parent → Assignment manager: manages assignments
- Assignment manager → Parent assignments: creates and reads (evidence: `app/Livewire/ParentAssignmentManager.php`)
- Assignment manager → Child activities: reads activity (evidence: `app/Livewire/ParentAssignmentManager.php`)
- Parent dashboard → Parent assignments: reads assignments (evidence: `app/Http/Controllers/ParentDashboardController.php`)
- Parent dashboard → Child activities: reads activity (evidence: `app/Http/Controllers/ParentDashboardController.php`)
- Skill requirements → User profiles: checks learner (evidence: `app/Http/Middleware/CheckUniversalSkillRequirements.php`)
- Skill requirements → Parent assignments: checks pending work
- External curation → Curated resources: manages sources (evidence: `app/Services/ExternalResource/SourceManager.php`)
- Learning resources → Learning interactions: relates interactions (evidence: `app/Models/LearningResource.php`)
- Parent assignments → Child activities: has activities (evidence: `app/Models/ParentAssignment.php`)
- User profiles → Parent assignments: relates assignments (evidence: `app/Models/User.php`)
- User profiles → Learning interactions: relates interactions (evidence: `app/Models/User.php`)
