CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

android-testing

This guide defines Android-specific standards for unit, Compose UI, and Hilt-integrated tests, including state and ViewModel invariants, entity and repository contracts, and choosing an appropriate test layer. It recommends coroutine test utilities, fakes, accessibility-semantic checks, and meaningful negative assertions, while prohibiting brittle state-copy assertions, shallow mock echoes, real network use, and `Thread.sleep`.

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A lean, expert-aimed standards document: every line carries a project-specific rule or ban with named APIs, and detail code is properly offloaded to a real one-level reference. Weaknesses are minor — no inline executable snippets and two external cross-references that don't resolve within the bundle.

DimensionReasoningScore

Conciseness

The body is dense rule statements with zero padding: it assumes Claude knows Compose, Hilt, and Turbine, and every line adds a project-specific rule or ban (e.g., "ban asserting copies of 30-property state", "inject DispatcherProvider rather than reading Dispatchers.Main"). Nothing explains concepts Claude already knows, matching the lean anchor 5.

5 / 5

Actionability

Guidance names specific APIs and tools ("runTest with StandardTestDispatcher", "advanceUntilIdle() or Turbine", "createAndroidComposeRule + HiltAndroidRule", "@TestInstallIn fakes", "touch bounds ≥ 48dp") with concrete bans tied to rule IDs. It misses anchor 5 because the body itself contains no copy-paste-ready code — all executable examples live one hop away in references/implementation.md — while anchor 4's "concrete code or commands with minor gaps" fits the named-utility directives.

4 / 5

Workflow Clarity

Not a destructive or batch skill, so no validation cap applies. Layer selection ("Unit > Compose UI > UiAutomator"), per-layer scope/DI setup, and ordering rules ("advance virtual time ... before asserting") give a clear decision structure. It falls short of anchor 5 because no end-to-end sequence for writing a test (pick layer → set up DI/rules → write → assert) is laid out; guidance is organized by concern rather than as a workflow.

4 / 5

Progressive Disclosure

The ~45-line body is well-sectioned (anchors, guidelines, anti-patterns, references) with a real one-level-deep local reference ([Test Rules](references/implementation.md) — verified present and clearly signaled). Anchor 5 is missed because two cross-links (../../common/common-tdd/references/anti-slop-rules.md and ../../common/common-mobile-visual-testing/SKILL.md) point outside the bundle and do not resolve in the actual file structure, a minor navigation/organization gap.

4 / 5

Total

17

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete what, explicit when with tool-name triggers, and an explicit boundary clause that reduces conflict with related skills. The only weakness is that capability phrasing leans on one generic verb ("write ... tests") and omits a couple of natural trigger variations.

DimensionReasoningScore

Specificity

Phrases like "Write Android unit, Compose UI, and Hilt-integrated tests" and "designing test behavior with MockK or coroutine test utilities" name the domain plus several concrete actions and tools. It stops short of anchor 5 because the action verb is a single generic one ("write tests") applied across categories and coverage gaps exist (e.g., instrumentation/UiAutomator layers the body actually covers).

4 / 5

Completeness

It explicitly answers both: what ("Write Android unit, Compose UI, and Hilt-integrated tests") and when ("Use when designing test behavior with MockK or coroutine test utilities") with concrete trigger phrases. It also adds a boundary clause ("defer database/WorkManager-specific recipes to the owning feature skill"), matching or exceeding the anchor-5 example; anchor 4's caveat about a less-explicit 'when' does not apply.

5 / 5

Trigger Term Quality

Natural terms users would say are present: "Android unit", "Compose UI", "Hilt", "MockK", "coroutine test". A few common variations are missing (e.g., "instrumentation test", "Espresso", "test my Android app"), which keeps it below the comprehensive-synonym coverage of anchor 5 but clearly above anchor 3.

4 / 5

Distinctiveness Conflict Risk

The Android testing niche is distinct with tool-specific triggers (MockK, Hilt, Compose), and the explicit deference clause ("defer database/WorkManager-specific recipes to the owning feature skill") actively reduces overlap with sibling skills. Minimal conflict risk, matching anchor 5.

5 / 5

Total

18

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

relative_links

Relative link issues: 2 suspicious

Warning

Total

13

/

16

Passed

Repository

HoangNguyen0403/agent-skills-standard

Path

skills/android/android-testing/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.