Android Reproduce-As-Test
Enforces a test-driven debugging workflow by reproducing Android bugs as failing tests before applying fixes.
The Android Reproduce-As-Test skill transforms how AI agents handle bug reports by mandating a 'test-first' approach. It guides Claude to identify project configurations—such as JUnit versions, mocking libraries, and Robolectric setups—before selecting the fastest possible testing layer (JVM, Robolectric, or Instrumentation) to replicate a reported issue. By requiring a failing test as proof of the bug, this skill ensures that fixes are causal rather than coincidental, ultimately leaving behind a robust regression guard that prevents the same bug from ever returning to the codebase.
Key Features
01Standardized naming conventions for behavior-driven bug documentation
02Fast-path testing strategy selection to minimize execution time
036 GitHub stars
04Targeted Gradle command generation for focused test iterations
05Built-in cleanup gates to ensure clean, production-ready test suites
06Automated detection of project testing stack (JUnit 4/5, MockK, Mockito, Robolectric)
Use Cases
01Capturing complex UI or lifecycle-related regressions through device instrumentation tests
02Verifying logic bugs in ViewModels or Repositories using high-speed JVM unit tests
03Simulating Android framework interactions (Context, SharedPreferences) without a physical device via Robolectric