Android Snapshot Diff
Verifies Android state changes by capturing and comparing snapshots of layouts, memory usage, and system properties.
The Android Snapshot Diff skill provides a rigorous empirical method for verifying app behavior by comparing device states across two points in time. It allows developers and AI agents to capture 'snapshots' containing UI hierarchy JSON, memory info, system properties, and screenshots, then perform a diff to confirm if actions like dialog dismissals, property flips, or memory leaks actually occurred. By delegating the parsing of these diffs to sub-agents, it helps identify no-op fixes and subtle regressions that are difficult to spot through visual observation alone.
Características Principales
01System property verification to confirm setprop commands were successful
02Sub-agent delegation patterns for processing large diff files without token waste
03Multi-channel snapshot capture including Layout JSON, memory info, and system properties
04Automated UI hierarchy diffing to confirm visibility and focus changes
05Memory leak detection through PSS and heap category trend analysis
066 GitHub stars
Casos de Uso
01Detecting memory leaks by comparing meminfo across multiple navigation cycles
02Confirming UI state changes like dialog dismissals or view property updates
03Verifying that a code fix actually changed the device state rather than being a no-op