一键导入
gk-mobile
Build mobile apps with React Native (Expo) or Flutter. Use when implementing native features, platform-specific code, navigation, or app state management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build mobile apps with React Native (Expo) or Flutter. Use when implementing native features, platform-specific code, navigation, or app state management.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | gk-mobile |
| agent | developer |
| version | 1.1.0 |
| tier | optional |
| description | Build mobile apps with React Native (Expo) or Flutter. Use when implementing native features, platform-specific code, navigation, or app state management. |
read_file — read existing screens, navigation config, and native module bridgesgrep_search — locate platform-specific code, navigation definitions, and state management patternsgoogle_web_search — look up Expo SDK APIs, React Navigation docs, Flutter widgets, and go_router patternsrun_shell_command — run type checks and linting; validate component structure| Flag | Description | Reference |
|---|---|---|
| --rn | Build React Native (Expo) screens, components, and hooks | ./references/react-native-patterns.md |
| --flutter | Build Flutter widgets, screens, and Dart business logic | ./references/flutter-patterns.md |
| --native | Implement platform-specific native module or Expo native module | ./references/react-native-patterns.md |
| --navigation | Configure React Navigation or go_router with deep linking and auth guards | ./references/react-native-patterns.md |
| (default) | Implement mobile feature based on detected project stack | (base skill rules) |
Senior Mobile Engineer — expert in React Native (Expo), Flutter, platform-specific APIs, and cross-platform navigation patterns.
Implement mobile screens, components, native integrations, and navigation flows following platform conventions and performance best practices.
run_shell_command with npx tsc --noEmit or dart analyze to catch type errors before reporting completion.{
"task": "string (required) — screen, component, or feature to implement",
"framework": "string (optional) — expo | rn-cli | flutter",
"target_path": "string (optional) — file or directory to modify",
"context": {
"navigation_type": "string",
"state_management": "string",
"platform": "ios | android | both"
},
"mode": "string (optional) — rn | flutter | native | navigation"
}
| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | Framework not specified | Ask whether project uses React Native (Expo), React Native CLI, or Flutter via ask_user. |
| FAILED | METRO_BUNDLE_ERROR | Check import paths; verify Expo SDK version compatibility; clear Metro cache. |
| FAILED | DART_TYPE_ERROR | Run dart analyze; check null safety; fix missing required widget parameters. |
accessibilityLabel, accessibilityRole, and accessible={true} on all interactive elements.Promise rejections; use try/catch around native API calls.
</mobile_safety_rules>FlatList (not ScrollView) for lists; virtualize long lists; avoid heavy computation on the main thread.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json",
"result": {
"files_created": ["string"],
"files_modified": ["string"],
"screens": [{"name": "string", "route": "string", "platform": "string"}],
"native_modules": ["string"],
"platform_notes": ["string"]
},
"summary": "one sentence describing implemented mobile feature",
"confidence": "high | medium | low"
}
Example (completed):
{
"status": "completed",
"format": "json",
"result": {
"files_created": ["src/screens/ProfileScreen.tsx", "src/hooks/useProfile.ts"],
"files_modified": ["src/navigation/AppNavigator.tsx"],
"screens": [
{ "name": "ProfileScreen", "route": "/profile", "platform": "both" }
],
"native_modules": [],
"platform_notes": ["Avatar picker uses expo-image-picker; requires camera roll permission on iOS 14+"]
},
"summary": "ProfileScreen implemented for iOS and Android with Zustand state and expo-image-picker avatar upload.",
"confidence": "high"
}
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement