Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
mobile-design - Skill - OpenSmartRoute
Skillv1.0.0
mobile-design
Use when the user needs mobile app design and development patterns for React Native, Flutter, or SwiftUI — including platform HIG compliance, gestures, and offline-first architecture.
Imported from pixel-process-ug/superkit-agents (templates/skills/mobile-design/SKILL.md). Install upstream with npx skills add pixel-process-ug/superkit-agents --skill mobile-design. Copyright stays with the author.
Mobile Design
Overview
Design and build mobile applications that feel native on each platform. This skill covers React Native, Flutter, and SwiftUI with deep knowledge of platform-specific Human Interface Guidelines (Apple HIG) and Material Design, gesture handling, responsive layouts, offline-first patterns, and app store submission requirements.
Phase 1: Platform Analysis
Identify target platforms (iOS, Android, both)
Choose framework (React Native, Flutter, SwiftUI, or cross-platform)
Review platform-specific design guidelines
Define navigation architecture
Map offline requirements
STOP — Present platform and framework recommendation with rationale before design.
Framework Selection Decision Table
Requirement
React Native
Flutter
SwiftUI
Kotlin/Compose
iOS only
Possible
Possible
Best
No
Android only
Possible
Possible
No
Best
Cross-platform
Good
Best
No
No
Native performance critical
OK
Good
Best
Best
Existing React web team
Best
Learning curve
Learning curve
Learning curve
Complex animations
Good
Best
Good
Good
Rapid prototyping
Good
Good
Best (iOS)
OK
Large existing codebase (JS)
Best
Rewrite
Rewrite
Rewrite
Phase 2: Design Implementation
Build component library with platform variants
Implement navigation (tab bar, stack, drawer)
Handle safe areas and notches
Add gesture recognizers
Implement responsive layouts for phone/tablet
STOP — Present navigation architecture and component inventory for review.
Platform-Specific HIG Compliance
Apple Human Interface Guidelines
Area
Guideline
Navigation
UINavigationController (push/pop), tab bars at bottom (max 5)
Typography
SF Pro / SF Pro Rounded, support Dynamic Type (all 11 sizes)
Safe Areas
Respect safeAreaInsets — never under notch/home indicator
Gestures
Swipe-back for navigation, long press for context menus
SQLite/Realm as primary store, server as sync target
Updates
Optimistic
Apply locally, sync in background
Conflicts
Resolution strategy
Last-write-wins or field-level merge
Queue
Persistent ops
Store pending operations, retry on connectivity
Cache
Stale-while-revalidate
Serve cached, refresh in background
Implementation Checklist
Network status detection and UI indicator
Local database for all critical data
Operation queue for pending writes
Retry logic with exponential backoff
Conflict detection and resolution strategy
Cache invalidation policy
Sync status indicator in UI
Graceful degradation for network-only features
App Store Guidelines Summary
Requirement
Apple App Store
Google Play Store
Screenshots
6.7" and 5.5" required, 12.9" iPad
Min 2, max 8 per device
App icon
1024x1024px, no alpha, no corners
512x512px, adaptive recommended
Privacy
Nutrition labels required
Data safety section required
Review time
24-48 hours typical
Hours to days
Common rejections
Crashes, placeholder content
Policy violations, crashes
Performance Targets
Metric
Target
Cold start
< 2 seconds
Screen transition
< 300ms
Touch response
< 100ms
Scroll FPS
60fps (no drops)
Memory usage
< 200MB baseline
App size
< 50MB download
Anti-Patterns / Common Mistakes
Anti-Pattern
Why It Is Wrong
What to Do Instead
Web patterns in mobile (hover states)
No hover on touch devices
Use press/tap states
Tiny touch targets (< 44pt)
Frustrating, accessibility fail
Minimum 44x44pt touch area
iOS-styled buttons on Android
Feels foreign, confuses users
Use platform-native components
Fixed layouts for one screen size
Breaks on tablets and foldables
Responsive layouts with breakpoints
Blocking main thread with I/O
UI freezes, ANR dialogs
Async I/O, background threads
Not handling keyboard appearance
Content hidden behind keyboard
Adjust layout on keyboard show
Assuming constant connectivity
App crashes or hangs offline
Offline-first architecture
Pixel values instead of dp/pt
Different sizes on different screens
Use density-independent units
Skipping haptic feedback
App feels cheap and unresponsive
Add haptics for key interactions
Documentation Lookup (Context7)
Use mcp__context7__resolve-library-id then mcp__context7__query-docs for up-to-date docs. Returned docs override memorized knowledge.
react-native — for component API, navigation, or platform-specific modules
flutter — for widget catalog, state management, or platform channels
Integration Points
Skill
Integration
ui-ux-pro-max
Color palettes, typography, UX guidelines
ui-design-system
Design tokens adapted for mobile
canvas-design
Mobile data visualization and charts
ux-researcher-designer
Mobile usability testing
senior-frontend
React Native component implementation
deployment
App store submission pipeline
performance-optimization
Mobile performance profiling
Skill Type
FLEXIBLE — Adapt patterns to the chosen framework and target platforms. Platform-specific guidelines should be followed when targeting a single platform; cross-platform apps may blend conventions thoughtfully.
Installed into a catalogue, chosen by a router
Install mobile-design and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.