android-testing-skills
⚡️ A set of skills for Android testing: Compose UI, AndroidX Test, JVM unit tests, and ADB.
Android Testing Skills is a collection of 54 instructional files (called "skills") designed to teach AI coding agents — like Claude Code or Android Studio's Agent mode — how to write Android tests correctly.
Each skill is a Markdown file structured as operational instructions for an AI: what APIs to use, what to avoid, step-by-step workflows, and code examples showing the right and wrong way to do things. The format is deliberately terse and directive, unlike human documentation — it's written so an AI can follow it as a procedure.
The 54 skills cover seven areas of Android testing: Jetpack Compose UI testing (finding elements on screen, asserting their state, simulating gestures), general testing concepts (unit vs integration vs end-to-end, using test doubles like mocks and fakes), Kotlin testing tools, JVM unit tests (JUnit4, Mockito, coroutines testing), on-device instrumented tests (running tests on a real Android device or emulator), migrating off deprecated old Android test classes, and ADB scripting for CI pipelines.
To use the skills, you clone the repository and run a provided install script that creates symlinks from each skill into the directory where your AI agent looks for skills. After restarting the agent, it will automatically consult the relevant skills whenever you ask it to write Android tests. The full README is longer than what was provided.