Browse categories

Agent Skills library

All Agent Skills

64,414 skills

Submit a skill
MobileSkill

Applying Testing Strategies

skydoves/android-testing-skills

Use this skill to apply Android-team testing strategies — determinism, hermetic execution, Given-When-Then / Arrange-Act-Assert structure, naming conventions, and Hilt-based dependency replacement. Encodes which guidance actually lives on `/training/testing/fundamentals/strategies` (qualitative pyramid, network-access table) versus `/training/testing/instrumented-tests/stability` (determinism…

fundamentals/strategies/applying-testing-strategies/SKILL.md
TestingSkill

Choosing What To Test

skydoves/android-testing-skills

Use this skill to pick which behaviors to cover in an Android test suite using Google's five-category state vocabulary plus the explicit "what NOT to test" list from `/training/testing/fundamentals/what-to-test`. Covers state on screen, state held in…

fundamentals/concepts/choosing-what-to-test/SKILL.md
MobileSkill

Testing Animations Deterministically

skydoves/android-testing-skills

Use this skill to write non-flaky Compose animation tests by setting mainClock.autoAdvance = false and stepping frames by hand with advanceTimeByFrame and advanceTimeBy(durationMillis). Explains why InfiniteAnimationPolicy cancels indeterminate animations the moment the test starts unless autoAdvance…

compose/synchronization/testing-animations-deterministically/SKILL.md
MobileSkill

Synchronizing With Idle

skydoves/android-testing-skills

Use this skill to choose the right idle-synchronization primitive in Compose UI tests — waitForIdle, awaitIdle, waitUntil(conditionDescription, timeoutMillis, condition), waitUntilNodeCount, waitUntilExactlyOneExists, waitUntilAtLeastOneExists, waitUntilDoesNotExist, runOnIdle, runOnUiThread, runWhenIdle, awaitAndRunWhenIdle, hasPendingWork, and IdlingResource. Explains what "idle" means (no pending…

compose/synchronization/synchronizing-with-idle/SKILL.md
MobileSkill

Controlling The Test Clock

skydoves/android-testing-skills

Use this skill to drive the Compose test clock by hand with MainTestClock — currentTime, autoAdvance, advanceTimeByFrame, advanceTimeBy(milliseconds, ignoreFrameDuration), and advanceTimeUntil. Explains the 16 ms frame delay used by TestMonotonicFrameClock, the per-frame ordering where withFrameNanos awaiters…

compose/synchronization/controlling-the-test-clock/SKILL.md
MobileSkill

Setting Up Host Vs Device Tests

skydoves/android-testing-skills

Use this skill to choose between host (Robolectric/JVM) and device (instrumentation) tests for Jetpack Compose, and to configure each correctly. Covers the `androidHostTest` (a.k.a. `src/test/`) vs `androidDeviceTest` (a.k.a. `src/androidTest/`) source set split, what each flavor can…

compose/setup/setting-up-host-vs-device-tests/SKILL.md
MobileSkill

Configuring Test Dependencies

skydoves/android-testing-skills

Use this skill to wire the correct Gradle dependency matrix for Jetpack Compose UI tests. Covers `androidTestImplementation("androidx.compose.ui:ui-test-junit4")`, the `debugImplementation("androidx.compose.ui:ui-test-manifest")` requirement that makes `createComposeRule()` work, the host-test (Robolectric) trio, the accessibility add-ons (`ui-test-accessibility`, `ui-test-junit4-accessibility`), and the `TestManifestGradleConfiguration`…

compose/setup/configuring-test-dependencies/SKILL.md
MobileSkill

Choosing Test Rule Vs Runtest

skydoves/android-testing-skills

Use this skill to pick the correct Compose UI test entry point. Compares `createComposeRule()`, `createAndroidComposeRule()`, `createEmptyComposeRule()`, `runComposeUiTest { }`, and `runAndroidComposeUiTest { }`, plus the v1 vs v2 split (`UnconfinedTestDispatcher` vs `StandardTestDispatcher`). Encodes the rule that…

compose/setup/choosing-test-rule-vs-runtest/SKILL.md
MobileSkill

Capturing Preview Screenshots In Ci

skydoves/android-testing-skills

Use this skill to render every Jetpack Compose `@Preview` as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI. Covers the Compose HotSwan Gradle compiler plugin (`com.github.skydoves.compose.hotswan.compiler`) and…

compose/preview/capturing-preview-screenshots-in-ci/SKILL.md
MobileSkill

Testing Lazy Lists

skydoves/android-testing-skills

Use this skill to test `LazyColumn`, `LazyRow`, and `LazyVerticalGrid` correctly — tag the container with `Modifier.testTag(...)`, tag each item by its key, scroll via the semantic action (`hasScrollAction()`, `performScrollToIndex`, `performScrollToKey`) or via `Modifier.testTag` plus `performTouchInput {…

compose/patterns/testing-lazy-lists/SKILL.md
MobileSkill

Structuring A Compose Test

skydoves/android-testing-skills

Use this skill to structure a Jetpack Compose UI test class the way androidx itself writes them — `@MediumTest` + `@RunWith(AndroidJUnit4::class)`, a single `createComposeRule(StandardTestDispatcher())` rule, hoisted `mutableStateOf` declared above `setContent { }`, and the Test →…

compose/patterns/structuring-a-compose-test/SKILL.md
MobileSkill

Testing With Espresso Interop

skydoves/android-testing-skills

Use this skill to mix Compose finders and Espresso `onView` in the same test — for Android `Dialog` windows, IME (soft keyboard) state, `ComposeView` inside an Android View hierarchy, or focus interactions that cross the Compose/View…

compose/interop/testing-with-espresso-interop/SKILL.md
MobileSkill

Traversing The Semantics Tree

skydoves/android-testing-skills

Use this skill to navigate from one Compose semantics node to its relatives via `onParent`, `onChildren`, `onChild`, `onChildAt`, `onSibling`, `onSiblings`, `onAncestors`, plus the collection helpers `onFirst`, `onLast`, `filter`, `filterToOne`, and the `[index]` operator. Covers when to…

compose/finders/traversing-the-semantics-tree/SKILL.md
MobileSkill

Composing Semantics Matchers

skydoves/android-testing-skills

Use this skill to build precise Compose UI test queries by composing `SemanticsMatcher` predicates with `infix and`, `infix or`, and `operator not`, plus the prebuilt filter library (`hasText`, `hasClickAction`, `isEnabled`, `isOn`, `hasTestTag`, `hasContentDescription`, `hasParent`, `hasAnyAncestor`, `hasAnyChild`,…

compose/finders/composing-semantics-matchers/SKILL.md
MobileSkill

Printing The Semantics Tree

skydoves/android-testing-skills

Use this skill to diagnose "no node matched", "found N nodes", and "useUnmergedTree" failures by dumping the actual semantics tree with `printToLog(tag, maxDepth)` and `printToString(maxDepth)`. Covers the output grammar (`Node

compose/debug/printing-the-semantics-tree/SKILL.md
MobileSkill

Enabling Accessibility Checks

skydoves/android-testing-skills

Use this skill to enable Espresso's `AccessibilityValidator` against the Compose semantics tree via `enableAccessibilityChecks(...)` from `androidx.compose.ui:ui-test-accessibility` (for `ComposeUiTest`) or `androidx.compose.ui:ui-test-junit4-accessibility` (for `ComposeTestRule` / `AndroidComposeTestRule`). Covers the API surface, the auto-check after every UI-mutating action (`performMultiModalInput` is…

compose/debug/enabling-accessibility-checks/SKILL.md
TestingSkill

Auditing Compose Test Suite

skydoves/android-testing-skills

Use this skill to perform an end-to-end review of an existing Jetpack Compose UI test file or test suite. Sequences six audit phases (setup correctness, finder discipline, assertion strength, action correctness, time/idle correctness, debug output) and…

compose/audit/auditing-compose-test-suite/SKILL.md
MobileSkill

Asserting Node State And Text

skydoves/android-testing-skills

Use this skill to verify a Compose semantics node's properties from a UI test using `assertExists`, `assertDoesNotExist`, `assertIsDisplayed`, `assertIsNotDisplayed`, `assertIsDeactivated`, `assertIsEnabled`, `assertIsOn`, `assertIsOff`, `assertIsSelected`, `assertIsFocused`, `assertTextEquals`, `assertTextContains`, `assertContentDescriptionEquals`, `assertValueEquals`, `assertRangeInfoEquals`, `assertHasClickAction`, plus the generic `assert(matcher)` escape…

compose/assertions/asserting-node-state-and-text/SKILL.md
MobileSkill

Asserting Bounds And Dimensions

skydoves/android-testing-skills

Use this skill to verify Compose layout measurements from a UI test using `assertWidthIsEqualTo`, `assertHeightIsEqualTo`, `assertWidthIsAtLeast`, `assertHeightIsAtLeast`, `assertTouchWidthIsEqualTo`, `assertTouchHeightIsEqualTo`, `assertPositionInRootIsEqualTo`, `assertTopPositionInRootIsEqualTo`, `assertLeftPositionInRootIsEqualTo`, plus read helpers `getUnclippedBoundsInRoot`, `getBoundsInRoot`, `getAlignmentLinePosition`, `getFirstLinkBounds`, and the underlying `Dp.assertIsEqualTo(expected, subject, tolerance =…

compose/assertions/asserting-bounds-and-dimensions/SKILL.md
MobileSkill

Injecting Touch Gestures

skydoves/android-testing-skills

Use this skill to drive Jetpack Compose UI with synthetic touch events through performTouchInput and the TouchInjectionScope DSL — click, longClick, doubleClick, swipe, swipeUp / swipeDown / swipeLeft / swipeRight, swipeWithVelocity, pinch, multiTouchSwipe, plus the low-level…

compose/actions/injecting-touch-gestures/SKILL.md
MobileSkill

Injecting Mouse And Keyboard

skydoves/android-testing-skills

Use this skill to drive Jetpack Compose UI from tests with non-touch input — performMouseInput (click, rightClick, doubleClick, tripleClick, longClick, animateMoveTo, dragAndDrop, smoothScroll, enter / exit, press / release / scroll), performKeyInput (keyDown, keyUp, isKeyDown, modifier-state…

compose/actions/injecting-mouse-and-keyboard/SKILL.md
MobileSkill

Entering Text

skydoves/android-testing-skills

Use this skill to drive Jetpack Compose text fields from tests with the text-specific actions — performTextInput (insert at cursor via the InsertTextAtCursor semantics action), performTextReplacement (clear + replace via SetText), performTextClearance (replace with empty string),…

compose/actions/entering-text/SKILL.md
MobileSkill

Clicking And Scrolling

skydoves/android-testing-skills

Use this skill to drive Jetpack Compose UI from tests with the high-level action APIs that do not go through a gesture builder — performClick, performScrollTo, performScrollToIndex, performScrollToKey, performScrollToNode, requestFocus, performSemanticsAction, and performFirstLinkClick. Covers picking the…

compose/actions/clicking-and-scrolling/SKILL.md
MobileSkill

Extracting Test Artifacts

skydoves/android-testing-skills

Use this skill to move files between host and device with `adb pull` and `adb push`, including the modern `-z` (compression), `-Z` (no compression), `--sync`, and `-a` (preserve attrs) flags. Covers the path-permission rules — `/data/local/tmp/`…

adb/transfer/extracting-test-artifacts/SKILL.md