Common mobile visual testing

From HoangNguyen0403/agent-skills-standard · View interactive version

Common mobile visual testing is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Standardizes mobile UI audits, performance/scroll checks, RTL verification, and state-specific testing on iOS/Android.

How to use this skill

Skill file

๐Ÿ•ต Mobile Visual & Behavioral Testing

**Priority: P1 (HIGH)**

[!IMPORTANT]

Tier 2 (Methodology): Strategy for cross-platform mobile UI, lifecycle, and device audit.

Tier 3 (Domain): Native iOS, Native Android, Flutter, and React Native platforms.

๐Ÿงช Testing Mindset & Layer Fidelity

Analyze diff and select the correct test layer:

๐Ÿ“‹ Ten Mobile Testing Areas

  1. Functional/UI: Gestures, navigation flows, and synchronization.
  2. Lifecycle/State: Warm resume, retained recreation (config change) vs real process replacement/relaunch; saved-state reconstruction.
  3. Device/OS Matrix: Justified matrix (smallest/largest screen, tablet, min supported OS).
  4. Permissions/Platform: Dual-path (allow/deny/revoke), priming dialogs, deep link routing.
  5. Offline/Sync: Network loss, optimistic UI, idempotent sync, spec-defined conflict policy.
  6. Install/Upgrade: Clean install (fullReset) vs upgrade migration (noReset + DB migration).
  7. Accessibility/Presentation: VoiceOver/TalkBack, Dynamic Type, Safe Area, soft keyboard.
  8. Performance/QoS: Cold/warm startup, scroll jank/FPS, ANR/crashes, memory leaks; battery only with an approved objective on a physical device.
  9. Security/Privacy: Hardware-backed secure storage (Secure Enclave / Keystore / encrypted preferences), logout cleanup, no log PII.
  10. Release Smoke: SHA-256 build artifact digest, signing context, device ledger, honest BLOCKED reporting.

๐Ÿ› ๏ธ Core Tool Mapping

| Scenario | Appium Tool / Verification |

| :--- | :--- |

| System Alert / Permission | appium_alert (verify dialog; never auto-dismiss tested prompt) |

| Performance / QoS | appium_mobile_performance_data (CPU/Mem/FPS during flow) |

| Visual Check | appium_screenshot (base/diff; mask dynamic tokens) |

| Layout & A11y Audit | appium_get_page_source (validate hierarchy, labels, safe area) |

| App Lifecycle | appium_app_lifecycle (background, terminate, activate, deep_link) |

๐Ÿšซ Anti-Patterns

๐Ÿ“ Evidence (C6 Alignment)

Record: app artifact SHA-256 digest, build variant, target device/OS, driver rung, and reset mode. .appium-mcp/<session>/ holds <AC|step>-<before|after>.png, <label>.source.xml, perf.json, and video.url. Unavailable hardware/drivers must be reported as BLOCKED (driver: appium).

๐Ÿ”— References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.