本文へ移動
cccskills
無料GitHub で公開

quality-engineering-appium-mcp

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

インストール方法を見る

含まれるファイル(8)

  • SKILL.md4.4 KB
  • evals/evals.json2.1 KB
  • references/driver-ladder.md4.2 KB
  • references/lambdatest-cloud-setup.md2.6 KB
  • references/project-context.md3.2 KB
  • references/setup.md3.0 KB
  • references/tool-cheatsheet.md3.6 KB
  • scripts/preflight.sh3.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

📱 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)

StepToolPurpose
0select_device / prepare_ios_simulatorPick target per ladder rung; cloud skips this.
1appium_session_management (create)Open session. Resiliency: Retry with noReset: true on failure.
2appium_get_window_sizeScale coordinates for high-density displays.
3appium_screenshotCapture visual state for Semantic Reasoning.
4appium_gesture / appium_set_valueInteract. Self-Healing: Re-scan hierarchy if UUID stale.
5appium_session_management (delete)MANDATORY Cleanup.

💡 AI-Driven Methodologies

  • Semantic Intent: Find element in hierarchy (e.g., "Login button") instead of raw coordinates. Resilient to layout shifts.
  • Dynamic Handling: Unexpected pop-up appears? Pause, reason about alert, dismiss, resume.
  • Visual Anchors: Find stable "Anchor" (e.g., Header) and derive coordinates relative to it.

🚫 Anti-Patterns (Zero-Tolerance)

  • Hardcoded XPaths: Use accessibility id or uiautomator. XPath flaky.
  • Implicit Wait-Only: Never assume page loaded. Poll for "Source of Truth" element.
  • Ignoring QoS: Audit CPU/Memory via appium_mobile_performance_data. Prevent lag/crashes.
  • Orphaned Sessions: Teardown mandatory. Call delete in cleanup block.

📁 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

  • Cleanup Rate: 100% session closure.
  • Visual Accuracy: Coordinate-based taps land within 5% of target center.
  • Security: No secrets in tool arguments or logs.

🔗 References

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test recipes to their specific skills.

日本語の概要は準備中です。原文の説明を表示しています。

HoangNguyen0403/agent-skills-standard5732026年10月12日 更新

HoangNguyen0403 のスキルをすべて見る

このスキルの問題を報告する