Skip to content

Shikamaru Mastery App

  period: project
  converted: 2026-05-28

Overview

iOS app at ~/Sandpit/hinata/applications/shikamaru-mastery/. Moved from vault inbox (2026-05-08).

What it is: ELO-based mastery tracker. Habits are topics (dbt AE Qual, scales, repertoire). Each check-in earns/loses ELO points based on quality-weighted scoring.

Key Models

  • Habit.swift — has TopicCategory enum (career/music/languages/fitness/finance/general) + category: TopicCategory = .general

  • CheckIn.swiftqualityScore: Double = 1.0 field; 0.0–1.0

  • HabitStore.swifteloPointDelta uses quality: kGain * q - kLoss * (1.0 - q)

Views Added/Modified

  • AddHabitView.swift — category picker section (ScrollView horizontal, 6 categories)

  • CheckInView.swiftSwipeableHabitRow shows 4-stop quality picker for .positive; binary for .adverse

  • LeaderboardView.swift — grouped by TopicCategory, sorted by perHabitMasteryPoints desc, uses RankBadgeView

  • HomeView.swift — trophy button in toolbar → presents LeaderboardView

Quality Stops

Struggled=0.25, OK=0.50, Solid=0.75, Peak=1.00

Why: Existing habit tracker repurposed so ELO tracks skill mastery (not just streaks). dbt flashcard SR reviews feed into "dbt AE Qual" topic as quality input — bridging Obsidian SR and iOS mastery.

How to apply: When asked about the mastery app, scope suggestions to shikamaru-mastery/ path; this is an active project not a prototype.

◆ hinata · projects/shikamaru-mastery.html · phase-18 flatten