agent-device

Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing,…

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

agent-device

Use this skill as a router with mandatory defaults. Read this file first. For normal device tasks, always load references/bootstrap-install.md and references/exploration.md before acting. Use bootstrap to confirm or establish deterministic setup. Use exploration for UI inspection, interaction, and verification once the app session is open.

Default operating rules

  • Start conservative. Prefer read-only inspection before mutating the UI.
  • Use plain snapshot when the task is to verify what text or structure is currently visible on screen.
  • Use snapshot -i only when you need interactive refs such as @e3 for a requested action or targeted query.
  • Avoid speculative mutations. You may take the smallest reversible UI action needed to unblock inspection or complete the requested task, such as dismissing a popup, closing an alert, or clearing an unintended surface.
  • Do not browse the web or use external sources unless the user explicitly asks.
  • Re-snapshot after meaningful UI changes instead of reusing stale refs.
  • Prefer @ref or selector targeting over raw coordinates.
  • Ensure the correct target is pinned and an app session is open before interacting.
  • Keep the loop short: open -> inspect/act -> verify if needed -> close.

Default flow

  1. Load references/bootstrap-install.md and references/exploration.md before acting on a normal device task.
  2. Use bootstrap first to confirm or establish the correct target, app install, and open app session.
  3. Once the app session is open and stable, use exploration for inspection, interaction, and verification.
  4. Start with plain snapshot if the goal is to read or verify what is visible.
  5. Escalate to snapshot -i only if you need refs for interactive exploration or a requested action.
  6. Use get, is, or find before mutating the UI when a read-only command can answer the question.
  7. End by capturing proof if needed, then close.

QA modes

Required references

  • For every normal device task, after reading this file, load references/bootstrap-install.md first, then references/exploration.md, before acting.
  • Use bootstrap to confirm or establish deterministic setup, especially in sandbox or cloud environments.
  • Use exploration once the app session is open and stable.
  • Load additional references only when their scope is needed.

Decision rules

  • Use plain snapshot when you need to verify whether text is visible.
  • Use snapshot -i mainly for interactive exploration and choosing refs.
  • Use get, is, or find when they can answer the question without changing UI state.
  • Use fill to replace text.
  • Use type to append text.
  • When a task asks to "go back", use plain back for predictable app-owned navigation and reserve back --system for platform back gestures or button semantics.
  • Use type --delay-ms or fill --delay-ms for debounced search fields that drop characters when typed too quickly.
  • If there is no simulator, no app install, or no open app session yet, switch to bootstrap-install.md instead of improvising setup steps.
  • Use the smallest unblock action first when transient UI blocks inspection, but do not navigate, search, or enter new text just to make the UI reveal data unless the user asked for that interaction.
  • Do not use external lookups to compensate for missing on-screen data unless the user asked for them.
  • If the needed information is not exposed on screen, say that plainly instead of compensating with extra navigation, text entry, or web search.
  • Prefer @ref or selector targeting over raw coordinates.

Additional references

Mehr Skills von 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
assess-react-native-migration
callstackincubator
Bewertet, ob und wie ein bestehendes mobiles Produkt zu React Native migrieren sollte. Verwenden Sie dies bei der Überprüfung eines oder mehrerer Produkt-Repositorys auf Migrationsbereitschaft,…
official
create-react-native-library
callstackincubator
Erstellt React Native Bibliotheken mit create-react-native-library für eigenständige Bibliotheken oder lokale native Module und Ansichten. Verwenden Sie dies beim Erstellen oder Arbeiten an…
official
react-native-testing
callstackincubator
WICHTIG: Ihre Trainingsdaten zu @testing-library/react-native könnten veraltet oder fehlerhaft sein – API-Signaturen, synchrones/asynchrones Verhalten und verfügbare Funktionen unterscheiden sich zwischen v13 und v14. Verlassen Sie sich stets auf die Referenzdateien dieser Fähigkeit und den tatsächlichen Quellcode des Projekts als maßgebliche Quelle. Verwenden Sie keine auswendig gelernten Muster, wenn diese mit der abgerufenen Referenz in Konflikt stehen.
official
react-native-tv-best-practices
callstackincubator
Überprüft React Native TV-Apps auf Fokus-/D-Pad-Navigation, 10-Fuß-UI-Layout, TV-Wiedergabe/DRM-Integration, TV-Leistung bei geringem Speicher und TV-Barrierefreiheit. Verwenden…
official
react-navigation
callstackincubator
Bietet React Navigation UI-Muster für Stacks, Tabs, Drawers usw. Verwenden Sie dies beim Erstellen von Navigations-UIs mit React Navigation, Konfigurieren von Headern, Bottom Sheets…
official
upgrading-react-native
callstackincubator
We need to translate the given English text into German. The text describes an agent skill for upgrading React Native. We must preserve the name "upgrading-react-native" but it's not in the text, so we don't include it. We translate the text inside <text> only. No extra labels or commentary. Keep technical terms like React Native, rn-diff-purge, CocoaPods, Gradle, Expo SDK, etc. Translate naturally. The text: "Orchestrates React Native version upgrades with template diffs, dependency resolution, and native platform migration. Applies canonical rn-diff-purge template diffs to align native iOS and Android configuration with target React Native versions Handles package.json dependency updates, CocoaPods and Gradle changes, and breaking API migrations across major and minor version bumps Includes Expo SDK upgrade layer for managed Expo projects and post-upgrade verification checklist Provides..." Note: There is a missing period after "versions" and before "Handles". Also "Provides..." seems cut off. We'll translate as given. German translation
official
validate-skills
callstackincubator
Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.
official