Skip to content

Focused Android unit test strategy for reducers, use cases, repositories, and lifecycle-safe state holders with handoffs.

CCM score
32 of 100
skills.sh installs
348
GitHub stars
14
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scoping risk, choosing the narrowest verification strategy, and instrumenting workflows so failures are actionable
  • Includes example Gradle commands for :app:testDebugUnitTest across the orbittasks-compose and orbittasks-xml fixture apps
  • Guardrails require reproducible CI checks, precise remediation paths, and keeping signing material out of fixtures
  • Designed for Android teams handing UI state testing off to android-testing-ui and android-ui-states-validation

Install

$ npx -y skills add krutikjain/android-agent-skills --skill android-testing-unit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Android Testing Unit

When To Use

  • Use this skill when the request is about: android unit test strategy, test viewmodel reducer android, repository unit tests android.
  • Primary outcome: Write fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders.
  • Handoff skills when the scope expands:
  • android-testing-ui
  • android-ui-states-validation

Workflow

  1. Scope the risk surface: correctness, security, performance, test depth, or release automation.
  2. Pick the narrowest verification strategy that still catches the likely regressions.
  3. Instrument the workflow so failures are actionable rather than just red.
  4. Run the relevant checks on the showcase apps and packaging outputs.
  5. Capture any residual risk with explicit follow-up work and owner skills.

Guardrails

  • Prefer reproducible checks in CI over one-off local heroics.
  • Fail with a precise remediation path instead of a vague quality gate.
  • Keep secrets, signing material, and production credentials out of examples and fixtures.
  • Treat performance and security work as engineering tasks with evidence, not folklore.

Details

Repository
github.com/krutikjain/android-agent-skills
Categories
Testing & QA, Mobile Apps
First seen
Jun 3, 2026

Questions

What does the android-testing-unit skill do?

It writes fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders. It favors reproducible checks that run in CI and fail with a precise remediation path.

How do I install the android-testing-unit skill?

Run npx -y skills add krutikjain/android-agent-skills --skill android-testing-unit -y in a project. After that, the agent can write unit tests for Android reducers, use cases and repositories.

Which skills lead the Testing & QA category, and where does this skill stand?

android-testing-unit is in the Testing & QA category alongside tdd, migrate-to-shoehorn, test-driven-development, webapp-testing and break-ui. It sets itself apart by targeting Android local unit tests for reducers, use cases, repositories and state holders.

When should I use android-testing-unit instead of a UI testing skill?

Use it for requests about Android unit test strategy, testing a ViewModel or reducer, repository unit tests, and mocking coroutine dependencies. When the scope expands into UI testing, the skill hands off to android-testing-ui and android-ui-states-validation.

More from krutikjain/android-agent-skills

All 2

Similar to Android Testing Unit

More Testing & QA