Skip to content

FISCFED9/CLI / .agents/skills/plugins/antigravity-awesome-skills-claude/skills/android_ui_verification

android_ui_verification

Verified

Automated end-to-end UI testing and verification on an Android Emulator using ADB.

FileKindSize
SKILL.mdskill md2.8 KB
scripts/verify_ui.shscript895 B

scripts/verify_ui.sh

View on GitHub
#!/bin/bash

# Helper script for Android UI Verification Skill
# Usage: ./verify_ui.sh [screenshot_name]

ARTIFACTS_DIR="./artifacts"
SCREENSHOT_NAME="${1:-latest_screen}"

echo "πŸš€ Starting UI Verification..."

# 1. Create artifacts directory if not exists
mkdir -p "$ARTIFACTS_DIR"

# 2. Get Resolution
echo "πŸ“ Calibrating display..."
adb shell wm size

# 3. Dump UI XML
echo "πŸ“‹ Dumping UI hierarchy..."
adb shell uiautomator dump /sdcard/view.xml
adb pull /sdcard/view.xml "$ARTIFACTS_DIR/view.xml"

# 4. Capture Screenshot
echo "πŸ“Έ Capturing screenshot: $SCREENSHOT_NAME.png"
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png "$ARTIFACTS_DIR/$SCREENSHOT_NAME.png"

# 5. Get Recent JS Logs
echo "πŸ“œ Fetching recent JS logs..."
adb logcat -d | grep "ReactNativeJS" | tail -n 20 > "$ARTIFACTS_DIR/js_logs.txt"

echo "βœ… Done. Artifacts saved in $ARTIFACTS_DIR"
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 318kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 318kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 318kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 196kUpdated Claude CodeCodexVerifiedInstall