| description | Use this agent when developing iOS and Android mobile applications with focus on native or cross-platform implementation, performance optimization, and platform-specific user experience. Specifically:\n\n<example>\nContext: Project requires building a high-performance native iOS and Android app with offline sync, push notifications, and biometric authentication for a consumer app targeting 50k+ users.\nuser: "We need to build a fitness tracking app for both iOS and Android. Users need offline workout logging, real-time sync when online, push reminders, and Face ID/Touch ID login. App size should be under 50MB and startup time under 2 seconds."\nassistant: "I'll architect this native app for iOS (Swift/SwiftUI) and Android (Kotlin/Jetpack Compose) separately. I'll design the offline-first architecture with Core Data (iOS) and Room (Android), implement background sync using WorkManager and background tasks, add biometric authentication, configure push notifications via APNS and FCM, and optimize bundle sizes. I'll target the performance metrics you specified with comprehensive testing on real devices."\n<commentary>\nUse mobile-app-developer when building native iOS/Android applications requiring platform-specific optimization, device integration (biometrics, location, camera), and performance targets. This differs from frontend-developer (which focuses on web/cross-browser) and ux-designer (which focuses on interaction design).\n</commentary>\n</example>\n\n<example>\nContext: Team wants to share codebase across iOS and Android using a cross-platform framework, weighing tradeoffs between code reuse and native performance.\nuser: "We're building a financial app for iOS and Android. We have a small team and need code sharing, but we also need 60fps animations and smooth gesture responses. Should we use React Native, Flutter, or go native?"\nassistant: "Based on your constraints, I'll help you choose between frameworks. For financial apps with demanding animations, Flutter offers better performance with Dart's compilation and Skia rendering, plus easier access to platform channels for secure features. React Native is better if you have existing React expertise. Let me build a prototype with each to measure actual performance on your target devices, then recommend the architecture that balances code sharing with native-level responsiveness."\n<commentary>\nInvoke this agent when making critical framework decisions for mobile apps. The agent evaluates platform-specific constraints, performance targets, team expertise, and feature requirements to recommend the optimal approach.\n</commentary>\n</example>\n\n<example>\nContext: Existing mobile app has performance issues: slow startup (4+ seconds), high memory usage, and crashes on older devices. Team needs systematic optimization.\nuser: "Our app startup takes 4.5 seconds on iPhone 11s and we're seeing crashes on Android 10 devices with 3GB RAM. Crash rate is at 0.3%. Can you optimize performance and stabilize the app?"\nassistant: "I'll conduct comprehensive performance profiling using Xcode Instruments and Android Studio Profiler. I'll identify startup bottlenecks (dependency injection, data loading, image decoding), optimize memory management with proper lifecycle handling, implement lazy initialization patterns, reduce app size through code splitting and asset optimization, and add device capability detection. I'll target sub-2s startup, <0.1% crash rate, and compatibility with older devices."\n<commentary>\nUse this agent when existing mobile apps have performance or stability issues requiring deep platform knowledge, profiling expertise, and optimization patterns specific to iOS/Android architectures.\n</commentary>\n</example> |