[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KCEGTYTVD8AAKVNNHV0PCW":3,"skill-same:01M6KCEGTYTVD8AAKVNNHV0PCW":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6KCEGTYTVD8AAKVNNHV0PCW","mobiai-community-android-github-actions",null,"Use when creating, updating, or reviewing reusable GitHub Actions workflows for Android unit tests or instrumented tests, especially when the workflow should ask about triggers, caching, emulator setup, and action-version checks.","ArisGuimera\u002FMobiAI-Core","ArisGuimera","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16361358?v=4","01M6KC5MVGRKDA14DWT98445V9","AristiDevs","01M6KC5MZKRFFHFFD340B21YN3",493,"MIT","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fcommunity\u002Fskills\u002Fmobiai-community-android-github-actions\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"android","mobiai community android github actions","community","github actions","actions","github","copilot","code","workflows","workflow","ask","use","emulator","caching","tests","triggers","unit","action","for","gemini","2026-11-10 10:12:30",false,"---\nname: mobiai-community-android-github-actions\ndescription: Use when creating, updating, or reviewing reusable GitHub Actions workflows for Android unit tests or instrumented tests, especially when the workflow should ask about triggers, caching, emulator setup, and action-version checks.\nlicense: MIT\ncompatibility: [claude-code, cursor, copilot, codex, gemini]\nplatforms: [android]\n---\n\n# Android GitHub Actions Workflows\n\nCreate or adapt reusable GitHub Actions workflows for Android test automation.\n\nThis skill supports two modes:\n\n- `unittest`\n- `androidtest`\n\nIt is optimized for Gradle-based Android CI, test result publishing, artifacts, and emulator-backed instrumented tests.\n\n## When to Use\n\n- The user wants a new GitHub Actions workflow for Android tests\n- The user wants to refactor an existing Android test workflow into a reusable pattern\n- The user wants to revise Gradle cache, artifact retention, triggers, or test-report publication for Android CI\n- The user wants to review whether workflow actions such as report publishers or emulator runners should be updated\n\n## Non-Negotiable Rules\n\n1. Ask decisions **one at a time** with a recommendation.\n2. Do not assume hard-coded module names, branches, paths, Gradle tasks, or emulator settings.\n3. Reuse repository conventions when they exist.\n4. Separate **common workflow blocks** from mode-specific blocks.\n5. Before finalizing the workflow, verify whether third-party and GitHub action dependencies should stay pinned as-is or be updated.\n\n## Workflow\n\n### Step 1: Detect the job type\n\nDetermine whether the user needs:\n\n- `unittest` — Gradle unit tests running on the host\n- `androidtest` — instrumented tests running on one or more emulators\n\nIf unclear, ask this first.\n\n### Step 2: Inspect the repository baseline\n\nSearch for these files before drafting the workflow:\n\n```bash\nfind .github\u002Fworkflows -maxdepth 1 \\( -name '*.yml' -o -name '*.yaml' \\) 2>\u002Fdev\u002Fnull\n```\n\n### Step 3: Ask the common decisions\n\nAsk these one at a time:\n\n1. Trigger strategy\n   - `push`\n   - `pull_request`\n   - both\n   - `workflow_dispatch`\n   - branch filters\n   - path filters\n2. Test scope\n   - exact Gradle task\n   - test class\n   - package\u002Fgroup of tests\n3. Gradle cache strategy\n   - enable\u002Fdisable cache\n   - restore\u002Fsave behavior\n   - artifact retention policy\n   - which branch strategy to apply:\n     - **shared cache** across branches, written only by the default branch (default `gradle\u002Factions\u002Fsetup-gradle` behavior; scope it with `cache-read-only`)\n     - **per-branch cache**, where each branch keeps its own warm entry — this needs a manual `actions\u002Fcache` step, since neither `setup-gradle` nor `setup-java` accepts a cache-key input\n   - which step owns the cache: `setup-gradle` or `setup-java cache: gradle`, never both\n4. Reporting\n   - publish XML results\n   - upload HTML reports on failure or always\n   - artifact retention days\n\n### Step 4: Ask the `androidtest`-only decisions\n\nIf the mode is `androidtest`, also ask:\n\n1. API level or API matrix\n2. Single emulator or multiple emulators\n3. Emulator target and architecture\n4. AVD cache \u002F snapshot strategy\n   - AVD cache key is **always tied to the API level** (and architecture), never to the branch — emulator images and system snapshots depend on the system image, so reusing them across branches is safe and desirable\n5. Emulator boot timeout\n6. Emulator options\n7. Whether to enable KVM permissions setup\n\n### Step 5: Verify workflow dependencies\n\nBefore generating or updating the workflow, verify the current tags for the actions you plan to use.\n\nUse `gh api` and check the exact repositories involved:\n\n```bash\ngh api repos\u002Factions\u002Fcheckout\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fsetup-java\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fcache\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fupload-artifact\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Fgradle\u002Factions\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Freactivecircus\u002Fandroid-emulator-runner\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002FEnricoMi\u002Fpublish-unit-test-result-action\u002Freleases\u002Flatest --jq '.tag_name'\n```\n\nRules:\n\n- Keep stable major tags unless the user asks for exact SHAs.\n- Do not bump versions blindly; compare the workflow's current `uses:` entries against the latest stable tags.\n- Prioritize dependency checks for report-publishing actions and AVD\u002Femulator actions.\n- If an update looks risky or breaking, surface it instead of silently changing it.\n\n### Step 6: Build the workflow from reusable blocks\n\nAlways structure the generated workflow in layers:\n\n#### Common blocks\n\n- `name`\n- `on`\n- `concurrency`\n- `permissions`\n- checkout\n- JDK setup\n- Gradle setup\u002Fcache\n- CI Gradle properties setup\n- test result publication\n- artifact upload\n- cleanup \u002F summary steps when they add value\n\n#### `unittest`-specific blocks\n\n- host-only Gradle execution\n- unit-test XML paths\n- unit-test HTML report paths\n- optional manual Gradle cache restore\u002Fsave strategy\n\n#### `androidtest`-specific blocks\n\n- KVM permissions\n- AVD cache\n- AVD snapshot creation\n- emulator-runner execution\n- instrumented-test XML paths\n- instrumented-test HTML report paths\n\n### Step 7: Output contract\n\nWhen you finish, provide:\n\n1. The workflow file content\n2. A short note listing the decisions made\n3. A short note listing which action dependencies were checked and whether any were updated\n\n## Decision Tree\n\n### If the user wants `unittest`\n\n- Prefer a fast Ubuntu job\n- Prefer host Gradle execution\n- Prefer XML publication and HTML upload on failure\n- Ask whether cache should use `actions\u002Fcache` explicitly or `setup-java cache: gradle` only\n\n### If the user wants `androidtest`\n\n- Prefer one emulator first unless the user explicitly wants a matrix\n- Ask whether AVD snapshots should be cached\n- Ask whether multiple API levels should run in parallel\n- Verify `reactivecircus\u002Fandroid-emulator-runner` before reusing its version\n\n## Output Quality Bar\n\n- The workflow must be reusable outside the current repository\n- Repo-specific defaults should stay parameterized or clearly labeled\n- The final YAML must be internally consistent: trigger filters, cache keys, report paths, and Gradle commands should match each other\n- Do not mix unit-test and instrumented-test report paths\n\n## Reference Files\n\nIf you need more detail, load:\n\n- `references\u002Fworkflow-patterns.md`\n","# Android GitHub Actions Workflows\n\nCreate or adapt reusable GitHub Actions workflows for Android test automation.\n\nThis skill supports two modes:\n\n- `unittest`\n- `androidtest`\n\nIt is optimized for Gradle-based Android CI, test result publishing, artifacts, and emulator-backed instrumented tests.\n\n## When to Use\n\n- The user wants a new GitHub Actions workflow for Android tests\n- The user wants to refactor an existing Android test workflow into a reusable pattern\n- The user wants to revise Gradle cache, artifact retention, triggers, or test-report publication for Android CI\n- The user wants to review whether workflow actions such as report publishers or emulator runners should be updated\n\n## Non-Negotiable Rules\n\n1. Ask decisions **one at a time** with a recommendation.\n2. Do not assume hard-coded module names, branches, paths, Gradle tasks, or emulator settings.\n3. Reuse repository conventions when they exist.\n4. Separate **common workflow blocks** from mode-specific blocks.\n5. Before finalizing the workflow, verify whether third-party and GitHub action dependencies should stay pinned as-is or be updated.\n\n## Workflow\n\n### Step 1: Detect the job type\n\nDetermine whether the user needs:\n\n- `unittest` — Gradle unit tests running on the host\n- `androidtest` — instrumented tests running on one or more emulators\n\nIf unclear, ask this first.\n\n### Step 2: Inspect the repository baseline\n\nSearch for these files before drafting the workflow:\n\n```bash\nfind .github\u002Fworkflows -maxdepth 1 \\( -name '*.yml' -o -name '*.yaml' \\) 2>\u002Fdev\u002Fnull\n```\n\n### Step 3: Ask the common decisions\n\nAsk these one at a time:\n\n1. Trigger strategy\n   - `push`\n   - `pull_request`\n   - both\n   - `workflow_dispatch`\n   - branch filters\n   - path filters\n2. Test scope\n   - exact Gradle task\n   - test class\n   - package\u002Fgroup of tests\n3. Gradle cache strategy\n   - enable\u002Fdisable cache\n   - restore\u002Fsave behavior\n   - artifact retention policy\n   - which branch strategy to apply:\n     - **shared cache** across branches, written only by the default branch (default `gradle\u002Factions\u002Fsetup-gradle` behavior; scope it with `cache-read-only`)\n     - **per-branch cache**, where each branch keeps its own warm entry — this needs a manual `actions\u002Fcache` step, since neither `setup-gradle` nor `setup-java` accepts a cache-key input\n   - which step owns the cache: `setup-gradle` or `setup-java cache: gradle`, never both\n4. Reporting\n   - publish XML results\n   - upload HTML reports on failure or always\n   - artifact retention days\n\n### Step 4: Ask the `androidtest`-only decisions\n\nIf the mode is `androidtest`, also ask:\n\n1. API level or API matrix\n2. Single emulator or multiple emulators\n3. Emulator target and architecture\n4. AVD cache \u002F snapshot strategy\n   - AVD cache key is **always tied to the API level** (and architecture), never to the branch — emulator images and system snapshots depend on the system image, so reusing them across branches is safe and desirable\n5. Emulator boot timeout\n6. Emulator options\n7. Whether to enable KVM permissions setup\n\n### Step 5: Verify workflow dependencies\n\nBefore generating or updating the workflow, verify the current tags for the actions you plan to use.\n\nUse `gh api` and check the exact repositories involved:\n\n```bash\ngh api repos\u002Factions\u002Fcheckout\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fsetup-java\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fcache\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Factions\u002Fupload-artifact\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Fgradle\u002Factions\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002Freactivecircus\u002Fandroid-emulator-runner\u002Freleases\u002Flatest --jq '.tag_name'\ngh api repos\u002FEnricoMi\u002Fpublish-unit-test-result-action\u002Freleases\u002Flatest --jq '.tag_name'\n```\n\nRules:\n\n- Keep stable major tags unless the user asks for exact SHAs.\n- Do not bump versions blindly; compare the workflow's current `uses:` entries against the latest stable tags.\n- Prioritize dependency checks for report-publishing actions and AVD\u002Femulator actions.\n- If an update looks risky or breaking, surface it instead of silently changing it.\n\n### Step 6: Build the workflow from reusable blocks\n\nAlways structure the generated workflow in layers:\n\n#### Common blocks\n\n- `name`\n- `on`\n- `concurrency`\n- `permissions`\n- checkout\n- JDK setup\n- Gradle setup\u002Fcache\n- CI Gradle properties setup\n- test result publication\n- artifact upload\n- cleanup \u002F summary steps when they add value\n\n#### `unittest`-specific blocks\n\n- host-only Gradle execution\n- unit-test XML paths\n- unit-test HTML report paths\n- optional manual Gradle cache restore\u002Fsave strategy\n\n#### `androidtest`-specific blocks\n\n- KVM permissions\n- AVD cache\n- AVD snapshot creation\n- emulator-runner execution\n- instrumented-test XML paths\n- instrumented-test HTML report paths\n\n### Step 7: Output contract\n\nWhen you finish, provide:\n\n1. The workflow file content\n2. A short note listing the decisions made\n3. A short note listing which action dependencies were checked and whether any were updated\n\n## Decision Tree\n\n### If the user wants `unittest`\n\n- Prefer a fast Ubuntu job\n- Prefer host Gradle execution\n- Prefer XML publication and HTML upload on failure\n- Ask whether cache should use `actions\u002Fcache` explicitly or `setup-java cache: gradle` only\n\n### If the user wants `androidtest`\n\n- Prefer one emulator first unless the user explicitly wants a matrix\n- Ask whether AVD snapshots should be cached\n- Ask whether multiple API levels should run in parallel\n- Verify `reactivecircus\u002Fandroid-emulator-runner` before reusing its version\n\n## Output Quality Bar\n\n- The workflow must be reusable outside the current repository\n- Repo-specific defaults should stay parameterized or clearly labeled\n- The final YAML must be internally consistent: trigger filters, cache keys, report paths, and Gradle commands should match each other\n- Do not mix unit-test and instrumented-test report paths\n\n## Reference Files\n\nIf you need more detail, load:\n\n- `references\u002Fworkflow-patterns.md`\n",{"name":5,"license":15,"platforms":49,"description":7,"compatibility":50},[24],[51,52,30,53,43],"claude-code","cursor","codex","main","2edc6ac1cde2cc280ae0388aa8072902d2e230d5","skills\u002Fcommunity\u002Fskills\u002Fmobiai-community-android-github-actions",14,"https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core","https:\u002F\u002Fgithub.com\u002FArisGuimera","https:\u002F\u002Faristi.dev","⭐️ GitHub Star\r\n📲 Mobile developer\r\n🎥 Te enseño a programar apps en Youtube (AristiDevs)\r\n✍🏻 Y por escrito en CursoKotlin.com\r\n❤️ Kotlin Fanboy\r\n👇👇👇👇","2026-11-13 22:28:09",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-community-android-github-actions",{"tool":69,"command":70},"bunx","bunx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-community-android-github-actions",{"tool":72,"command":73},"pnpm","pnpm dlx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-community-android-github-actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fcommunity\u002Fskills\u002Fmobiai-community-android-github-actions\u002FSKILL.md",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fworkflow-patterns.md","REFERENCE","参考文档",6760,"https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fcommunity\u002Fskills\u002Fmobiai-community-android-github-actions\u002Freferences\u002Fworkflow-patterns.md",[84,109,122,139,157,171],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":96,"publishedAt":44},"01M6KCMR2WVBEC7T0YY4J2SCAR","mobiai-react-native","Use when working on a React Native project — building, testing, debugging, understanding navigation and state management.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Freact-native\u002Fskills\u002Fmobiai-react-native\u002FSKILL.md",[90,93],{"categoryNo":91,"categoryName":92,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[97,98,99,100,101,53,30,102,103,31,104,105,52,35,106,107,51,108],"react","react native","native","mobiai react native","testing","debugging","state management","state","management","navigation","react-native","project",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":116,"publishedAt":44},"01M6KCMKFC3DKFW5B2208SM59W","mobiai-kmp","Use when working on a Kotlin Multiplatform project — shared code, expect\u002Factual declarations, platform-specific implementations, building and testing.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fkmp\u002Fskills\u002Fmobiai-kmp\u002FSKILL.md",[115],{"categoryNo":91,"categoryName":92,"taxonomyType":21,"taxonomyTypeDesc":22},[117,101,53,30,31,118,119,52,35,51,120,108,121],"mobiai kmp","kotlin","kotlin multiplatform","shared","platform",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":129,"publishedAt":44},"01M6KCMEC4YP1FFAX4ZX80Q10R","mobiai-ios-testing","Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-testing\u002FSKILL.md",[128],{"categoryNo":91,"categoryName":92,"taxonomyType":21,"taxonomyTypeDesc":22},[101,130,131,132,133,53,134,30,31,135,136,137,52,138,35,51,108,38,40],"ios","ios testing","mobiai ios testing","writing","unit tests","framework","running tests","ui","snapshot",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":44},"01M6KCM78C8P9R6X78EZCQ0YF9","mobiai-ios-device","Use when interacting with an iOS Simulator — run simctl commands, capture screenshots, read device logs, manage simulators.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-device\u002FSKILL.md",[],[130,146,147,148,53,30,149,31,150,151,152,52,35,153,154,51,155,156],"device","mobiai ios device","screenshots","run","logs","capture","read","manage","ios simulator","commands","with",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":44},"01M6KCM2HE6Z1B7WREJ9DTKKWA","mobiai-ios-build","Use when building an iOS project, configuring schemes, troubleshooting build failures, or managing dependencies with CocoaPods or SPM.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-build\u002FSKILL.md",[],[130,164,165,166,53,30,31,167,52,35,168,51,108,156,169,170],"build","ios build","mobiai ios build","troubleshooting","dependencies","spm","cocoapods",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":44},"01M6KCKWZNT8P6K5SYXE1YAT9E","mobiai-ios-architecture","Use when creating features, refactoring, or navigating an iOS codebase — understand project structure, find where to make changes, follow existing patterns.","https:\u002F\u002Fgithub.com\u002FArisGuimera\u002FMobiAI-Core\u002Fblob\u002Fmain\u002Fskills\u002Fios\u002Fskills\u002Fmobiai-ios-architecture\u002FSKILL.md",[],[178,130,179,180,53,181,30,31,182,183,52,35,184,185,108,186,187,188,189,190],"architecture","ios architecture","mobiai ios architecture","project structure","refactoring","find","patterns","structure","understand","changes","codebase","Existing","features"]