Quality engineering appium mcp

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

Quality engineering appium mcp is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Drives iOS/Android mobile devices via Appium MCP. Runs a preflight, picks local emulator/simulator/USB or a device cloud, captures screenshots/page source into a named evidence dir. Use for verifying mobile bugs, E2E tests, and navigating real device clouds (LambdaTest/BrowserStack).

How to use this skill

Skill file

📱 Appium MCP (Mobile Automation)

**Priority: P1 (HIGH)**

[!IMPORTANT]

Tier 0 (Infrastructure): Session creation, device farm connectivity, basic OS interactions.

Tier 1 (Core Gestures): Taps, swipes, text input for native mobile elements.

Tier 2 (Flutter/Single-Canvas): Visual-first automation via screenshot + coordinate taps.

🔌 Activation

Triggers: appium, appium-mcp, appium doctor, mobile verify, android verify, ios verify, lambdatest, real device cloud, flutter widget tap.

🪜 Driver Ladder

  1. sh scripts/preflight.sh — prints MODE: local | local,remote | remote | none; exit 0 usable, 2 not.
  2. Local: select_device (Android) or prepare_ios_simulator (iOS), embedded drivers. Needs Node 22+, JDK 8+ / Xcode.
  3. Cloud: remoteServerUrl (LambdaTest/BrowserStack). URL must match REMOTE_SERVER_URL_ALLOW_REGEX.
  4. Neither: ask for exported screenshots or cloud video link; label human-provided.
  5. Nothing exported: return BLOCKED (driver: appium), continue other lanes.

NO_UI=true default; AI_VISION_ENABLED=true only for Flutter/canvas. Local single-user or trusted CI only. generate_locators / appium_generate_tests feed test-loop step 4. Full table: driver-ladder.

🛠 Core Workflow (Goal-Oriented)

| Step | Tool | Purpose |

| :--- | :--- | :--- |

| 0 | select_device / prepare_ios_simulator | Pick target per ladder rung; cloud skips this. |

| 1 | appium_session_management (create) | Open session with explicit reset semantics (fullReset for clean install; noReset only for migration/resumed sessions). noReset re-attaching an installed package installs nothing — run the in-place install and verify the installed build before creating the session. |

| 2 | appium_get_window_size | Scale coordinates for high-density displays. |

| 3 | appium_screenshot | Capture visual state for Semantic Reasoning. |

| 4 | appium_gesture / appium_set_value | Interact. Self-Healing: Re-scan hierarchy if UUID stale. |

| 5 | appium_session_management (delete) | MANDATORY Cleanup. |

💡 AI-Driven Methodologies

🚫 Anti-Patterns (Zero-Tolerance)

📁 Evidence

.appium-mcp/<session>/: <AC|step>-<before|after>.png (nav shots at maxWidth budget, verdict full-res), <label>.source.xml from appium_get_page_source, perf.json, video.url. Walkthrough records driver: + evidence_dir:.

✅ Evaluation Criteria

🔗 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.