Note: This blog post is written as part of the **Kiroween 2026 hackathon* (Skeleton Crew category).*

At first glance, a 7-language polyglot flashcard trainer and a cyber-HUD advanced mental math trainer have almost nothing in common. One deals with static multilingual decks, audio pronunciation, and Japanese/Korean/Mandarin script scaffolding. The other procedurally generates algebraic factoring problems, telescoping series, and factorials on a custom mobile keypad.

Yet in MarrowLearn, over 75% of the code powering both apps is the exact same foundation.

Here is the story of how I designed and shipped MarrowLearn solo for Kiroween 2026 using Kiro Web—following a 4-stage workflow: PRD → Prototype → Template → Implementation.

The Problem: Adaptive Learning Boilerplate

If you have ever tried building a serious, mobile-first learning PWA, you know how much invisible infrastructure sits underneath the actual subject matter:

  • An adaptive spaced-repetition scheduler (SM-2+)
  • A multi-mode session state machine (Standard Drill, Time-Attack Blitz, Weakness Hunter, Boss Mix)
  • Offline-first local persistence (IndexedDB) with clean namespace isolation
  • Thumb-friendly mobile ergonomics, progress analytics, and Workbox PWA caching

Whenever developers switch domains, they rebuild that entire engine from scratch. For the Skeleton Crew category, I wanted to build a lean, strictly decoupled core template (src/core/) and prove its flexibility by deriving two genuinely opposite apps inside a single offline-first PWA Hub.

Meet the Two Derived Apps

1. LingoBlitz — 7-Language Adaptive Polyglot Trainer

Built with an energetic Deep Slate, Vibrant Yellow, and Electric Cyan palette, LingoBlitz supports English, Spanish, French, German, Japanese, Korean, and Mandarin:

  • 4 Drill Modalities in One Session: Swipeable Flashcards, Listening Drills via the Web Speech API (0.75x slow and 1.0x normal), one-handed Word-Chip Sentence Cloze, and Reverse Recall—plus a Polyglot Mix mode.
  • Auto-Fade Script Scaffolding: For Japanese, Korean, and Mandarin, romanization/pinyin automatically fades away once your mastery confidence climbs, pushing real script literacy.
  • Nuance Hint Drawer: Contextual bottom-sheet notes for grammar particles, gendered articles, and tones.
  • Zero-Bug Circular SVG Flags: During testing on Windows, Unicode country flag emojis broke into plain GB/JP text codes. Replacing them with a lightweight, offline circular inline SVG flag component made all 7 badges razor-sharp on every OS.

2. MentalPulse — Procedural Advanced Mental Math & Pattern Trainer

Switching apps from the same PWA Hub flips the experience completely into a dark Obsidian, Neon Blue, Pulse Purple, and Energy Lime cyber-agility HUD:

  • 6 Procedural Modules (Tiers 1–5):
    1. Rapid Arithmetic & Estimation
    2. Exponents & Power Laws
    3. Special Fraction, Decimal & Percent Conversions (1/8 = 0.125 = 12.5%, 1/6, 1/7, 1/12, etc.)
    4. Special Algebraic Factoring (a² - b², perfect squares, sum/difference of cubes, quadratics)
    5. Number Sequences & Telescoping Series (e.g., ∑ 1/(k(k+1)))
    6. Factorials & Combinatorics
  • Context-Aware Custom Mobile Keypad: Dynamically adapts between numeric/fraction/percent keys and algebraic expression slots—without ever popping up the native mobile OS keyboard.
  • Mathematical Equivalence Validator & Mental Shortcuts: Recognizes commutative equivalents like (x-3)(x+3) and (x+3)(x-3), pairs every problem with progressive Mental Shortcut Hints, and visualizes progress on a 6-module SVG Radar Chart.

The Skeleton Crew Architecture

To keep the template genuinely reusable, I enforced a strict one-way dependency boundary:

src/ hub/ # 1 PWA Hub shell + app switcher (registry.ts) core/ # 100% domain-agnostic skeleton engine (ZERO imports from src/apps/) types.ts # MarrowAppPlugin contract scheduler/ # SM-2+ adaptive scheduler & weakness queue composer session/ # Multi-mode session state machine storage/ # App-isolated IndexedDB + JSON backup analytics/ # Streaks, heatmaps, mastery & fluency stats apps/ lingoblitz/ # Static 7-language decks + Web Speech + Swipe/Chips UI mentalpulse/ # 6 procedural math generators + Equivalence Validator + Custom Keypad 

Every derived app simply implements the MarrowAppPlugin contract (DrillSource, AnswerValidator, HintProvider, InteractionRenderer) and registers itself in src/hub/registry.ts. Adding a 3rd app (like music ear training or anatomy quizzes) requires zero edits to src/core/.

How Kiro Web Powered the Solo Build

Building a project of this scope solo in a hackathon usually leads to either messy code or half-finished features. Kiro Web (app.kiro.dev) connected directly to my GitHub repository let me work like a structured engineering team:

1. Steering Docs as Living Guardrails (.kiro/steering/)

Before writing application code, I committed three inclusion: always steering files:

  • product.md — the full PRD, 7-language and 6-module scope, and MVP boundaries
  • tech.md — strict TypeScript, Tailwind CSS, offline-first PWA rules, 44×44px tap targets, and zero-backend constraints
  • structure.md — the exact directory layout and the golden rule: src/core/ must never import from src/apps/ or src/hub/

Because Kiro Web loaded these steering files in every cloud session, I never had to repeat architectural rules in prompts.

2. Vibe Mode for Mobile Ergonomics Prototyping

In Stage 2, I used Vibe Mode to rapidly build an interactive mobile prototype. Combined with Vercel PR previews, I could open each pull request directly on my phone, test thumb reach and keypad ergonomics, and iterate quickly before locking down the core contract.

3. Spec-Driven Development & Parallel PRs (.kiro/specs/)

Once the UX felt right, I switched to Spec Mode (requirements.md in EARS notation → design.md → tasks.md):

  • First, I locked down core-engine and merged it to main.
  • Next, because src/apps/lingoblitz/ and src/apps/mentalpulse/ were completely isolated, I ran both specs in parallel on separate branches and Pull Requests in Kiro Web!
  • Finally, I ran two focused UI polish PRs to give each app its own distinct visual identity from my moodboards.

4. Automated Guardrails with Agent Hooks (.kiro/hooks/)

To prevent subtle regressions across PRs, Kiro Agent Hooks automatically ran npx tsc --noEmit, Vitest unit tests (verifying the SM-2+ scheduler, all 6 procedural math generators, and the algebraic equivalence validator), and core-vs-app boundary checks.

Key Takeaways

  1. Vibe Mode + Spec Mode is a superpower together: Vibe coding shines for rapid mobile UX exploration; Spec-Driven Development shines when turning a prototype into a clean, extensible template.
  2. Design the plugin boundary early: Locking MarrowAppPlugin before building the two apps made parallel feature work in Kiro Web effortless.
  3. Always test PWAs on real devices (and Airplane Mode): Catching the Windows flag emoji issue and verifying true offline execution made the final product feel noticeably more polished.

Try MarrowLearn Yourself

  • Live Offline-First PWA: https://marrowlearn.vercel.app/
  • Public GitHub Repo (MIT License + /.kiro/ artifacts): https://github.com/azriealakbarr/marrowlearn
  • 3-Minute Demo Video: https://www.instagram.com/p/DgiqPxJBXFW/

Built for **Kiroween 2026* with Kiro Web, TypeScript, React, Vite, and Tailwind CSS. Thanks for reading!*