Skip to content

About

Adaptive Learning, Micro-Credentialing & Skill Mastery Platform featuring interactive study roadmaps, spaced-repetition flashcard engines, coding & quiz sandboxes, progress telemetry, and offline course downloads. Engineered with Clean Architecture and SQLite.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

SkillForge

SkillForge CI

Enterprise Technical Mastery & EdTech Platform, Interactive Live Code & Architecture Sandbox, Spaced-Repetition SM-2 Flashcard Engine, Native AST/Runtime Execution Bridge, and On-Device AI Socratic Engineering Mentor built in Flutter.


Architecture Overview

SkillForge follows strict Feature-First Clean Architecture combined with BLoC / Cubit reactive state management:

graph TD
    UI[Presentation Layer: Views & Adaptive Scaffold] --> BLOC[State Management: BLoCs & Cubits]
    BLOC --> REPO[Data Layer: Repositories]
    REPO --> SQLITE[(Local SQLite Database)]
    REPO --> PREFS[(SharedPreferences Cache)]
    REPO --> DIO[Dio Mock Client with Latency Simulation]
    REPO --> BRIDGE[Platform Runtime Bridge]
    BRIDGE --> ANDROID[Android MethodChannel & EventChannel]
    BRIDGE --> IOS[iOS MethodChannel & EventChannel]
    BRIDGE --> FALLBACK[Dart In-Memory AST Engine]
Loading

BLoC State Flow

sequenceDiagram
    autonumber
    actor User
    participant View as AdaptiveScaffold / Views
    participant Bloc as Feature BLoC / Cubit
    participant Repo as Repository Layer
    participant DB as SQLite AppDatabase
    participant Bridge as SandboxPlatformBridge

    User->>View: Tap "Run & Verify Tests"
    View->>Bloc: Add RunVerifyTestsEvent(code, challenge)
    Bloc->>View: Emit SandboxState(status: running)
    Bloc->>Repo: runUnitTests(code, challenge)
    Repo->>Bridge: runUnitTestAssertions(code, challengeId)
    Bridge-->>Repo: Return TestSuiteResult & Complexity Score
    Repo->>DB: Update challenge status & award XP
    Repo-->>Bloc: Return verified test assertions
    Bloc->>View: Emit SandboxState(status: success, testResult)
    View-->>User: Display Pass/Fail badges & Console Telemetry
Loading

Native Sandbox Runtime Bridge Architecture

sequenceDiagram
    autonumber
    participant Flutter as Flutter Sandbox Engine
    participant Channel as MethodChannel(sandbox_runtime)
    participant Kotlin as Android MainActivity.kt
    participant Swift as iOS AppDelegate.swift
    participant Stream as EventChannel(focus_telemetry)

    Flutter->>Channel: invokeMethod('executeDartCodeSnippet', {code})
    alt Android Device
        Channel->>Kotlin: onMethodCall('executeDartCodeSnippet')
        Kotlin-->>Flutter: Map(executionTimeMs, heapMb, complexity)
    else iOS Device
        Channel->>Swift: handle('executeDartCodeSnippet')
        Swift-->>Flutter: Dictionary(executionTimeMs, heapMb, complexity)
    else Desktop / Test Harness
        Channel-->>Flutter: Pure Dart AST Analyzer Fallback
    end

    loop Every 2 Seconds
        Stream-->>Flutter: FocusTelemetryPacket(heapMb, latencyMs, velocity)
    end
Loading

Core Feature Matrix

Module Feature Implementation Details
Curriculum Studio 18+ Career Tracks Filterable by Domain, Difficulty, and Enrollment. SQLite persisted.
Curriculum Studio Interactive Syllabus Module accordion with lesson checkboxes and progress recalculation.
Curriculum Studio Lesson Reader Complexity badges (Time/Space), Launch in Sandbox action, Progress Share.
Code Sandbox Live Code Editor Syntax-highlighted editor with quick symbol insertion toolbar.
Code Sandbox AST Test Execution Native isolate evaluation, cyclomatic complexity scores, unit assertions.
Code Sandbox Focus Telemetry Live heap memory footprint (MB) and parse latency streaming (ms).
Flashcard Studio SM-2 Algorithm 4-Tier rating (Again, Hard, Good, Easy) updating intervals and ease factors.
Flashcard Studio 3D Card Flip 3D transform card flip between question prompt and architectural answer.
Flashcard Studio Custom Deck Builder Modal creation with inline validation and SQLite persistence.
Certification Exam Timed Assessment 10-minute live countdown timer, question navigator pills, score breakdown.
Certification Exam Digital Credential Cryptographically hashed certificate generation upon >= 80% score.
Cohort & Community Study Rooms Deep-work rooms with integrated Pomodoro focus timer.
Cohort & Community Peer Code Reviews RFC proposal feed with reactive upvotes, comment threads, and share sheets.
Cohort & Community XP Leaderboard Weekly global engineering leaderboard highlighting user rank.
AI Socratic Mentor Socratic Dialogue Contextual queries analyzing live completed lessons, weak flashcards, and AST gaps.
AI Socratic Mentor Stream Cleanup Guaranteed token stream teardown via defensive try ... finally block.
Mastery Analytics 14-Day Velocity Edge-to-edge vector line chart via fl_chart with zero hidden axis reservation.
Mastery Analytics Recruiter Drawer Edge latency simulation toggle, HTTP 503 retry testing, invite injection.

Design & Engineering Safeguards

  1. Zero Hardcoded Colors: All widgets resolve palette colors dynamically from Theme.of(context).colorScheme ensuring Obsidian IDE Dark and Crisp Academic Light theme parity.
  2. Landscape 360dp Safety: In landscape mode, AdaptiveScaffold replaces the bottom navigation bar with a compact left NavigationRail wrapped in SingleChildScrollView + IntrinsicHeight to prevent RenderFlex overflow on short screens.
  3. Android SDK 36 Compatibility: compileSdk = 36, targetSdk = 36, and minSdk = 21 configured in android/app/build.gradle.kts with Impeller Vulkan disabled in AndroidManifest.xml to protect against Mali/MediaTek GPU crashes.
  4. Standalone Quality Gate: Standalone tool/sprint_gate.dart enforces dependencies, formatting, analyzer with --no-fatal-infos, automated tests, and live physical device logcat checks before commits.

Getting Started

Prerequisites

  • Flutter SDK 3.47+ (Dart 3+)
  • Android SDK 36 (for Android builds)
  • Xcode 15+ (for iOS builds)

Installation

git clone https://github.com/Safeer-Hussain/skillforge.git
cd skillforge
flutter pub get

Running the Sprint Quality Gate

dart run tool/sprint_gate.dart

Running Tests

flutter test

Launching the Application

flutter run

Clean-Room Engineering & NDA Disclaimer

This software was engineered cleanly from first principles as an independent technical mastery platform. It contains zero proprietary assets, confidential schemas, or trade secrets from third-party commercial platforms. All curriculum content, architectural challenges, and socratic templates are licensed under the Apache 2.0 / MIT license.

About

Adaptive Learning, Micro-Credentialing & Skill Mastery Platform featuring interactive study roadmaps, spaced-repetition flashcard engines, coding & quiz sandboxes, progress telemetry, and offline course downloads. Engineered with Clean Architecture and SQLite.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages