一键导入
android-ui-proactive-verification
Automatically verify UI changes using ADB, screenshots, and interaction simulation without waiting for user requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Automatically verify UI changes using ADB, screenshots, and interaction simulation without waiting for user requests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidance for creating effective modular skills for Claude. Use when creating or refining skills to ensure they are concise, follow progressive disclosure patterns, and provide appropriate degrees of freedom.
Guidelines for ensuring smooth and race-condition-free theme transitions in Android, specifically regarding icon tinting and state management.
Best practices for effective human-AI pair programming and communication
Clarify touch-target vs visual size when users ask to resize buttons without changing icons.
Choose whether the outer container acts as the touch proxy or remains a layout placeholder to control hit targets.
Best practices for 60fps custom View rendering with zero allocation in onDraw
| name | Android UI Proactive Verification |
| description | Automatically verify UI changes using ADB, screenshots, and interaction simulation without waiting for user requests. |
Last Verified: 2026-01-23 Applicable SDK: Android 14+ (API 34+) Dependencies: None
To ensure every UI-related code change is verified on a real device or emulator immediately after implementation, providing visual proof and self-correction.
As an agent, you MUST trigger this verification flow automatically after any of the following:
AnimationController or any animation-related code.Immediately run the deployment workflow to get the latest code onto the device.
./gradlew installDebug && \
adb shell am start -n com.bokehforu.openflip.debug/com.bokehforu.openflip.ui.FullscreenClockActivity
If the change involves a button, menu, or gesture:
adb shell uiautomator dump /sdcard/view.xml && adb pull /sdcard/view.xml . to find view coordinates if needed.adb shell input tap <x> <y> to simulate clicks.adb shell input swipe <x1> <y1> <x2> <y2> <duration> for gestures.Capture screenshots or videos to verify the state.
adb shell screencap -p /sdcard/verify.png && adb pull /sdcard/verify.png ./ui_verify_$(date +%s).pngadb shell screenrecord --time-limit 5 /sdcard/verify.mp4 && adb pull /sdcard/verify.mp4 ./ui_verify_$(date +%s).mp4ui_verify_*.png and ui_verify_*.mp4 files.adb shell rm /sdcard/verify.png /sdcard/verify.mp4.sleep 2 before capturing a screenshot to allow for animations and rendering to settle.adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0 (0 for portrait, 1 for landscape).