/mobile-plugin:ios-simulator-debugfrom mobile-plugin
iOS SimulatorをAIで操作してデバッグ・検証。ビルド→起動→UI操作→スクショ→分析のループ。UIの動作確認、バグの再現・調査、UI実装の検証、アクセシビリティの確認時に使用。前提条件 mobile-mcp MCPサーバー(mobile-plugin導入で自動設定)
Ships in mobile-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
iOS SimulatorをAIで操作し、ビルド→起動→操作→スクショ→分析のデバッグループを実行する。
mobile-pluginを導入すると、.mcp.jsonによりmobile-mcp MCPサーバーが自動で有効化される。
以下をユーザーに確認:
対象アプリ
検証内容
Simulator設定
# 1. 利用可能なデバイスを確認
# → mobile_list_available_devices ツールを使用
# 2. アプリをビルド
xcodebuild -workspace App.xcworkspace \
-scheme App \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15' \
-derivedDataPath ./build \
build
# 3. アプリをインストール
# → mobile_install_app ツールで ./build/Build/Products/Debug-iphonesimulator/App.app をインストール
# 4. アプリを起動
# → mobile_launch_app ツールで Bundle ID を指定して起動
現状把握 → 操作 → 結果確認 → 分析 → 次のアクション
↑ ↓
└──────────── 繰り返し ←───────────────┘
| ツール | 説明 | 使用例 |
|---|---|---|
mobile_list_available_devices | 利用可能なデバイス一覧を取得 | 最初に実行してデバイスIDを確認 |
mobile_install_app | .app/.ipaをインストール | ビルド後 |
mobile_launch_app | Bundle IDでアプリ起動 | インストール後 |
mobile_terminate_app | アプリを終了 | テスト間のリセット |
mobile_list_apps | インストール済みアプリ一覧 | Bundle ID確認 |
| ツール | 説明 | 使用例 |
|---|---|---|
mobile_list_elements_on_screen | 画面上の要素一覧と座標を取得 | 現状把握・要素特定 |
mobile_take_screenshot | スクリーンショット取得(画像データ) | クイック確認 |
mobile_save_screenshot | スクリーンショットをファイルに保存 | 証跡保存 |
mobile_get_screen_size | 画面サイズを取得 | 座標計算 |
| ツール | 説明 | パラメータ |
|---|---|---|
mobile_click_on_screen_at_coordinates | タップ | x, y座標 |
mobile_double_tap_on_screen | ダブルタップ | x, y座標 |
mobile_long_press_on_screen_at_coordinates | 長押し | x, y座標, duration |
mobile_type_keys | テキスト入力 | 入力文字列 |
mobile_swipe_on_screen | スワイプ | 方向(up/down/left/right) |
mobile_press_button | ボタン押下 | ボタン名 |
mobile_open_url | URLを開く | URL |
| ツール | 説明 |
|---|---|
mobile_set_orientation | 画面の向きを変更(portrait/landscape) |
mobile_get_orientation | 現在の画面の向きを取得 |
1. mobile_list_elements_on_screen で現在画面を把握
2. mobile_save_screenshot で初期状態を保存
3. mobile_click_on_screen_at_coordinates でボタンをタップ
4. mobile_list_elements_on_screen で遷移後の画面を確認
5. mobile_save_screenshot で結果を保存
6. 期待と比較して分析
1. mobile_list_elements_on_screen でフォーム要素を特定
2. mobile_click_on_screen_at_coordinates でテキストフィールドをタップ
3. mobile_type_keys でテキスト入力
4. mobile_click_on_screen_at_coordinates で送信ボタンをタップ
5. mobile_list_elements_on_screen で結果を確認
1. mobile_save_screenshot で現在の表示を保存
2. mobile_swipe_on_screen で下にスクロール
3. mobile_save_screenshot でスクロール後を保存
4. 必要に応じて繰り返し
mobile_list_elements_on_screen の結果から以下をチェック:
# Simulatorをリセット
xcrun simctl shutdown all
xcrun simctl erase all
# 署名を確認
codesign -dv --verbose=4 App.app
# Simulatorに直接インストール
xcrun simctl install booted App.app
mobile_list_elements_on_screenで画面状態を確認mobile_save_screenshotで記録mobile_list_available_devicesで取得したIDを使用What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub caphtech/claude-marketplace --plugin mobile-plugin10 skills in this plugin
/flutter-widget-splittingFlutter Widgetの肥大化を、責務分離・共通化・Riverpod境界の整理でリファクタリングする。build()が長い、Widgetを分割したい、Riverpodのwatch/read/listen/select境界を見直したい、共通化したい、Flutter UIを整理したい時に使用。/ios-archiveアーカイブ・配布支援。App Store Connect、TestFlight、Ad Hoc/Enterprise配布。使用タイミング: (1) App Storeへの提出準備時、(2) TestFlight配布時、(3) Ad Hoc/Enterprise配布時、(4) CI/CDでの自動配布設定時/ios-ia-navigationiOSアプリの情報設計(IA)と画面遷移(ナビゲーション)を設計するスキル。Apple HIGとWWDCセッションに基づき、タブ/階層push/モーダルを情報階層とタスク構造から逆算して選定し、根拠と未確定事項を可視化しながら設計を完遂する。使用タイミング: (1) 新規アプリの情報設計時、(2) 画面遷移設計時、(3) 「IAを設計したい」「ナビゲーション構造を決めたい」、(4) iPad/iPhone両対応の構造設計時、(5) ディープリンク対応設計時、(6) 既存アプリのリファクタリング時Other plugins' skills for the same job