client/.github/skills/android-emulator-skill/SKILL.md
Production-ready scripts for Android app testing, building, and automation. Provides semantic UI navigation, build automation, log monitoring, and emulator lifecycle management. Optimized for AI agents with minimal token output.
npx skillsauth add ahaodev/heji android-emulator-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build, test, and automate Android applications using accessibility-driven navigation and structured data instead of pixel coordinates.
# 1. Check environment
bash scripts/emu_health_check.sh
# 2. Launch app
python scripts/app_launcher.py --launch com.example.app
# 3. Map screen to see elements
python scripts/screen_mapper.py
# 4. Tap button
python scripts/navigator.py --find-text "Login" --tap
# 5. Enter text
python scripts/navigator.py --find-type EditText --enter-text "[email protected]"
All scripts support --help for detailed options and --json for machine-readable output.
build_and_test.py - Build Android projects, run tests, parse results
--task, --clean, --jsonlog_monitor.py - Real-time log monitoring with intelligent filtering
adb logcat--package, --tag, --priority, --duration, --jsonscreen_mapper.py - Analyze current screen and list interactive elements
uiautomator--verbose, --jsonnavigator.py - Find and interact with elements semantically
--find-text, --find-id, --tap, --enter-text, --jsongesture.py - Perform swipes, scrolls, and other gestures
--swipe, --scroll, --duration, --jsonkeyboard.py - Key events and hardware buttons
--key, --text, --jsonapp_launcher.py - App lifecycle management
adb shell am start)adb shell am force-stop)--launch, --terminate, --install, --uninstall, --list, --jsonemulator_manage.py - Manage Android Virtual Devices (AVDs)
--list, --boot, --shutdown, --jsonemu_health_check.sh - Verify environment is properly configured
Auto-Device Detection: Scripts target the single connected device/emulator if only one is present, or require -s <serial> if multiple are connected.
Output Formats: Default is concise human-readable output. Use --json for machine-readable output.
Semantic Navigation: Find elements by text, resource-id, or content-description.
Token Efficiency: Concise default output with optional verbose and JSON modes.
Zero Configuration: Works with standard Android SDK installation.
development
Apply Shadmin feature-development standards (backend Go/Gin/Ent + frontend React/TS). Use when adding/modifying features, CRUD modules, API routes/controllers/usecases/repositories, Ent schemas, or web pages/routes.
data-ai
Convert Android XML layouts to Jetpack Compose. Use when asked to migrate Views to Compose, convert XML to Composables, or modernize UI from View system to Compose.
development
Kotlin Coroutines review and remediation for Android. Use when asked to review concurrency usage, fix coroutine-related bugs, improve thread safety, or resolve lifecycle issues in Kotlin/Android code.
development
Debug and optimize Android/Gradle build performance. Use when builds are slow, investigating CI/CD performance, analyzing build scans, or identifying compilation bottlenecks.