Compose Multiplatform Patterns
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
A skill your agent uses to drive the Compose test clock by hand with MainTestClock — currentTime, autoAdvance, advanceTimeByFrame, advanceTimeBy(milliseconds, ignoreFrameDuration), and…
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clock --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .claude/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .claude/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clockType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clock --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .agents/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .agents/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clock --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .cursor/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .cursor/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/skydoves/android-testing-skills.git --path compose/synchronization/controlling-the-test-clock--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clock --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .gemini/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .gemini/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clockInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .github/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .github/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install skydoves/android-testing-skills controlling-the-test-clock --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/skydoves/android-testing-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/compose/synchronization/controlling-the-test-clock .opencode/skills/controlling-the-test-clock && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "controlling-the-test-clock" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/compose/synchronization/controlling-the-test-clock into .opencode/skills/controlling-the-test-clock/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "controlling-the-test-clock", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
controlling-the-test-clockA skill your agent uses to drive the Compose test clock by hand with MainTestClock — currentTime, autoAdvance, advanceTimeByFrame, advanceTimeBy(milliseconds, ignoreFrameDuration), and…
Controlling The Test Clock is an agent skill from 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 resume before recomposition, and how the recomposer and MainTestClock share one TestCoroutineScheduler. Covers v1 versus v2 entry-point dispatcher differences (UnconfinedTestDispatcher vs…
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile. It works with Jetpack Compose. The repository describes itself as: ⚡️ A set of skills for Android testing: Compose UI, AndroidX Test, JVM unit tests, and ADB. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8665ed5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
developer.android.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Controlling The Test Clock loads about 4.1k tokens when it runs. Until then it costs about 224 tokens; SKILL.md has 1,252 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from skydoves/android-testing-skills at commit 8665ed5, republished under its Apache-2.0 licence (© skydoves). 1,252 words, ~4,115 tokens.
.claude/skills/controlling-the-test-clock/SKILL.md (or your agent's skills folder).MainTestClock is the only knob that drives recomposition, animations, and LaunchedEffects in a Compose test. This skill explains its surface, the 16 ms frame model behind it, and how autoAdvance flips the test from "framework drives the clock" to "the test drives the clock". The animation recipe and the idle/wait recipe live in sibling skills — this one establishes the mechanics they both depend on.
mainClock.advanceTimeBy(...) actually does, why it rounds up, or why the animation seems off by one frame.androidx.compose.ui.test.junit4.createComposeRule (v1) to androidx.compose.ui.test.junit4.v2.createComposeRule (v2) and tests now require an explicit mainClock.runCurrent() or advanceTimeBy(0).MainTestClock, TestCoroutineScheduler, TestMonotonicFrameClock, ComposeTimeoutException, advanceTimeUntil, or "test clock vs wall clock".advanceTimeBy(5) produces zero, one, or many frames.playTime is still 0 after one frame.autoAdvance = false recipe). Use ../testing-animations-deterministically/SKILL.md.IdlingResources, async work, or "the UI is settled". Use ../synchronizing-with-idle/SKILL.md.setContent, JUnit lifecycle). Use ../../patterns/structuring-a-compose-test/SKILL.md.createComposeRule and runComposeUiTest. Use ../../setup/choosing-test-rule-vs-runtest/SKILL.md.androidx.compose.ui:ui-test and androidx.compose.ui:ui-test-junit4 (or the JUnit-less runComposeUiTest) on the test source set.ComposeContentTestRule from createComposeRule() or a ComposeUiTest receiver from runComposeUiTest { … }.androidx.compose.ui.test.junit4.v2.createComposeRule, androidx.compose.ui.test.v2.runComposeUiTest). The v1 forms are @Deprecated(level = WARNING) (skydoves hot take #6).MainTestClock is not a MonotonicFrameClock — it is an interface whose advance methods drive a kotlinx.coroutines.test.TestCoroutineScheduler. The recomposer reads frames from a TestMonotonicFrameClock whose withFrameNanos is implemented by delay(frameDelayMillis) against the same scheduler (TestMonotonicFrameClock.jvmAndAndroid.kt:105-117). Advancing the scheduler causes the delay to fire, which causes a frame to be produced, which runs onPerformTraversals and triggers measure+layout on each compose root.
MainTestClock.advanceTimeBy(ms)
│
▼ AbstractMainTestClock.advanceScheduler
TestCoroutineScheduler.advanceTimeBy(ms) → runCurrent()
│
▼ delay(frameDelayMillis) inside TestMonotonicFrameClock fires
performFrame() ── awaiters (withFrameNanos) resume FIRST
│ ── then onPerformTraversals → recomposition → measure/layout
▼
Recomposer applies snapshot writesThis is why autoAdvance = false is enough to freeze the entire UI: nothing else ticks the scheduler unless an explicit mainClock.advance* call is made (MainTestClock.kt:43-48 KDoc).
Every entry comes from compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/MainTestClock.kt.
| Member | Behavior |
|---|---|
currentTime: Long | Test clock time in milliseconds. NOT wall clock. Reads scheduler.currentTime (AbstractMainTestClock.kt:35-36). |
scheduler: TestCoroutineScheduler | The scheduler the recomposer and clock share. Useful for runCurrent() from outside (MainTestClock.kt:84-99). |
autoAdvance: Boolean | Default true. When true, framework auto-advances the clock during waitForIdle/waitUntil. When false, only explicit advanceTime* calls move the clock (MainTestClock.kt:101-115). |
advanceTimeByFrame() | Advances by exactly one frame (16 ms on Android/Desktop). Implemented as advanceScheduler(frameDelayMillis) (AbstractMainTestClock.kt:40-42). |
advanceTimeBy(milliseconds, ignoreFrameDuration = false) | Rounds up to the nearest multiple of frame duration unless ignoreFrameDuration = true (AbstractMainTestClock.kt:44-52, MainTestClock.kt:120-145). |
advanceTimeUntil(timeoutMillis = 1_000, condition) | Advances frame-by-frame until condition() is true. Timeout is test clock. Throws ComposeTimeoutException (MainTestClock.kt:147-167, AbstractMainTestClock.kt:54-72). |
runCurrent() is exposed on AbstractMainTestClock (AbstractMainTestClock.kt:96-98) — it executes all tasks due at the current time without advancing the clock. Reach for it after toggling state in v2 if a queued task must run before the next assertion.
DefaultFrameDelay = 16_000_000L ns = 16 ms (TestMonotonicFrameClock.jvmAndAndroid.kt:33).performFrame:withFrameNanos awaiters resume with the new frame time. Animations live here.onPerformTraversals runs — composition + measure + layout.Quoted from MainTestClock.kt:49-60:
If there is both a pending recomposition and an animation awaiting a frame time, ticking this clock will first send the new frame time to the animation, and then perform recomposition. … Because animations receive their frame time before recomposition, an animation will not get its start time in the first frame after kicking it off by toggling a state variable.
That last sentence is the reason every animation test does an extra advanceTimeByFrame() immediately after setContent to "kick off" the animation: the toggle frame schedules the animation; the next frame initializes its play time to 0 (skydoves hot take #3).
currentTime only as a witness, never as a synchronization mechanism// RIGHT — assert the clock advanced as much as the test asked
val before = rule.mainClock.currentTime
rule.mainClock.advanceTimeBy(durationMillis = 320)
assertEquals(320, rule.mainClock.currentTime - before)// WRONG
while (rule.mainClock.currentTime < target) { /* spin */ }
// WRONG because: nothing in this loop drives the scheduler. The loop runs forever.| Goal | Call |
|---|---|
| "Run exactly one frame." | mainClock.advanceTimeByFrame() |
| "Run N frames." | mainClock.advanceTimeBy(N * 16L) |
| "Run a known animation duration." | mainClock.advanceTimeBy(durationMillis = 300) (rounded up to next 16 ms boundary) |
| "Step time without producing a new frame." | mainClock.advanceTimeBy(milliseconds = 8, ignoreFrameDuration = true) |
| "Wait until a Compose state condition becomes true." | mainClock.advanceTimeUntil(timeoutMillis = 5_000) { state.value == … } |
The v2 createComposeRule uses a StandardTestDispatcher for composition; tasks are queued, not executed immediately. If autoAdvance = false, neither waitForIdle nor a node query will drain those tasks. The fix is mainClock.runCurrent() or mainClock.advanceTimeBy(0):
rule.mainClock.autoAdvance = false
rule.runOnUiThread { uiState = newValue }
// Under v2, the snapshot write is queued. Drain it before asserting.
rule.mainClock.advanceTimeByFrame()
rule.onNodeWithTag("status").assertTextEquals("Updated")AbstractMainTestClock.advanceTimeUntil already calls scheduler.runCurrent() first when isStandardTestDispatcherSupportEnabled is true (AbstractMainTestClock.kt:59-61).
ComposeTimeoutException as a verdict on the condition, not on the clockadvanceTimeUntil throws ComposeTimeoutException("Condition still not satisfied after $timeoutMillis ms") when the test clock advances past timeoutMillis without condition() returning true (AbstractMainTestClock.kt:65-68). The exception means the condition will never be satisfied by clock-driven work — typically a missing snapshot write, a LaunchedEffect that never starts, or a state read on the wrong thread.
// WRONG
rule.mainClock.advanceTimeBy(milliseconds = 5)
// expectation: "1 frame ran"
// WRONG because: the framework rounds 5 ms UP to the next 16 ms multiple — i.e. 16 ms.
// One frame did run, but the developer is reading the API as if it could advance by 5 ms.
// Use ignoreFrameDuration = true if sub-frame stepping is genuinely required.// RIGHT
rule.mainClock.advanceTimeByFrame() // exactly 16 ms, exactly one frame
// or
rule.mainClock.advanceTimeBy(milliseconds = 5, ignoreFrameDuration = true) // 5 ms, 0 frames// WRONG
rule.mainClock.autoAdvance = false
rule.setContent { Crossfade(showFirst) { /* … */ } }
rule.mainClock.advanceTimeBy(300) // expect animation finished
rule.onNodeWithText("Second").assertExists()
// WRONG because: the toggle frame only schedules the animation; the animation's playTime is 0
// going into the next frame. The first 16 ms of the 300 are eaten by setup.// RIGHT — see CrossfadeTest.kt:70-93
rule.mainClock.autoAdvance = false
rule.setContent { Crossfade(showFirst) { /* … */ } }
rule.mainClock.advanceTimeByFrame() // kick off
rule.mainClock.advanceTimeBy(durationMillis = 300) // step
rule.onNodeWithText("Second").assertExists()// WRONG (v2)
val rule = androidx.compose.ui.test.junit4.v2.createComposeRule()
@Test fun foo() {
var counter by mutableStateOf(0)
rule.setContent { Text(counter.toString()) }
rule.runOnUiThread { counter = 1 }
rule.onNodeWithText("1").assertExists()
// WRONG because: with StandardTestDispatcher, the snapshot apply is queued.
// No frame has been produced. The composition still reads `0`.
}// RIGHT (v2)
@Test fun foo() {
var counter by mutableStateOf(0)
rule.setContent { Text(counter.toString()) }
rule.runOnUiThread { counter = 1 }
rule.mainClock.advanceTimeByFrame()
rule.onNodeWithText("1").assertExists()
}advanceTimeUntil saves wall time// LESS PREFERRED — wall clock
rule.waitUntil(timeoutMillis = 5_000) { state.value == Phase.Done }// PREFERRED — test clock; framework iterates frame-by-frame and the timeout is in
// test clock time (no real wall-clock burn between iterations).
rule.mainClock.advanceTimeUntil(timeoutMillis = 5_000) { state.value == Phase.Done }Both variants advance the test clock when autoAdvance == true: waitUntil calls mainClock.advanceTimeByFrame() AND Thread.sleep(10) per iteration (ComposeUiTest.android.kt:899-902); advanceTimeUntil only advances the test clock by frames (AbstractMainTestClock.kt:54-72). The difference is the timeout source — wall vs test — and the absence of Thread.sleep overhead in the test-clock variant.
MainTestClock.currentTime as test clock time only. Comparing it to System.currentTimeMillis() is meaningless.advanceTimeByFrame() (not advanceTimeBy(16)) when the intent is "exactly one frame." It documents intent and avoids reasoning about rounding.advanceTimeBy(milliseconds = N) rounds up to the next multiple of frameDelayMillis (16 ms on Android/Desktop). Pass ignoreFrameDuration = true to suppress rounding (AbstractMainTestClock.kt:44-52).advanceTimeByFrame() (or advanceTimeBy(0) / runCurrent()) after toggling state under v2 (StandardTestDispatcher) before reading the resulting UI state. v1's UnconfinedTestDispatcher dispatches eagerly and does not need this; v2 does (skydoves hot take #6).advanceTimeUntil for conditions outside Compose's snapshot system (e.g. a Job.isCompleted, an OkHttp callback). Those conditions will never become true by ticking the test clock — waitUntil (wall clock) or an IdlingResource is the right tool. See ../synchronizing-with-idle/SKILL.md.MainTestClock with MonotonicFrameClock. They are different types. MainTestClock exposes the scheduler that drives the TestMonotonicFrameClock the recomposer uses.kotlinx.coroutines.test.runTest semantics. The v1 createComposeRule / runComposeUiTest forms are deprecated WARNING.advanceTimeUntil over waitUntil whenever the awaited condition is observable through Compose state. Test clock is faster and deterministic; wall clock sleeps 10 ms per iteration.advanceTimeByFrame() for "one frame" and advanceTimeBy(...) only when the duration is meaningful.advanceTimeBy(milliseconds = X) where X < 16 exists without a comment explaining the intent or an ignoreFrameDuration = true flag.mainClock.advanceTimeByFrame() / advanceTimeBy(0) / runCurrent() or relies on runOnIdle { … } to drain queued tasks.advanceTimeUntil sites read Compose state only — no Job.isCompleted, no external counters.ComposeTimeoutException from a clock test is treated as a missing snapshot write or wrong-thread state read, not a "raise the timeout" event.compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/MainTestClock.kt — the public interface and ComposeTimeoutException.compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/AbstractMainTestClock.kt — the rounding rule, runCurrent, advanceScheduler.compose/ui/ui-test/src/jvmAndAndroidMain/kotlin/androidx/compose/ui/test/TestMonotonicFrameClock.jvmAndAndroid.kt — DefaultFrameDelay = 16_000_000L, the delay-based frame loop.compose/ui/ui-test/src/androidMain/kotlin/androidx/compose/ui/test/MainTestClockImpl.android.kt — the Android actual.compose/ui/ui-test/src/androidMain/kotlin/androidx/compose/ui/test/ComposeUiTest.android.kt — waitUntil's 10 ms wall-clock sleep at line 885-905.../testing-animations-deterministically/SKILL.md — the full autoAdvance = false recipe.../synchronizing-with-idle/SKILL.md — choosing between waitForIdle, waitUntil, and advanceTimeUntil.© skydoves, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in compose/synchronization/controlling-the-test-clock of skydoves/android-testing-skills.
Open the folder on GitHubat commit 8665ed5
Controlling The Test Clock next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Controlling The Test Clock this skillskydoves/android-testing-skills | 333 | — | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Stylesarindamxd/camerax-android | 132 | 4 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Compose UIMoustachauve/WLED-Android | 169 | 3 repos | ~676 | Automated safety check: Pass | Apache-2.0 | |
| Compose Animationschrisbanes/skills | 1.1k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Edge To Edgearindamxd/camerax-android | 132 | 5 repos | ~3.6k | Automated safety check: Pass | Apache-2.0 |
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
arindamxd/camerax-android
A skill your agent uses to integrate the Jetpack Compose Styles API into an Android project.
Moustachauve/WLED-Android
Best practices for building UI with Jetpack Compose, focusing on state hoisting, detailed performance optimizations, and theming.
chrisbanes/skills
A skill your agent uses when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one…
arindamxd/camerax-android
A skill your agent uses to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues.
chrisbanes/skills
A skill your agent uses when writing or reviewing Jetpack Compose UI tests, screenshot tests or baseline-recording evidence, previews, semantics assertions, fake image loading, keyboard input, focus…
skydoves/android-testing-skills
A skill your agent uses to verify Compose layout measurements from a UI test using assertWidthIsEqualTo, assertHeightIsEqualTo, assertWidthIsAtLeast, assertHeightIsAtLeast…
skydoves/android-testing-skills
A skill your agent uses to verify a Compose semantics node's properties from a UI test using assertExists, assertDoesNotExist, assertIsDisplayed, assertIsNotDisplayed, assertIsDeactivated…
skydoves/android-testing-skills
A skill your agent uses to render every Jetpack Compose @Preview as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI.
skydoves/android-testing-skills
A skill your agent uses to capture visual artefacts from a device for test failures, golden image generation, QA repro, and demo videos.
skydoves/android-testing-skills
A skill your agent uses to pick the correct Compose UI test entry point.
skydoves/android-testing-skills
A skill your agent uses 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…
Works with
Categories
A skill your agent uses to drive the Compose test clock by hand with MainTestClock — currentTime, autoAdvance, advanceTimeByFrame, advanceTimeBy(milliseconds, ignoreFrameDuration), and…. Controlling The Test Clock is an agent skill from 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.
Controlling The Test Clock fits situations like: drive the Compose test clock by hand with MainTestClock — currentTime; advanceTimeByFrame; advanceTimeBy(milliseconds; ignoreFrameDuration).
Run `npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a claude-code`. Or copy the skill folder (compose/synchronization/controlling-the-test-clock in skydoves/android-testing-skills) into .claude/skills/controlling-the-test-clock in your project. Claude Code loads it when a task matches its description.
Run `npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a codex`. Or copy the skill folder (compose/synchronization/controlling-the-test-clock in skydoves/android-testing-skills) into .agents/skills/controlling-the-test-clock in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add skydoves/android-testing-skills --skill controlling-the-test-clock -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/controlling-the-test-clock, .gemini/skills/controlling-the-test-clock, .github/skills/controlling-the-test-clock and .opencode/skills/controlling-the-test-clock in your project.
SKILL.md names no scripts, command-line tools or credentials: Controlling The Test Clock is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: developer.android.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Controlling The Test Clock is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Controlling The Test Clock: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Styles (arindamxd/camerax-android, 132 stars), Compose UI (Moustachauve/WLED-Android, 169 stars) and Compose Animations (chrisbanes/skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
skydoves (a GitHub user) maintains it in skydoves/android-testing-skills, which has 333 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on May 25, 2026.
Source: skydoves/android-testing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.