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.
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]
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
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
| 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. |
- Zero Hardcoded Colors: All widgets resolve palette colors dynamically from
Theme.of(context).colorSchemeensuring Obsidian IDE Dark and Crisp Academic Light theme parity. - Landscape 360dp Safety: In landscape mode,
AdaptiveScaffoldreplaces the bottom navigation bar with a compact leftNavigationRailwrapped inSingleChildScrollView+IntrinsicHeightto prevent RenderFlex overflow on short screens. - Android SDK 36 Compatibility:
compileSdk = 36,targetSdk = 36, andminSdk = 21configured inandroid/app/build.gradle.ktswith Impeller Vulkan disabled inAndroidManifest.xmlto protect against Mali/MediaTek GPU crashes. - Standalone Quality Gate: Standalone
tool/sprint_gate.dartenforces dependencies, formatting, analyzer with--no-fatal-infos, automated tests, and live physical device logcat checks before commits.
- Flutter SDK 3.47+ (Dart 3+)
- Android SDK 36 (for Android builds)
- Xcode 15+ (for iOS builds)
git clone https://github.com/Safeer-Hussain/skillforge.git
cd skillforge
flutter pub getdart run tool/sprint_gate.dartflutter testflutter runThis 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.