Communitygithub.com

software-mansion/argent-device-interact

使用 argent MCP 工具與 iOS 模擬器、Android 模擬器或 Electron 應用程式進行互動。適於點擊 UI 元素、執行手勢、滾動/滑動、輸入文字、按下硬體按鈕、啟動應用程式、開啟 URL、截圖,或檢查互動後的應用可見狀態。

argent-device-interact 是什麼?

此技能透過 argent MCP 工具實現對 iOS 模擬器、Android 模擬器或 Electron 應用程式的自動化互動。開發者可利用此技能進行 UI 元素點擊、手勢操作(如滾動與滑動)、文字輸入、硬體按鈕按下等操作,並支援啟動應用程式、開啟 URL 及截圖功能。其核心優勢在於能精確模擬使用者行為,並在每次互動後檢查應用程式的可視狀態,確保自動化測試的可靠性。此技能相容於多種平台(iOS、Android、Electron),適合用於端到端測試、UI 驗證及開發調試場景。透過結構化的 MCP 工具,AI 代理能以程式化方式控制仿真設備,從而自動化重複性測試流程。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/software-mansion/argent/tree/main/skills/argent-device-interact

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

argent-device-interact 是做什麼的?

使用 argent MCP 工具與 iOS 模擬器、Android 模擬器或 Electron 應用程式進行互動。適於點擊 UI 元素、執行手勢、滾動/滑動、輸入文字、按下硬體按鈕、啟動應用程式、開啟 URL、截圖,或檢查互動後的應用可見狀態。

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

software-mansion/argent-android-emulator-setup

Set up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task.

software-mansion/argent-create-flow

Record a reusable flow (scripted sequence of MCP tool calls) that can be replayed later with a single command. Use when the user asks to create, record, or build a flow, or to script a sequence of device actions.

software-mansion/argent-ios-simulator-setup

Set up and connect to an iOS simulator using argent MCP tools. Use when starting a new session, booting an iOS simulator, getting an iOS UDID, or before any iOS simulator interaction task.

software-mansion/argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP) through the same surface. Use when connecting to the runtime, inspecting React components, reading console logs, or evaluating JavaScript.

software-mansion/argent-native-profiler

Native profiling for CPU hotspots, UI hangs, memory issues. iOS via xctrace; Android via Perfetto. Use when diagnosing native-level performance issues.

software-mansion/argent-react-native-app-workflow

Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.

software-mansion/argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.

software-mansion/argent-react-native-profiler

Profile a React Native Hermes app to measure re-render and CPU performance using argent profiler tools. Use when optimizing for performance, measuring before/after a fix, spotting slow components, diagnosing re-renders, checking CPU hotspots, or producing a ranked issue report.

software-mansion/argent-test-ui-flow

Autonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login works, testing navigation, running end-to-end UI test scenarios, manual QA steps, visible UI changes, or visual behavior.

相關技能