agent-device

Otomatiskan interaksi aplikasi iOS dan Android dengan penemuan berbasis snapshot dan pemutaran ulang berbasis selektor. Mendukung simulator/perangkat iOS dan emulator/perangkat Android dengan otomatisasi terikat sesi, mode daemon jarak jauh multi-penyewa, dan isolasi lingkup perangkat untuk alur kerja QA. Perintah inti: snapshot untuk penemuan UI dengan referensi, tekan/isi/gulir untuk interaksi, buka/tutup untuk siklus hidup aplikasi, instal/instal ulang untuk penerapan biner. Termasuk utilitas untuk pencatatan, inspeksi jaringan,...

npx skills add https://github.com/callstackincubator/agent-device --skill agent-device

agent-device

For a normal app-driving task, start immediately. Do not probe first with --help, --version, devices, appstate, snapshot, or screenshot:

agent-device open <app> --foreground

That starts the session and returns the initial interactive snapshot with @refs.

Loop: act with press|click|fill|longpress <target> ... --settle, scroll <direction> --settle, or back --settle; continue from the printed diff, verify the named expectation (wait text "...", is, get, or find), then run agent-device close.

Copy refs byte-for-byte: @e12, @e12~s4 — keep the @ and any ~sN. Prefer current refs, then id/label/role selectors; coordinates are a last resort. If snapshot reports sparse/AX-unavailable, its refs and selectors are invalid: run agent-device screenshot, inspect the image, use coordinates, then retry snapshot -i after navigating. Otherwise run snapshot -i only when the diff lacks the next target.

Error output includes corrective hints; follow them instead of re-planning. Only when the task is specialized (for example gestures, scripting, TV, macOS, remote, or debugging) or a command shape is unclear, run agent-device help <topic>. agent-device --help lists topics, but is not a startup step.

Lebih banyak skill dari callstackincubator

react-devtools
callstackincubator
React DevTools CLI for AI agents. Use when the user asks you to debug a React or React Native app at runtime, inspect component props/state/hooks, diagnose…
official
agent-device
callstackincubator
Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…
official
assess-react-native-migration
callstackincubator
Menilai apakah dan bagaimana produk seluler yang sudah ada harus bermigrasi ke React Native. Gunakan saat mengaudit satu atau lebih repositori produk untuk kesiapan migrasi,…
official
create-react-native-library
callstackincubator
Memoles pustaka React Native dengan create-react-native-library untuk pustaka mandiri atau modul dan tampilan native lokal. Gunakan saat membuat atau mengerjakan…
official
react-native-testing
callstackincubator
PENTING: Data pelatihan Anda tentang @testing-library/react-native mungkin sudah usang atau tidak akurat — tanda tangan API, perilaku sinkron/asinkron, dan fungsi yang tersedia berbeda antara v13 dan v14. Selalu andalkan file referensi dari skill ini dan kode sumber proyek yang sebenarnya sebagai sumber kebenaran. Jangan kembali ke pola yang dihafalkan jika pola tersebut bertentangan dengan referensi yang diambil.
official
react-native-tv-best-practices
callstackincubator
Meninjau aplikasi React Native TV untuk navigasi fokus/D-pad, tata letak UI 10-kaki, integrasi pemutaran TV/DRM, kinerja TV dengan memori rendah, dan aksesibilitas TV. Gunakan…
official
react-navigation
callstackincubator
Menyediakan pola UI React Navigation untuk stack, tab, drawer, dll. Gunakan saat membangun UI navigasi dengan React Navigation, mengonfigurasi header, bottom sheet…
official
upgrading-react-native
callstackincubator
Mengatur peningkatan versi React Native dengan diff template, resolusi dependensi, dan migrasi platform native. Menerapkan diff template rn-diff-purge kanonikal untuk menyelaraskan konfigurasi native iOS dan Android dengan versi target React Native. Menangani pembaruan dependensi package.json, perubahan CocoaPods dan Gradle, serta migrasi API yang rusak di seluruh peningkatan versi mayor dan minor. Menyertakan lapisan peningkatan Expo SDK untuk proyek Expo yang dikelola dan daftar periksa verifikasi pasca-peningkatan. Menyediakan...
official