[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KCEGTYTVD8AAKVNNHV0PCW":3,"skill-same:01M6KCEGTYTVD8AAKVNNHV0PCW":78},{"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":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"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",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"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":44,"description":7,"compatibility":45},[19],[46,47,25,48,38],"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":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-community-android-github-actions",{"tool":64,"command":65},"bunx","bunx skills add ArisGuimera\u002FMobiAI-Core --skill mobiai-community-android-github-actions",{"tool":67,"command":68},"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,[72],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"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",[79,98,110,126,144,158],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"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",[],[86,87,88,89,90,48,25,91,92,26,93,94,47,30,95,96,46,97],"react","react native","native","mobiai react native","testing","debugging","state management","state","management","navigation","react-native","project",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"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",[],[105,90,48,25,26,106,107,47,30,46,108,97,109],"mobiai kmp","kotlin","kotlin multiplatform","shared","platform",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"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",[],[90,117,118,119,120,48,121,25,26,122,123,124,47,125,30,46,97,33,35],"ios","ios testing","mobiai ios testing","writing","unit tests","framework","running tests","ui","snapshot",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":39},"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",[],[117,133,134,135,48,25,136,26,137,138,139,47,30,140,141,46,142,143],"device","mobiai ios device","screenshots","run","logs","capture","read","manage","ios simulator","commands","with",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":39},"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",[],[117,151,152,153,48,25,26,154,47,30,155,46,97,143,156,157],"build","ios build","mobiai ios build","troubleshooting","dependencies","spm","cocoapods",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":39},"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",[],[165,117,166,167,48,168,25,26,169,170,47,30,171,172,97,173,174,175,176,177],"architecture","ios architecture","mobiai ios architecture","project structure","refactoring","find","patterns","structure","understand","changes","codebase","Existing","features"]