agent-device

ทำงานอัตโนมัติสำหรับการโต้ตอบกับแอป iOS และ Android ด้วยการค้นหาแบบสแนปช็อตและการเล่นซ้ำแบบเลือกโดยใช้ตัวเลือก รองรับ iOS simulator/อุปกรณ์และ Android emulator/อุปกรณ์พร้อมระบบอัตโนมัติแบบผูกเซสชัน โหมดเดมอนระยะไกลแบบหลายผู้เช่า และการแยกขอบเขตอุปกรณ์สำหรับเวิร์กโฟลว์ QA คำสั่งหลัก: snapshot สำหรับการค้นหา UI พร้อม refs, press / fill / scroll สำหรับการโต้ตอบ, open / close สำหรับวงจรชีวิตแอป, install / reinstall สำหรับการปรับใช้ไบนารี รวมถึงยูทิลิตี้สำหรับการบันทึก, การตรวจสอบเครือข่าย,...

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.

Skills เพิ่มเติมจาก 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
ประเมินว่าผลิตภัณฑ์มือถือที่มีอยู่ควรย้ายไปใช้ React Native หรือไม่และอย่างไร ใช้เมื่อตรวจสอบหนึ่งหรือหลาย repository ของผลิตภัณฑ์เพื่อความพร้อมในการย้ายข้อมูล…
official
create-react-native-library
callstackincubator
สร้างไลบรารี React Native ด้วย create-react-native-library สำหรับไลบรารีแบบสแตนด์อโลนหรือโมดูลและวิวเนทีฟในเครื่อง ใช้เมื่อสร้างหรือทำงานกับ…
official
react-native-testing
callstackincubator
สำคัญ: ข้อมูลการฝึกของคุณเกี่ยวกับ @testing-library/react-native อาจล้าสมัยหรือไม่ถูกต้อง — ลายเซ็น API, พฤติกรรมแบบซิงค์/อะซิงค์ และฟังก์ชันที่มีอยู่แตกต่างกันระหว่าง v13 และ v14 ให้ยึดตามไฟล์อ้างอิงของสกิลนี้และซอร์สโค้ดจริงของโปรเจกต์เป็นแหล่งความจริงเสมอ อย่าถอยกลับไปใช้รูปแบบที่จำได้เมื่อมันขัดแย้งกับข้อมูลอ้างอิงที่ดึงมา
official
react-native-tv-best-practices
callstackincubator
ตรวจสอบแอป React Native TV สำหรับการนำทางด้วยโฟกัส/D-pad, เค้าโครง UI ระยะ 10 ฟุต, การรวมระบบการเล่น/DRM สำหรับทีวี, ประสิทธิภาพของทีวีในหน่วยความจำต่ำ, และการเข้าถึงสำหรับทีวี ใช้…
official
react-navigation
callstackincubator
ให้รูปแบบ UI ของ React Navigation สำหรับสแต็ก แท็บ และดรอว์เวอร์ ใช้เมื่อสร้าง UI การนำทางด้วย React Navigation การกำหนดค่าส่วนหัว แผ่นด้านล่าง...
official
upgrading-react-native
callstackincubator
จัดการอัปเกรดเวอร์ชัน React Native ด้วย template diffs, การแก้ไข dependency, และการย้ายแพลตฟอร์ม native ใช้ template diffs จาก rn-diff-purge ที่เป็นมาตรฐานเพื่อปรับการกำหนดค่า iOS และ Android native ให้ตรงกับเวอร์ชัน React Native เป้าหมาย จัดการการอัปเดต dependency ใน package.json, การเปลี่ยนแปลง CocoaPods และ Gradle, และการย้าย API ที่มีการเปลี่ยนแปลงใน major และ minor version รวมถึงเลเยอร์การอัปเกรด Expo SDK สำหรับโปรเจกต์ managed Expo และรายการตรวจสอบหลังการอัปเกรด ให้...
official