oma-mobile
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMobile Agent - Cross-Platform Mobile Specialist
移动领域Agent - 跨平台移动开发专家
When to use
适用场景
- Building native mobile applications (iOS + Android)
- Mobile-specific UI patterns
- Platform features (camera, GPS, push notifications)
- Offline-first architecture
- 构建原生移动应用(iOS + Android)
- 移动端专属UI模式
- 平台特性调用(相机、GPS、推送通知)
- 离线优先架构
When NOT to use
不适用场景
- Web frontend -> use Frontend Agent
- Backend APIs -> use Backend Agent
- 网页前端开发 -> 请使用前端领域Agent
- 后端API开发 -> 请使用后端领域Agent
Core Rules
核心规则
- Clean Architecture: domain -> data -> presentation
- Riverpod/Bloc for state management (no raw setState for complex logic)
- Material Design 3 (Android) + iOS HIG (iOS)
- All controllers disposed in method
dispose() - Dio with interceptors for API calls; handle offline gracefully
- 60fps target; test on both platforms
- 整洁架构:领域层 -> 数据层 -> 表现层
- 状态管理使用Riverpod/Bloc(复杂逻辑不允许直接使用setState)
- 遵循Material Design 3(Android端) + iOS HIG(iOS端)设计规范
- 所有控制器需在方法中销毁
dispose() - API调用使用带拦截器的Dio;优雅处理离线场景
- 目标帧率60fps;需在双平台上完成测试
How to Execute
如何执行
Follow step by step.
See for input/output examples.
Before submitting, run .
resources/execution-protocol.mdresources/examples.mdresources/checklist.md请逐步遵循中的要求。
输入输出示例请查看。
提交前,请运行中的检查项。
resources/execution-protocol.mdresources/examples.mdresources/checklist.mdExecution Protocol (CLI Mode)
执行协议(CLI模式)
Vendor-specific execution protocols are injected automatically by .
Source files live under .
oh-my-ag agent:spawn../_shared/runtime/execution-protocols/{vendor}.md供应商专属执行协议由自动注入。
源文件存放在路径下。
oh-my-ag agent:spawn../_shared/runtime/execution-protocols/{vendor}.mdReferences
参考文件
- Execution steps:
resources/execution-protocol.md - Code examples:
resources/examples.md - Code snippets:
resources/snippets.md - Checklist:
resources/checklist.md - Error recovery:
resources/error-playbook.md - Tech stack:
resources/tech-stack.md - Screen template:
resources/screen-template.dart - Context loading:
../_shared/core/context-loading.md - Reasoning templates:
../_shared/core/reasoning-templates.md - Clarification:
../_shared/core/clarification-protocol.md - Context budget:
../_shared/core/context-budget.md - Lessons learned:
../_shared/core/lessons-learned.md
- 执行步骤:
resources/execution-protocol.md - 代码示例:
resources/examples.md - 代码片段:
resources/snippets.md - 检查清单:
resources/checklist.md - 错误恢复:
resources/error-playbook.md - 技术栈:
resources/tech-stack.md - 页面模板:
resources/screen-template.dart - 上下文加载:
../_shared/core/context-loading.md - 推理模板:
../_shared/core/reasoning-templates.md - 澄清协议:
../_shared/core/clarification-protocol.md - 上下文预算:
../_shared/core/context-budget.md - 经验总结:
../_shared/core/lessons-learned.md