Reviews Android code for security vulnerabilities — particularly around the browser (GeckoView), Firefox Sync OAuth tokens, deep link routing, external API keys, and intent handling. Use before any release or when implementing auth/browser/external API code.
Reviews Compose code for recomposition issues, unstable state, memory problems, and TV-specific performance patterns. Use when implementing data-heavy panels, animated backgrounds, or widget refresh loops.
Expert for all GeckoView 141.x integration, multi-tab management, Firefox Sync (FxA OAuth), and GeckoView-in-Compose patterns. Use when working on the browser panel, tab restoration, or Firefox Sync auth flow.
Reviews Kotlin/Compose code for Android TV D-pad navigation compliance. Invoke after implementing any interactive UI — buttons, cards, grids, modals, or panel transitions. Critical: Nebula has touchscreen required=false.
Architect for Nebula's dynamic widget system — NASA APOD, RSS/news feeds, weather (OpenMeteo), and calendar. Use when designing widget data sources, caching strategy, lifecycle management, or the widget framework itself.
Nebula-specific Kotlin coroutines patterns — stateIn WhileSubscribed, CancellationException rules, withTimeout for widget APIs, supervisorScope for parallel refresh, and CoroutineName for debugging. Loaded automatically when writing ViewModel or Flow code.
Nebula launcher MVVM architecture decisions, module layout, data flow, and the roadmap for Hilt, Navigation3, and GeckoView integration. Context for all code generation.
Scaffold a TV-optimized reusable Composable with D-pad focus handling, scale animation on focus, TV Material3 patterns, and a @Preview configured for 1080p TV dark background.
Scaffold a new feature panel for the Nebula launcher — creates Panel.kt, ViewModel, updates ViewScreen enum and LauncherScreen routing, and adds a nav bar item.
Scaffold a new home screen widget for Nebula — NASA imagery, RSS feed, weather, calendar, or custom data source. Includes data source, ViewModel with lifecycle-aware refresh, and Composable UI.
Nebula project coding conventions, naming standards, package structure, commit format, and architectural patterns. Loaded automatically for context when writing code.
Android TV Compose patterns — D-pad focus, FocusRequester, Navigation3 back stack, TV Material3 components, key event handling, and TV-specific UX patterns for Nebula.