Agent skill · Audited from source
android-testing
skill · new-silvermoon/awesome-android-agent-skillsApache-2.0 licenceAudited 27 Oct 2026 · source 4bc96bf96aac
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4bc96bf96aac and found no filesystem, network or shell access and no hard-coded secrets. What it does: Comprehensive testing strategy involving Unit, Integration, Hilt, and Screenshot tests.
Cite
Cite this page
ModelsAtlas. “android-testing (new-silvermoon/awesome-android-agent-skills)”. Retrieved 27 Oct 2026. https://modelsatlas.com/skills/new-silvermoon/android-testing
2 skills are called “android-testing”. You are viewing new-silvermoon/awesome-android-agent-skills.
- new-silvermoon/awesome-android-agent-skills★ 993✓SAFE
- HoangNguyen0403/agent-skills-standard★ 575✓SAFE
Trust audit
Audit 0.4.1 · source read 27 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 13,985 of 14,816 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4bc96bf96aac · 27 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishernew-silvermoon GitHub userOwner of the repository this skill is read from
- Source foldernew-silvermoon/awesome-android-agent-skills/.github/skills/testing_and_automation/android-testingThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict4bc96bf96aacA new audit runs when the source changes
- Repository statusNot archivedLast push 91 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Comprehensive testing strategy involving Unit, Integration, Hilt, and Screenshot tests.
---
name: android-testing
description: Comprehensive testing strategy involving Unit, Integration, Hilt, and Screenshot tests.
---
# Android Testing Strategies
This skill provides expert guidance on testing modern Android applications, inspired by "Now in Android". It covers **Unit Tests**, **Hilt Integration Tests**, and **Screenshot Testing**.
## Testing Pyramid
1. **Unit Tests**: Fast, isolate logic (ViewModels, Repositories).
2. **Integration Tests**: Test interactions (Room DAOs, Retrofit vs MockWebServer).
3. **UI/Screenshot Tests**: Verify UI correctness (Compose).
## Dependencies (`libs.versions.toml`)
Ensure you have the right testing dependencies.
```toml
[libraries]
junit4 = { module = "junit:junit", version = "4.13.2" }
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
androidx-test-ext-junit = { group = "androidx.test.ext", name = "junit", version = "1.1.5" }
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version = "3.5.1" }
compose-ui-test = { group = "androidx.compose.ui", name = "ui-test-junit4" }
hilt-android-testing = { group = "com.google.dagger", name = "hilt-android-testing", version.ref = "hilt" }
roborazzi = { group = "io.github.takahirom.roborazzi", name = "roborazzi", version.ref = "roborazzi" }
```
## Screenshot Testing with Roborazzi
Screenshot tests ensure your UI doesn't regress visually. NiA uses **Roborazzi** because it runs on the JVM (fast) without needing an emulator.
### Setup
1. Add the plugin to `libs.versions.toml`:
```toml
[plugins]
roborazzi = { id = "io.github.takahirom.roborazzi", version.ref = "roborazzi" }
```
2. Apply it in your module's `build.gradle.kts`:
```kotlin
plugins {
alias(libs.plugins.roborazzi)
}
```
### Writing a Screenshot Test
```kotlin
@RunWith(AndroidJUnit4::class)
@GraphicsMode(GraphicsMode.Mode.NATIVE)
@Config(sdk = [33], qualifiers = RobolectricDeviceQualifiers.Pixel5)
class MyScreenScreenshotTest {
@get:Rule
val composeTestRule = createAndroidComposeRule<ComponentActivity>()
@Test
fun captureMyScreen() {
composeTestRule.setContent {
MyTheme {
MyScreen()
}
}
composeTestRule.onRoot()
.captureRoboImage()
}
}
```
## Hilt Testing
Use `HiltAndroidRule` to inject dependencies in tests.
```kotlin
@HiltAndroidTest
class MyDaoTest {
@get:Rule
var hiltRule = HiltAndroidRule(this)
@Inject
lateinit var database: MyDatabase
private lateinit var dao: MyDao
@Before
fun init() {
hiltRule.inject()
dao = database.myDao()
}
// ... tests
}
```
## Running Tests
* **Unit**: `./gradlew test`
* **Screenshots**: `./gradlew recordRoborazziDebug` (to record) / `./gradlew verifyRoborazziDebug` (to verify)Excerpt, first 2,923 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4bc96bf
git clone https://github.com/new-silvermoon/awesome-android-agent-skills git -C awesome-android-agent-skills checkout 4bc96bf96aac
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4bc96bf96aac only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4bc96bf96aac
Similar skills
All testing skills →obra/superpowers
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions…
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code
obra/superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
Questions about android-testing
What does the android-testing skill do?
Is android-testing safe to install?
What can android-testing access on my machine?
How current is this page?
Sources
- github.com/new-silvermoon/awesome-android-agent-skills/tree/main — the audited source at commit 4bc96bf96aac and every finding aboveObserved · 27 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the android-testing skill do?
- Is android-testing safe to install?
- What can android-testing access on my machine?