ios-simulator
できること
agent-deviceのコマンドラインツールを使い、ネイティブ、React Native、Expo、FlutterのアプリをiOSシミュレーターで実行してテストします。iPhoneやiPadの変更を検証したい開発者が対象です。
使う場面
- ✓シミュレーターでiPhoneアプリの変更を確認したいとき。
- ✓iPhoneやiPadのシミュレーターで、バグを手順どおりに再現したいとき。
- ✓失敗したiOSアプリのテストから、スクリーンショットとログが欲しいとき。
スキルのリンク
https://github.com/callstack/agent-device/blob/main/skills/ios-simulator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“最新の変更後にログイン画面が読み込まれるか確認するため、アプリをiPhoneのシミュレーターで開いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、シミュレーターでアプリを開き、画面を読み取り、手順どおりにタップや入力を行います。何か失敗した場合は、スクリーンショットとデバッグの詳細を集めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
iOS Simulator
Require the agent-device CLI to be installed separately before driving a simulator:
npm install -g agent-device@latest
Treat installation and upgrades as user-owned setup steps. Do not run that command autonomously or substitute a mutable npx -y agent-device@latest invocation.
For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot. Target iOS explicitly when opening an app or bundle id:
agent-device open <app-or-bundle-id> --platform ios --foreground
Follow the initial interactive snapshot and corrective error hints. If the shell reports that agent-device is unavailable, stop and ask the user to install it or expose their existing installation on PATH.
When you finish, if your session booted the simulator, run agent-device close --shutdown, unless the user asks to keep it running.
Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic:
agent-device help validate # engineering validation and build freshness
agent-device help debugging # screenshots, logs, traces, video, and failures
agent-device help react-native # React Native and Expo runtime guidance
agent-device help react-devtools # React components, props/state/hooks, render profiling
agent-device help scripting # durable replay and CI workflows
よくある質問
最初に何か導入する必要がありますか?
はい。エージェントが使う前に、agent-deviceのコマンドラインツールをあなた自身で導入します。
誰がツールをアップグレードしますか?
あなたです。エージェントは、導入やアップグレードのコマンドを自分で実行しません。
テストの後、シミュレーターはどうなりますか?
セッションがシミュレーターを起動した場合、起動したままにするよう頼まれない限り、それを終了します。
詳細
作者による元の説明
Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.
repo: callstack/agent-device
人気
- GitHubのスター
- 5.2k
- ランキング
- #15029
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-device
5.2kエージェントが、TVを含むAppleとAndroidのデバイスでアプリを開き、タップ、入力、画面の読み取りによって操作できるよう支援します。
android-emulator
5.2kエージェントが、エミュレーターでAndroidアプリを開き、画面を確認し、ワークフローをタップで進め、問題が起きたときに証拠を集められるよう支援します。
dogfood
5.2kエージェントが、iOSやAndroidのモバイルアプリをテスターのように探索し、バグや使いにくい点を見つけて、各問題の証拠を保存できるよう支援します。
似ているスキル
android-clean-architecture
280kエージェントがAndroidプロジェクトを効率よく整理できるようにします。コードを構造化して、保守や新機能の開発をしやすくします。
compose-multiplatform-patterns
280kエージェントがKMPプロジェクトでCompose MultiplatformとJetpack Composeのパターンを使えるようにします。状態管理、ナビゲーション、テーマ設定、パフォーマンスを扱います。
dart-flutter-patterns
280kエージェントがDartとFlutterのアプリ向けのコードを書けるようにします。最新のパターンを使い、堅牢で管理しやすいアプリを作ります。