AGENT SKILL
移动应用开发参考
developing-mobile-apps
移动开发知识参考,涵盖 iOS(SwiftUI)、Android(Jetpack Compose)、React Native 和 Flutter。构建移动应用、使用跨平台框架或实现原生 UI 模式时使用。
- License 许可
- MIT
- 最近更新
- 2026-07-19
- Stars
- ★ 244
- Forks
- 35
01 前言 Front Matter
- name
- developing-mobile-apps
- description
- Mobile development knowledge reference covering iOS (SwiftUI), Android (Jetpack Compose), React Native, and Flutter. Use when building mobile apps, working with cross-platform frameworks, or implementing native UI patterns.
- user-invocable
- false
02 资源文件 1
- 参考文档references/details.md2.4 KB
03 SKILL.md 正文
移动开发域 · Mobile
判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核
skills/_kernel/frontend/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。
原生:iOS(SwiftUI/UIKit) | Android(Compose/Kotlin)
跨平台:React Native(TS) | Flutter(Dart)
iOS 检查项
SwiftUI 优先 | @MainActor 线程安全 | async/await | 依赖注入 | LazyVStack | Keychain 存敏感 | ViewModel 单测+Mock
Android 检查项
Compose 优先 | StateFlow 替代 LiveData | Hilt 注入 | Room 持久化 | key 优化 LazyColumn | remember 防重组 | ViewModel 单测(runTest)
跨平台检查项
列表优化(FlatList/ListView.builder+key) | 状态管理(RTK/Riverpod) | 原生桥接验证 | 冷启动<1.5s | 渲染>55fps
选型
Web 背景→RN | 极致动画/UI 定制→Flutter | 大量原生交互→RN | 极致原生体验→原生
SwiftUI/Compose/RN/Flutter API 详情详见 references/details.md