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 test a Fragment in isolation using FragmentScenario, launchFragmentInContainer<F(), and launchFragment<F().
$ npx skills add skydoves/android-testing-skills --skill launching-fragments-with-fragmentscenario -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install skydoves/android-testing-skills launching-fragments-with-fragmentscenario --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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .claude/skills/launching-fragments-with-fragmentscenario && 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 "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .claude/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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/instrumentation/scenarios/launching-fragments-with-fragmentscenarioType 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 launching-fragments-with-fragmentscenario -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install skydoves/android-testing-skills launching-fragments-with-fragmentscenario --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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .agents/skills/launching-fragments-with-fragmentscenario && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .agents/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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 launching-fragments-with-fragmentscenario -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install skydoves/android-testing-skills launching-fragments-with-fragmentscenario --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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .cursor/skills/launching-fragments-with-fragmentscenario && 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 "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .cursor/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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 instrumentation/scenarios/launching-fragments-with-fragmentscenario--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 launching-fragments-with-fragmentscenario -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install skydoves/android-testing-skills launching-fragments-with-fragmentscenario --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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .gemini/skills/launching-fragments-with-fragmentscenario && 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 "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .gemini/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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 launching-fragments-with-fragmentscenarioInstalls 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 launching-fragments-with-fragmentscenario -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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .github/skills/launching-fragments-with-fragmentscenario && 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 "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .github/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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 launching-fragments-with-fragmentscenario -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 launching-fragments-with-fragmentscenario --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/instrumentation/scenarios/launching-fragments-with-fragmentscenario .opencode/skills/launching-fragments-with-fragmentscenario && 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 "launching-fragments-with-fragmentscenario" agent skill from https://github.com/skydoves/android-testing-skills/tree/main/instrumentation/scenarios/launching-fragments-with-fragmentscenario into .opencode/skills/launching-fragments-with-fragmentscenario/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "launching-fragments-with-fragmentscenario", 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.
launching-fragments-with-fragmentscenarioA skill your agent uses to test a Fragment in isolation using FragmentScenario, launchFragmentInContainer<F(), and launchFragment<F().
Launching Fragments With Fragmentscenario is an agent skill from skydoves/android-testing-skills. Use this skill to test a Fragment in isolation using FragmentScenario, launchFragmentInContainer<F(), and launchFragment<F(). Covers the androidx.fragment:fragment-testing + androidx.fragment:fragment-testing-manifest artifact split, the EmptyFragmentActivity host (android:Theme.WithActionBar parent — not AppCompat), the themeResId override, the FragmentFactory survival across recreate() via the ViewModelStore-backed holder, the containerViewId = android.R.id.content vs 0 distinction (in-container vs headless)…
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 Android. 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.
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.
Launching Fragments With Fragmentscenario loads about 4.1k tokens when it runs. Until then it costs about 228 tokens; SKILL.md has 935 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). 935 words, ~4,096 tokens.
.claude/skills/launching-fragments-with-fragmentscenario/SKILL.md (or your agent's skills folder).FragmentScenario hosts a single fragment inside an internal EmptyFragmentActivity so the fragment's onCreate / onViewCreated / lifecycle can be exercised without a real screen. Two entry points exist: launchFragmentInContainer<F>() adds the fragment to android.R.id.content (full lifecycle including view), and launchFragment<F>() attaches it with no container (headless). The default theme extends android:Theme.WithActionBar, NOT AppCompat — overriding via themeResId is required for any AppCompat widget. This skill encodes the two artifacts, the theme trap, and the navigation limitation.
IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library and the fragment uses AppCompat / Material widgets.findNavController() and crashes with Fragment ... does not have a NavController set.STARTED / RESUMED / DESTROYED) on a fragment for state-change testing.FragmentFactory for a fragment that doesn't have a no-arg constructor.onViewCreated doesn't fire.../launching-activities-with-activityscenario/SKILL.md.NavHostFragment) — FragmentScenario does not provide one; use a custom test host activity that wires up NavHostFragment instead, or TestNavHostController.../../runner/running-instrumented-tests-with-androidjunit4/SKILL.md.../../../compose/setup/configuring-test-dependencies/SKILL.md.androidTestImplementation("androidx.fragment:fragment-testing:1.8.x") — the API: FragmentScenario, launchFragmentInContainer, launchFragment, withFragment.debugImplementation("androidx.fragment:fragment-testing-manifest:1.8.x") — the manifest entry that declares EmptyFragmentActivity. Android M+ requires this artifact be on debugImplementation (or testImplementation for host tests) so the manifest merger picks up EmptyFragmentActivity.../../runner/running-instrumented-tests-with-androidjunit4/SKILL.md.dependencies {
androidTestImplementation("androidx.fragment:fragment-testing:1.8.5")
debugImplementation("androidx.fragment:fragment-testing-manifest:1.8.5")
}fragment-testing ships the API; fragment-testing-manifest ships only the <activity android:name="androidx.fragment.app.testing.EmptyFragmentActivity"> manifest entry plus the default theme. Without the manifest artifact, launchFragmentInContainer / launchFragment crash with ActivityNotFoundException: EmptyFragmentActivity. From tasks/research/R2-scenario.md lines 568-619.
import androidx.fragment.app.testing.launchFragment
import androidx.fragment.app.testing.launchFragmentInContainer
// In-container — adds at android.R.id.content; full lifecycle including onCreateView/onViewCreated
val s1: FragmentScenario<MyFragment> = launchFragmentInContainer<MyFragment>()
// Headless — containerViewId = 0; onCreateView still runs but the view is not attached to a window
val s2: FragmentScenario<MyHeadlessFragment> = launchFragment<MyHeadlessFragment>()launchFragmentInContainer uses containerViewId = android.R.id.content (isViewAttachedToWindow == true). launchFragment uses containerViewId = 0 (headless; isViewAttachedToWindow == false). Source: R2 lines 263-389, 683-684.
fragmentArgs for fragments that read requireArguments().val args = bundleOf("user_id" to 42, "from_deep_link" to true)
val scenario = launchFragmentInContainer<UserDetailFragment>(fragmentArgs = args)themeResId to an AppCompat theme. The default theme FragmentScenarioEmptyFragmentActivityTheme extends android:Theme.WithActionBar (the platform Holo theme), NOT Theme.AppCompat. AppCompat widgets crash at inflation with You need to use a Theme.AppCompat theme (or descendant) with the design library. From R2 lines 466-501:val scenario = launchFragmentInContainer<MyAppCompatFragment>(
themeResId = R.style.Theme_MyApp, // any AppCompat / Material theme
)EmptyFragmentActivity.setTheme is called BEFORE super.onCreate, so the override applies before any fragment view inflation runs (R2 lines 490-501).
FragmentFactory for non-default-constructor fragments. Both launchers accept a factory: FragmentFactory? parameter (R2 lines 263-323). The factory is stored in a FragmentFactoryHolderViewModel keyed off the EmptyFragmentActivity's ViewModelStore, which means it survives recreate():class MyFragment(private val repo: UserRepository) : Fragment() { /* ... */ }
val factory = object : FragmentFactory() {
override fun instantiate(classLoader: ClassLoader, className: String): Fragment {
return when (loadFragmentClass(classLoader, className)) {
MyFragment::class.java -> MyFragment(FakeUserRepository())
else -> super.instantiate(classLoader, className)
}
}
}
val scenario = launchFragmentInContainer<MyFragment>(factory = factory)Or use the no-factory inline overload that accepts a single-instance trailing lambda:
val scenario = launchFragmentInContainer { MyFragment(FakeUserRepository()) }moveToState and inspect with onFragment. Same semantics as ActivityScenario:import androidx.lifecycle.Lifecycle
scenario.moveToState(Lifecycle.State.STARTED) // pause
scenario.onFragment { fragment -> // UI thread
assertThat(fragment.someState).isEqualTo("ready")
}
scenario.recreate() // configuration-change emulation
scenario.moveToState(Lifecycle.State.DESTROYED) // terminalinitialState = Lifecycle.State.DESTROYED is rejected with IllegalArgumentException: Cannot set initial Lifecycle state to DESTROYED for FragmentScenario — the require(...) at fragment-testing/src/main/.../FragmentScenario.kt:496-498 (R2 lines 699-718). Launch with CREATED and then moveToState(DESTROYED) instead.
withFragment { } instead of holder fields. withFragment is the suspending/return-value variant of onFragment that propagates exceptions and return values cleanly (R2 lines 670-680):val viewLifecycleOwner = scenario.withFragment { viewLifecycleOwner }
val isAdded = scenario.withFragment { isAdded }findNavController() limitation. EmptyFragmentActivity does NOT install a NavHostFragment. findNavController() from a hosted fragment throws IllegalStateException: Fragment ... does not have a NavController set (R2 lines 852-874). Workarounds:// Option A: TestNavHostController on the fragment view before onStart
launchFragmentInContainer {
MyFragment().also { fragment ->
fragment.viewLifecycleOwnerLiveData.observeForever { vlo ->
if (vlo != null) {
val testNav = TestNavHostController(ApplicationProvider.getApplicationContext())
testNav.setGraph(R.navigation.my_graph)
Navigation.setViewNavController(fragment.requireView(), testNav)
}
}
}
}
// Option B: write a custom test host Activity that hosts NavHostFragment, declared in
// src/androidTest/AndroidManifest.xml, and use ActivityScenarioRule on it instead.FragmentScenario is Closeable:launchFragmentInContainer<MyFragment>().use { scenario ->
scenario.onFragment { /* ... */ }
}close() drives the Activity to DESTROYED. Calling onFragment after DESTROYED throws IllegalStateException: The fragment has been removed from the FragmentManager already. (FragmentScenario.kt:308-310, R2 lines 815-821).
// WRONG
val scenario = launchFragmentInContainer<LoginFragment>()
// The default FragmentScenarioEmptyFragmentActivityTheme extends android:Theme.WithActionBar,
// which is the platform Holo theme. Inflating any AppCompat / Material widget crashes:
// IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library// RIGHT
val scenario = launchFragmentInContainer<LoginFragment>(
themeResId = R.style.Theme_MyApp, // an AppCompat (or Material) theme
)fragment-testing-manifest on the wrong configuration// WRONG
dependencies {
androidTestImplementation("androidx.fragment:fragment-testing:1.8.5")
androidTestImplementation("androidx.fragment:fragment-testing-manifest:1.8.5")
}
// WRONG because: the manifest artifact must be on debugImplementation (or testImplementation
// for host tests) so the EmptyFragmentActivity declaration is merged into the test APK
// manifest. On androidTestImplementation it isn't merged; launchFragmentInContainer crashes
// with ActivityNotFoundException for EmptyFragmentActivity.// RIGHT
dependencies {
androidTestImplementation("androidx.fragment:fragment-testing:1.8.5")
debugImplementation("androidx.fragment:fragment-testing-manifest:1.8.5")
}initialState = DESTROYED// WRONG
launchFragmentInContainer<MyFragment>(initialState = Lifecycle.State.DESTROYED)
// WRONG because: FragmentScenario.kt:496-498 rejects DESTROYED with
// IllegalArgumentException: Cannot set initial Lifecycle state to DESTROYED for FragmentScenario// RIGHT
val scenario = launchFragmentInContainer<MyFragment>(initialState = Lifecycle.State.CREATED)
scenario.moveToState(Lifecycle.State.DESTROYED) // moveToState DOES allow DESTROYED (terminal)findNavController() from a FragmentScenario-hosted fragment// WRONG
launchFragmentInContainer<MyFragment>().onFragment { fragment ->
fragment.findNavController().navigate(R.id.action_to_detail)
}
// WRONG because: EmptyFragmentActivity has no NavHostFragment; the lookup throws
// IllegalStateException: Fragment ... does not have a NavController set// RIGHT
launchFragmentInContainer {
MyFragment().also { fragment ->
fragment.viewLifecycleOwnerLiveData.observeForever { vlo ->
if (vlo != null) {
val nav = TestNavHostController(ApplicationProvider.getApplicationContext())
nav.setGraph(R.navigation.my_graph)
Navigation.setViewNavController(fragment.requireView(), nav)
}
}
}
}androidx.fragment:fragment-testing-manifest on debugImplementation (instrumentation) or testImplementation (host). On androidTestImplementation the manifest entry is not merged.themeResId for any fragment that uses AppCompat / Material widgets. The default theme is the platform Holo theme.findNavController() from a fragment hosted by EmptyFragmentActivity without first setting a TestNavHostController on its view.initialState = Lifecycle.State.DESTROYED — it is rejected with IllegalArgumentException at FragmentScenario.kt:496-498.onFragment / withFragment after moveToState(DESTROYED) or close() — throws IllegalStateException.launchFragmentInContainer / launchFragment / moveToState from the main thread — they await(...) an instrumentation barrier and deadlock from the UI thread (same constraint as ActivityScenario; see ../launching-activities-with-activityscenario/SKILL.md).launchFragmentInContainer { MyFragment(FakeRepo()) } over a hand-rolled FragmentFactory for the common single-fragment case.use { } so close() runs on test failure too.grep -r "fragment-testing-manifest" build.gradle* shows it on debugImplementation (or testImplementation), never androidTestImplementation.launchFragmentInContainer<F>() for an AppCompat/Material fragment without an explicit themeResId =.initialState = Lifecycle.State.DESTROYED to a launcher.findNavController() install a TestNavHostController before moveToState(STARTED)../gradlew :<module>:connectedDebugAndroidTest runs without ActivityNotFoundException: EmptyFragmentActivity or You need to use a Theme.AppCompat theme.onFragment { } / withFragment { } blocks.fragment/fragment-testing/src/main/java/androidx/fragment/app/testing/FragmentScenario.kt — full implementation; lines 263-323 (launchFragmentInContainer), 325-389 (launchFragment), 393-462 (moveToState / recreate / onFragment), 496-498 (DESTROYED rejection), 504-508 (intent + theme extras).fragment/fragment-testing-manifest/src/main/java/androidx/fragment/app/testing/EmptyFragmentActivity.kt lines 28-55 — host activity that reads the theme out of the intent BEFORE super.onCreate.fragment/fragment-testing-manifest/src/main/AndroidManifest.xml lines 568-580 — <activity android:name="androidx.fragment.app.testing.EmptyFragmentActivity" android:theme="@style/FragmentScenarioEmptyFragmentActivityTheme" android:exported="true" />.fragment/fragment-testing-manifest/src/main/res/values/styles.xml line 469 — <style name="FragmentScenarioEmptyFragmentActivityTheme" parent="android:Theme.WithActionBar">.tasks/research/R2-scenario.md — full FragmentScenario report. Lines 247-389 (API surface), 466-501 (theme trap), 813-919 (12 documented pitfalls).docs/CORPUS.md Section H.4 — FragmentScenario API surface and theme trap summary.© 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 instrumentation/scenarios/launching-fragments-with-fragmentscenario of skydoves/android-testing-skills.
Open the folder on GitHubat commit 8665ed5
Launching Fragments With Fragmentscenario 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 |
|---|---|---|---|---|---|---|
| Launching Fragments With Fragmentscenario this skillskydoves/android-testing-skills | 334 | — | ~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 | |
| Phone HarnessShawnPana/phone-harness | 3.2k | — | ~7.7k | Automated safety check: Pass | MIT | |
| Stylessreichholf/dreamDroid | 116 | 5 repos | ~2.3k | Automated safety check: Pass | GPL-3.0 | |
| Argent Metro Debuggerbbplayer-app/BBPlayer | 1.2k | — | ~3.4k | Automated safety check: Pass | MIT | |
| Android XML ResourceafkT/DevUtils | 1.6k | — | ~1.3k | 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.
ShawnPana/phone-harness
Control the user's phone - an iPhone through the Mac's iPhone Mirroring window, an Android over adb, a rented cloud Android, or a cloud iPhone over HTTPS: open apps, tap, type, swipe, read the screen.
sreichholf/dreamDroid
A skill your agent uses to integrate the Jetpack Compose Styles API into an Android project.
bbplayer-app/BBPlayer
Debug a JS runtime via CDP using argent debugger tools. An agent skill from bbplayer-app/BBPlayer.
afkT/DevUtils
统一 Android XML 资源命名:layout、drawable、mipmap、color、values、id 的前缀与 snakecase 规则;把颜色/圆角/描边/状态编码进文件名(bg、border、textcolor…selector)。
tloncorp/tlon-apps
Run a mobile QA checklist on a physical Android device over adb for tlon-apps, then triage what fails into fixes.
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 test a Fragment in isolation using FragmentScenario, launchFragmentInContainer<F(), and launchFragment<F(). Launching Fragments With Fragmentscenario is an agent skill from skydoves/android-testing-skills. Use this skill to test a Fragment in isolation using FragmentScenario, launchFragmentInContainer<F(), and launchFragment<F().
Launching Fragments With Fragmentscenario fits situations like: test a Fragment in isolation using FragmentScenario; launchFragmentInContainer<F(); launchFragment<F(); the user reports You need to use a Theme.AppCompat theme (or descendant).
Run `npx skills add skydoves/android-testing-skills --skill launching-fragments-with-fragmentscenario -a claude-code`. Or copy the skill folder (instrumentation/scenarios/launching-fragments-with-fragmentscenario in skydoves/android-testing-skills) into .claude/skills/launching-fragments-with-fragmentscenario in your project. Claude Code loads it when a task matches its description.
Run `npx skills add skydoves/android-testing-skills --skill launching-fragments-with-fragmentscenario -a codex`. Or copy the skill folder (instrumentation/scenarios/launching-fragments-with-fragmentscenario in skydoves/android-testing-skills) into .agents/skills/launching-fragments-with-fragmentscenario 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 launching-fragments-with-fragmentscenario -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/launching-fragments-with-fragmentscenario, .gemini/skills/launching-fragments-with-fragmentscenario, .github/skills/launching-fragments-with-fragmentscenario and .opencode/skills/launching-fragments-with-fragmentscenario in your project.
SKILL.md names no scripts, command-line tools or credentials: Launching Fragments With Fragmentscenario 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.
Launching Fragments With Fragmentscenario 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 Launching Fragments With Fragmentscenario: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Phone Harness (ShawnPana/phone-harness, 3.2k stars), Styles (sreichholf/dreamDroid, 116 stars) and Argent Metro Debugger (bbplayer-app/BBPlayer, 1.2k 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 334 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.